myeclipse 10 安装 flash builder 4.6

19 篇文章 0 订阅
从Flash Builder 4 之后,adobe不再提供plug-in版的flash builder ,而是在正式安装版中提供了一个将flash builder作为dropins集成为eclipse插件的工具 Adobe Flash Builder 4.6 Plug-in Utility.exe 。具体集成方式,官网上即有说明,如下:[quote][b]英:[/b]
Flash Builder 4.6 supports installation as a plugin to an existing Eclipse instance. To do so:
1. Complete the installation process as described above.
2. Navigate to the installed Flash Builder installation location and open the utilities
folder.
3. Run the executable Adobe Flash Builder 4.6 Plug-in Utility.app.
4. Select the language and click on OK.
5. Select the Flash Builder installation location if prompted.
6. Select the eclipse folder into which you want Flash Builder 4.6 to be plugged into and
click Next. (Note: Your copy of Eclipse must be version 3.6/3.6.1/3.6.2/3.7, 32-bit,
Cocoa, containing a folder named “dropins”). (经实验,这里指定eclipse 3.7.X的安装目录,或指定myeclipse 10.0的安装目录,都可以;这里有不同的说法:[url]http://blog.csdn.net/classicbear/article/details/6881301[/url])
7. Review the pre-Installation summary and click on Install.
8. Following installation it is recommended that you edit the eclipse.ini file for your
Eclipse instance, so that it includes the following settings:
-vmargs -Xms256m -Xmx512m -XX:MaxPermSize=256m -XX:PermSize=64m

[b]中:[/b]
Flash Builder 4.6 支持将其作为插件安装到现有 Eclipse 实例中。具体操作如下:
1. 完成上述安装过程。
2. 导航至 Flash Builder 的安装位置,打开实用程序文件夹。
3. 运行可执行文件 Adobe Flash Builder 4.6 Plug-in Utility.exe。
4. 选择语言并单击“确定”。
5. 根据提示选择 Flash Builder 安装位置。
6. 选择要将 Flash Builder 4.6 插入到其中的 Eclipse 文件夹,然后单击“下一
步”。(注意:您安装的 Eclipse 版本必须是 3.6/3.6.1/3.6.2/3.7,32 位,且
必须包含一个名为“dropins”的文件夹)
7. 查看预安装摘要,然后单击“安装”。
8. 安装完成之后,建议您编辑 Eclipse 实例的 eclipse.ini 文件,使其包含以下
设置:
-vmargs -Xms256m -Xmx512m -XX:MaxPermSize=256m -XX:PermSize=64m
[/quote]

这里需要说明几个问题:
[b]一[/b] 集成后Eclipse或Myeclipse被汉化的问题。很多人都是习惯在英文环境下做eclipse开发的,可是使用了Adobe Flash Builder 4.6 Plug-in Utility.exe 工具集成Flash Builder后,eclipse的界面居然部分被汉化了,尽管你的flash builder和eclipse/myeclipse在开始的时候都是英文的。解决办法就是[b]做集成前[/b]在eclipse的eclipse.ini(myeclipse的myeclipse.ini)添加语言设置项-nl en_US(其实集成后再添加也无不可):[quote]前:
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
...
后:
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
-nl
en_US
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
...
[/quote]
另说明:因为安装的是英版FB,我本地的FlashBuilder.ini中已有-nl en_US参数。
[b]二[/b] eclipse/myelcipse中集成了FB 4.6后,在导入以前版本的flex工程时(如基于4.0的),工程中mxml文件中的actionscript脚本没有了语法高亮!尽管在as文件中的语法高亮及在mxml中对flex组件标签的语法高亮都没问题。解决办法:通过切换一下eclipse/myelcipse中“installed flex SDKs”,改为以前的sdk(我这里由4.6改为了4.1),可使其正常过来(再将sdk改回去,也不再出现该问题了),但是mxml文件的可视化编辑器就不能用了,会报"Design View not Supported - incompatible SDK version".
三 关于集成FB 4.6后 p - general - editors - text editors - annotations 下的 Live Error Highlighting 报一些莫名其妙的不是错误的错误:
这是FB 4.6自己的问题,明明没有问题,莫名其妙的报Live Error Highlighting的错误(一个问号)。集成后Live Error Highlighting在eclipse/myeclipse下也有了,集成前他们都是没有这个选项的。经查,FB 4.0中也无该选项存在,该是FB 4之后的某个版本加进来的。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值