Flash builder 4 - 使用外部 build-config.xml(不是 Ant)更改输出文件名
我正在尝试使用通过编译器选项 -load-config 加载的配置文件来更改输出文件名。在我的编译器参数中看起来像这样:
-load-config+=build-config.xml.
我尝试了以下方法:
<flex-config>
<o>absolute/path/to/filename</o>
</flex-config>
and
<flex-config>
<output>absolute/path/to/filename</output>
</flex-config>
和
<flex-config>
<compiler>
<o>absolute/path/to/filename</o>
</compiler>
</flex-config>
and
<flex-config>
<compiler>
<output>absolute/path/to/filename</output>
</compiler>
</flex-config>
但没有一个起作用。我在 PC 上使用 Flash Builder 4。还有其他人这样做过吗?另外,理想情况下,我想使用相对路径而不是绝对路径。我也无法让它工作,即使我在项目配置的“附加编译器参数”字段中这样做。
提前致谢!
I'm trying to change the output filename with a config file loaded via the compiler option -load-config. It looks like this in my compiler arguments:
-load-config+=build-config.xml.
I've tried the following:
<flex-config>
<o>absolute/path/to/filename</o>
</flex-config>
and
<flex-config>
<output>absolute/path/to/filename</output>
</flex-config>
and
<flex-config>
<compiler>
<o>absolute/path/to/filename</o>
</compiler>
</flex-config>
and
<flex-config>
<compiler>
<output>absolute/path/to/filename</output>
</compiler>
</flex-config>
but none have worked. I'm on a PC using Flash Builder 4. Has anyone else done this? Also, ideally, I want to use a relative path instead of absolute. I can't get this to work either, even if I do so in the "additional compiler arguments" field of the Project configuration.
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你很接近:)
You were close :)