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

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

问题描述

使用Flash Builder 4构建AIR应用程序。

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

谢谢

解决方案

我在Flex应用程序中遇到类似的问题。如果对.as文件进行更改,则更改不会生效。该组件正由应用程序中的父组件实例化,所以编译器应该捕获我所做的任何更改。事实上,我可以把一个语法错误的文件,它不会报告问题。我已经卸载并重新安装Flash Builder 4.我必须每次都做一次清理。我尝试了rakslice的手动编译mxmlc的注释,并成功编译,没有任何线索,说明在Flash Builder 4中增量编译的问题是什么。我最后添加了-incremental = false到我的项目的额外的编译器参数。这当然需要更长时间的编译,但是我觉得比单击Project - > Clean每次都容易。

Using Flash builder 4 to build an AIR app.

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?

Thanks

解决方案

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天全站免登陆