在调试启动时清理 Flash Builder 中的项目 [英] clean project in flash builder on debug launch

查看:32
本文介绍了在调试启动时清理 Flash Builder 中的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 Flash builder 4 构建 AIR 应用程序.

Using Flash builder 4 to build an AIR app.

当我使用调试器启动项目时,我的代码更改一直没有生效,可能大约每小时发生一次.那么有人知道如何让 FlashBuilder 在每次启动前自动清理项目吗?

I keep having my code changes not take effect when I launch the project with the debugger, probably happens about once an hour. So does anyone know how to have FlashBuilder clean the project automatically before each launch?

谢谢

推荐答案

我在使用 Flex 应用程序时遇到了类似的问题.如果我对 .as 文件进行更改,则更改不会生效.该组件正在由应用程序中的父组件实例化,因此编译器应该捕获我所做的任何更改.事实上,我可以在文件中输入语法错误,它不会报告问题.我已经卸载并重新安装了 Flash Builder 4.我每次都必须进行清理.我尝试了 rakslice 手动使用 mxmlc 编译的评论中的提示,它成功编译,但没有任何关于 Flash Builder 4 中增量编译问题的线索.我终于在我的项目的附加编译器参数中添加了-incremental=false".这当然需要更长的时间来编译,但我发现它比每次都必须单击 Project --> Clean 更容易.

I'm having a similar issue with a Flex application. If I make a change to an .as file the change is not taking effect. The component is being instantiated by a parent component in the application so the compiler should be catching any changes I made. In fact, I can put a syntax error in the file and it won't report a problem. I've uninstalled and reinstall Flash Builder 4. I have to do a clean every time. I tried the tip from rakslice's comment of compiling with mxmlc manually and it successfully compiled without any clues as to what the issue with incremental compiling in Flash Builder 4 is. I finally added "-incremental=false" to my project's additional compiler arguments. This takes longer to compile of course, but I find it easier than having to click Project --> Clean every time.

这篇关于在调试启动时清理 Flash Builder 中的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆