调试启动时在 Flash 构建器中清理项目

发布于 2024-09-04 02:49:10 字数 133 浏览 2 评论 0原文

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

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

谢谢

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

壹場煙雨 2024-09-11 02:49:10

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

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.

陈甜 2024-09-11 02:49:10

我发现只要在活动调试会话正在进行时不更改代码和/或重新编译;我对应用程序在后续运行之间不获取代码更改没有任何问题。

I find that as long as I don't change code and/or recompile while an active debug sessions is on-going; I have no issues with the application not picking up code changes between subsequent runs.

长梦不多时 2024-09-11 02:49:10

我发现我有一个非常相似的问题。每次我在浏览器中启动 Flex 应用程序时,我都必须执行 Clean 才能让它运行。

我注意到我收到一个 JavaScript 错误,指出“swfobject”是未定义的奇怪错误。

不确定这是否有帮助?

I'm finding that I have a very similar problem. Everytime I launch my Flex app in a browser I have to perform a Clean just to get it to run.

I have noticed that I get a JavaScript error saying 'swfobject' is undefined odd error to be getting.

Not sure if that helps?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文