我正在尝试使用通过编译器选项 -load-config 加载的配置文件来更改输出文件名。在我的编译器参数中看起来像这样:
-load-config+=build-config.xml.
我尝试了以下方法:
<flex-config>
<o>absolute/path/to/filename</o>
</flex-config>
和
<flex-config>
<output>absolute/path/to/filename</output>
</flex-config>
和
<flex-config>
<compiler>
<o>absolute/path/to/filename</o>
</compiler>
</flex-config>
和
<flex-config>
<compiler>
<output>absolute/path/to/filename</output>
</compiler>
</flex-config>
但没有一个奏效。我在使用 Flash Builder 4 的 PC 上。有其他人这样做过吗?另外,理想情况下,我想使用相对路径而不是绝对路径。即使我在项目配置的“附加编译器参数”字段中这样做,我也无法让它工作。
提前致谢!