1

Inside maximo anywhere we have 4 apps out of which i want only work execution app to be build and deployed.

Currently ant build is building and deploying all apps which is time consuming. Please help

4

3 回答 3

1

它在解决方案的 build.properties 中。在这里查看更多关于它的信息。build.properties 包含构建过程的可变方面,并定义了应用程序部署到的目标服务器。可以在这里找到:maximoanywhere_home\AnywhereWorkManager

于 2015-12-01T20:35:40.543 回答
1

为了指定您要构建的应用程序,您在 build.properties 中寻找“appsToBuild”属性,如上所述。

appsToBuild=WorkExecution
于 2015-12-02T00:55:55.600 回答
0

为了限制构建的应用程序,您需要编辑 build.properties 中的“appsToBuild”属性。

但是,这不适用于部署的应用程序。根据我使用适用于 iOS 的 Anywhere 应用程序的经验,bin 文件夹中的所有 IPA 文件都已部署,而不仅仅是 build.properties 文件的 appsToBuild 属性中指定的文件。这可能会导致问题(例如部署不是为您要部署到的服务器构建的应用程序)。为防止这种情况,请在运行 build ant 脚本的 all-dist 命令之前删除 bin 文件夹的内容。然后在运行 all-deploy 命令时,它只会将最近构建的文件部署到服务器。

于 2018-11-28T17:32:29.060 回答