2009年3月14日 @ 18:05
FlexBuilder优化技巧
经常听到很多FlexDeveloper抱怨自己的电脑配置已经很高了,但是FlexBuilder Build projct的时候仍然很慢.
应该怎么办呢?
其实很简单,只要做到以下两点就可以提高编译速度,效果非常明显:
1. 不要使用Automatically Build, 使用Ctrl+B快捷键手动编译.
2. 关闭所有当前不用的Project, 最好只剩一个.
还有更加高级的设置,就是通过优化eclipse来实现优化FlexBuilder,有兴趣的同学可以移步这里.欢迎大家一起分享Flex开发技巧.
Filed under: 原创 · Tags: FlexBuilder
Articles related:
1000: 对 setStyle 的引用有歧义。 (2009-3-13 15:35:47)
DesignView----A FlexBuilder made by FlexBuilder (2008-12-29 10:32:54)
MAX 2008: Extending Flex Builder (2008-11-20 9:12:41)
Adobe Flex Builder 3 Beta 3 本地下载 (2007-12-13 11:54:5)
Changing the filenames in Flex Builder html templa (2007-9-28 14:41:3)
-
Posted by 猫粮 @ 2009-11-20 17:32:06
i think automatically Build and build all are different.
automatically build is additional compilation, won't takes a lot of time when you press save, but build all is totally compilation, it will takes lots of time, and, you can't find your error as soon as you save your file.dzq replyed at 2009-3-17 14:27:39在FlexBuilder的帮助中输入"Build All"可以搜索到一下内容:To build projects in the workspace select the projects and click Project > Build Project. Alternatively, click Project > Build All to build all projects in the workspace. Both of these commands will search through the projects and only build the resources that have changed since the last build. To build all resources, even those that have not changed since the last build, run Project > Clean... before doing the build.
所以"Build Automatically", "Build All" 和 "Build Project" 都是只编译更改的部分,只有"Clean"才是重新编译全部Resource.
如果你当前只有一个Project的话, "Build All" == "Build Project".
-
Posted by dzq @ 2009-11-20 17:32:06
究竟是使用"Build Automatically ", 还是"Build All"应该是根据具体情况和个人习惯来选择的.比如说我修改一个功能需要改动五个文件,每个改完都需要Save,但是只有五个都改完才需要Build.这时候使用"Build Automatically"显然是不适当的,因为多编译了四次.
dzq finally edited at 2009-3-17 14:30:42
-
Posted by 老李 @ 2009-11-20 17:32:06
减少不必要的application
修改配置文件, 在Adobe上海用户组看到过类似一个贴
-
Posted by 花生壳 @ 2009-11-20 17:32:06
受教了,支持楼主!!!
-
Posted by ugg @ 2009-11-20 17:32:06
额,又学到了一招
-
Posted by sanqing @ 2009-11-20 17:32:06
诚招Flex程序员参与计算机书籍出版
优厚的稿酬,诚招Flex技术人员参与各种技术书籍出版。
通过该书籍,作者可以得到如下报酬:
1、丰厚的稿酬。
2、书籍著作的署名权。
3、对作者和书进行宣传,提高作者在技术圈子里的名气。
可异地兼职,如果您有这方面的兴趣和能力,请与我联系。
Email:sanqing_123@126.com
QQ:326098670
Leave a Comment
◎welcome to give out your point。

Posted by lulu @ 2009-11-20 17:32:06
实时编译不是蛮好一个功能, 慢就等一会呗 啊哈
Reply this comment