【转】加快 FlashBuilder4 的编译速度
2016-01-25 16:32
531 查看
原文:http://www.nealmi.com/2011/08/speed-up-flashbuilder-compile/
最近搞一个比较大的Flex分析项目,结果FlashBuilder抗不住了,每次编译都极其慢,然后隔三差五的down掉,于是到处google如何加快速度。
然后发现了:
http://forums.adobe.com/thread/740967
http://bugs.adobe.com/jira/browse/SDK-30367
http://yerii.wordpress.com/2010/12/15/why-has-flex-sdk-4-x-x-become-sluggish-for-some-and-how-you-can-get-it-rolling-again/
正好项目用的是该死的SVN,然后Flex 4 的 OEM编译器还有这个bug,每次编译都去遍历.svn目录。
按照上面yerii博文所述,给出不少解决办法:
Migrate to different version control system, such as Git – not feasible in our case, generally not cool – 使用其他版本管理系统,比如Git,Mercuial等
Use only command-line compiler – it’s speed is not affected. But forget auto-build, background error checks… – 使用命令行编译器
Create mirror directory of your project without the SVN meta data and keep it synchronized – very cumbersome – 通过镜像文件夹分离.svn和源码
Use the HellFire Compiler – solves the problem, but it means additional license cost and also does not work as smoothly as one would wish – 使用RPC编译器 HellFire Compiler
File a bug report at Adobe – and wait forever before they even notice – 给Adobe提bug,然后等下去
Download the Flex SDK source code and repair it by yourself – 下载sdk源码,自己修改。
在项目进行到一半的时候,明显 1,2,3,5的办法都十分不靠谱。于是我试了一下 HellFire Compiler , 不过最后放弃了,因为:
收钱,59USD
各种其他问题,同样让我崩溃。
于是别无选择,只能选择解决办法6。
最讽刺的是Flex3的编译器没有这个bug,而且Adobe还声称提升25%的编译器性能。。。
解决办法6,同样是博文所述,只需要在 /modules/compiler/src/java/flex2/tools/oem/internal/OEMReport.java 里简单的修改,然后重新编译打包就okay了。
?
同样地,博主给出了修改后的jar下载链接,可惜是在墙外的dropbox,所以我提供一个墙内的下载地址,flex-compiler-oem.zip
下载-解压-替换到{flex-sdk-4.x-home}/lib,我换了之后至少flashbuilder不会有事儿没事儿罢*工了,至于编译速度,稍快一点点吧,依然很慢!!!(项目太大了)。
阅读(1641) | 评论(0) | 转发(0) |
0
上一篇:mysql update语句问题:You can't specify target table 'user' for update in FROM clause
下一篇:【转】如何修改win7用户文件夹的位置
相关热门文章
CU博客改版登录口说明...
如何利用客户端在CU发博客...
CU博客改版反馈意见
新版博文改进的一些功能...
ChinaUnix新博客正式上线,欢...
linux dhcp peizhi roc
关于Unix文件的软链接
求教这个命令什么意思,我是新...
sed -e "/grep/d" 是什么意思...
谁能够帮我解决LINUX 2.6 10...
给主人留下些什么吧!~~
评论热议
最近搞一个比较大的Flex分析项目,结果FlashBuilder抗不住了,每次编译都极其慢,然后隔三差五的down掉,于是到处google如何加快速度。
然后发现了:
http://forums.adobe.com/thread/740967
http://bugs.adobe.com/jira/browse/SDK-30367
http://yerii.wordpress.com/2010/12/15/why-has-flex-sdk-4-x-x-become-sluggish-for-some-and-how-you-can-get-it-rolling-again/
正好项目用的是该死的SVN,然后Flex 4 的 OEM编译器还有这个bug,每次编译都去遍历.svn目录。
按照上面yerii博文所述,给出不少解决办法:
Migrate to different version control system, such as Git – not feasible in our case, generally not cool – 使用其他版本管理系统,比如Git,Mercuial等
Use only command-line compiler – it’s speed is not affected. But forget auto-build, background error checks… – 使用命令行编译器
Create mirror directory of your project without the SVN meta data and keep it synchronized – very cumbersome – 通过镜像文件夹分离.svn和源码
Use the HellFire Compiler – solves the problem, but it means additional license cost and also does not work as smoothly as one would wish – 使用RPC编译器 HellFire Compiler
File a bug report at Adobe – and wait forever before they even notice – 给Adobe提bug,然后等下去
Download the Flex SDK source code and repair it by yourself – 下载sdk源码,自己修改。
在项目进行到一半的时候,明显 1,2,3,5的办法都十分不靠谱。于是我试了一下 HellFire Compiler , 不过最后放弃了,因为:
收钱,59USD
各种其他问题,同样让我崩溃。
于是别无选择,只能选择解决办法6。
最讽刺的是Flex3的编译器没有这个bug,而且Adobe还声称提升25%的编译器性能。。。
解决办法6,同样是博文所述,只需要在 /modules/compiler/src/java/flex2/tools/oem/internal/OEMReport.java 里简单的修改,然后重新编译打包就okay了。
?
下载-解压-替换到{flex-sdk-4.x-home}/lib,我换了之后至少flashbuilder不会有事儿没事儿罢*工了,至于编译速度,稍快一点点吧,依然很慢!!!(项目太大了)。
阅读(1641) | 评论(0) | 转发(0) |
0
上一篇:mysql update语句问题:You can't specify target table 'user' for update in FROM clause
下一篇:【转】如何修改win7用户文件夹的位置
相关热门文章
CU博客改版登录口说明...
如何利用客户端在CU发博客...
CU博客改版反馈意见
新版博文改进的一些功能...
ChinaUnix新博客正式上线,欢...
linux dhcp peizhi roc
关于Unix文件的软链接
求教这个命令什么意思,我是新...
sed -e "/grep/d" 是什么意思...
谁能够帮我解决LINUX 2.6 10...
给主人留下些什么吧!~~
评论热议
相关文章推荐
- 【转】select,iocp,epoll,kqueue及各种I/O复用机制
- 【转】select,iocp,epoll,kqueue及各种I/O复用机制
- 2个更新UI的方法--activity.runOnUiThread及handler.post
- 学习 ui-router - 路由控制
- UICollectionView资料收集
- 项目用druid,长时间不访问应用,再访问又连接不上了数据库了
- Fluentd(td-agent)安装
- NSAttributedString装载图片与UIImageView装载图片对比
- 集成环信3.0 处理UI上展示昵称、头像的方法
- request的属性
- iOS开发之使用Storyboard预览UI在不同屏幕上的运行效果
- Invalid result location value/parameter 解决办法
- BlockingQueue的核心方法
- 【网摘】EasyUI常用控件禁用启用方法
- Get和Post的用法,Request.QuerySt…
- Request.QueryString获取get方法提交的数据
- C#中stringbuilder的使用
- System.Text.StringBuilder类处理…
- 百度UEditor 1.4.3.1 使用详解
- 基于ArcGIS Model Build…