是否可以在 Flash Builder bin-debug 中嵌套文件夹
我正在尝试设置 bin-debug 文件夹,使其结构如下所示:
- bin-debug
- 资产
- 图片
- swf
- main.swf
- CSS
- 样式.css
- js
- swfobject.js
- index.html
- 资产
我尝试将项目的输出文件夹设置为: bin-debug/assets/swf ,这确实将我的 main.swf 放在我想要的位置,但随后我的其他源文件夹被转储到该文件夹中swf 文件夹也是如此。我真正想要的是告诉 Flash Builder 将我的 swf 放入嵌套文件夹中,并能够指定我的构建文件夹的输出的位置。不借助 ANT 脚本是否可以做到这一点?
I'm trying to setup my bin-debug folder so that the structure looks like this:
- bin-debug
- assets
- img
- swf
- main.swf
- css
- style.css
- js
- swfobject.js
- index.html
- assets
I've tried setting the project's output folder to: bin-debug/assets/swf which does get my main.swf where I want it, but then my other source folders get dumped into that swf folder as well. What I would really like is to tell Flash Builder to put my swf into a nested folder and to be able to specify where my build folders' output goes as well. Is this at all possible without resorting to ANT scripts?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我认为这在 Flash Builder 中是不可能的。我自己一直在寻找这个功能,但没有成功。我知道在 FDT 中这是可能的。
I don't think this is possible in Flash Builder. I have been looking for this feature myself but with no luck. I know it is possible in FDT though.
只需修改 html-template 文件夹,使其看起来像您想要的输出的结构。 index.template.html 文件中的变量记录得很好 也是如此。
Just modify the html-template folder to look like the structure of your desired output. The variables in the index.template.html file is pretty well documented as well.
我最终设置了一个 Ant 脚本来完成此任务并完全删除了 html-template 文件夹。似乎没有什么合适的选择。结果是 Ant 脚本给了我更多的灵活性。
I ended up setting up an Ant script to pull this off and completely removing the html-template folder. Doesn't seem like there's any decent alternative. The upshot is that the Ant script gives me a lot more flexibility.