代号一个如何更新“工作”? [英] How Does a Codename One Update "Work"

查看:48
本文介绍了代号一个如何更新“工作”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近的问题在代号一个讨论论坛上提出了一个我在等待修复时经常遇到的问题。

A recent question in the Codename One discussion forum raised a question I often face when I'm waiting for a fix.

有时,一个代号一个团队表示将进行修复在几周后的其他时间内,它们表明它已经修复。某些不透明性显然与云服务器的更新有关,但对我来说尚不清楚是否只是云服务器和云服务器。插件还是我缺少的东西。为什么没有一个更新过程?

Sometimes the Codename One team indicates a fix would be coming in a couple of weeks and other times they indicate that its already fixed. Some of that opacity obviously relates to the update of the cloud servers but its unclear for me whether its just the cloud server & the plugin or is there something that I'm missing. Why isn't there a single update process?

我真的想要一个更明确的答案,例如代号一个如何工作?

I'd really like a more definitive answer like How does Codename One work? for this.

推荐答案

代号一个由几个不同的部分组成,而更新通常意味着我们仅更新其中一个。在较高的级别上,实际上只有2种主要的更新类型:库和

Codename One is comprised of several different pieces and an update usually means we update only one of them. At a high level there are really just 2 major types of updates: libraries & servers.

我们每3-5周就更新库一次,我们一直都在更新服务器(有时每天更新一次,有时3-4天一次)。

We update libraries once every 3-5 weeks we update servers all the time (sometimes more than once per day sometimes ever 3-4 days).

以下是更新代号一的含义的更准确的概述:

Here is a slightly more accurate overview of what it means to update Codename One:


  • 插件&相关工具-插件本身提供项目属性,服务器连接性和设计器/ gui生成器工具。每3-5周更新一次,作为本机IDE更新过程的一部分。您需要从IDE显式接受更新提示才能获取此更新。插件本身或设计器/ GUI生成器的功能中的错误需要通过该过程进行处理。

  • Plugin & related tools - the plugin itself provides the project properties, server connectivity and designer/gui builder tools. It updates as part of the native IDE update process once every 3-5 weeks. You need to explicitly accept an update prompt from the IDE in order to get this update. Bugs in the plugin itself or features for the designer/GUI builder need to go thru that process...


  • Build.xml-这是从技术上讲是插件更新的一部分,但是您实际上需要接受我们对build.xml所做的更改才能获得某些功能。有时会有新功能(例如新的GUI构建器)需要更新build.xml代码,但这仅在您进入项目属性时才发生,单击确定并接受提示以更新build.xml(如果存在这样的更新) )。

客户端库-这些是编写Codename One代码(通常是CodenameOne.jar和相关端口)时使用的API )。我们通常每3-5周发布一次更新,同时还会更新插件。该插件附带这些插件,但它们仅适用于新项目...当您发送构建版本时,我们将使用单独的更新过程将您的库隐式更新为最新版本,您也可以在Codename One首选项中使用 Update Client Libs。

Client libraries - these are the API's you use when writing Codename One code (typically CodenameOne.jar and related ports). We usually issue an update to those once every 3-5 weeks together with the plugin update. The plugin ships with these but they are only applied to new projects... When you send a build we implicitly update your libraries to the latest version using a separate update process, you can also use "Update Client Libs" within the Codename One preference to update these manually without sending a build.

设备库-当您将内部版本发送到服务器时,我们会使用最新版本的客户端库比您在客户端库中看到的要新,但可能不是最新的git master。这使我们能够快速部署和部署测试设备修复。这也使您可以使用代码并使用未推送到客户端库的新功能。服务器的更新过程有些特殊,因此存在一些不透明性,我们正在寻求使其更加透明。

Device libraries - when you send a build to the servers we use the latest version of the client libraries that might be newer than what you see in the client libs but might not be the latest git master. This allows us to rapidly deploy & test device fixes. This also allows you to work with the code and use newer features that weren't pushed to the Client Libraries. The process of updating the servers is a bit adhoc so there is some opacity around that, we are looking at making this more transparent.

VM& builders-构建器代码和VM与生成该代码的服务器端脚本有关。当您在服务器上遇到编译错误或需要增强时,我们需要以类似于设备库部署的过程来部署它。

VM & builders - The builder code and VM relate to the server side scripts that generate the code. When you have a compilation error on the servers or need an enhancement there we need to deploy it in a process similar to the device libraries deployment.

证书向导更新-尽管该插件附带了该工具,但它是通过完全独立的更新过程进行更新的。我们最初担心苹果在最初创建它时会突然改变它,因此我们决定允许它立即更新。

Certificate wizard update - this tool is updated in a completely separate update process despite shipping in the plugin. We had a lot of concerns about Apple changing things suddenly when initially creating this so we decided to allow this to update instantly.

这篇关于代号一个如何更新“工作”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆