【发布时间】:2014-11-20 17:59:39
【问题描述】:
我有一个在 AIR 平台上使用 FlashDevelop 编写的项目。
我正在设置 Jenkins 以构建项目。
ActionScript 源文件中的区域使用 .as3proj 中保存的值传递给编译器。
从 .as3proj 文件中提取:
<build>
<option additional="-define=CONFIG::desktop,true 
-define=CONFIG::mobile,false" />
</build>
但是我的 pom.xml 文件指定了一个特定的 ActionScript 文件被用作入口点,这意味着这些编译器选项没有被设置。这会导致 Jenkins 在尝试编译代码时给出如下错误:
workspace\src\AppMain.as:[47,10] Access of undefined property mobile. CONFIG::mobile {
如何在 pom.xml 文件中指定这些值以便 Jenkins 能够编译?
【问题讨论】:
标签: actionscript-3 flash maven jenkins air