使用 Eclipse3.5 集成 Flex3 或 flashbuilder4
运行环境
Windows32 操作系统
Eclipse3.5 galileo win32 版本
Adobe Flex Builder 3 (Flex3) 的插件
http://download.macromedia.com/pub/flex/eclipse_plugin/FB3_WWEJ_Plugin.exe?loc=en
jdk-6u18-windows-i586 win32版本
安装步骤
这里不讲怎么配置 JDK 的参数。直接将集成 Eclipse3.5 和 Flex3
Eclipse3.5 安装的目录为 D:/eclipse
Flex3 安装的目录为 D:/ProgramFiles/Adobe/Flex Builder 3 Plug-in
安装的过程中首先会弹出一个对话框内容如下:
Supported version of Eclipse not found
Please choose an existing Eclipse3.2,3.3,or3.4 root folder to be extended.
This root folder must contain the subfoldernamed ”configuration”.
Please return to the previous dialog, andselect a different folder. If you are confident that the folder currentlyselected is correct, please proceed with caution.
点击 Proceed with Caution, 让它继续安装。
安装快要结束的时候又会弹出一个对话框内容如下:
Product Extension not establishedautomatically
This installation can staill be configuredmanually as a Product Extension.
After this installation completes, you can “softly”link Flex Builder to an eclipse installation as follows:
1) Launch elcipse, and invoikeHelp > Software Updates > Manage Configuration
2) Select “Add an extensionlocation” link in the right pane.
3) In the browse dialog, selectthis folder:
D:/Program Files/Adobe/Flex Builder 3 Plug-in/eclipse
Please refer to the error log indicatedbelow for details about why the automatic installation had errors:
Command failed.Please check log file
…fro details.
点 Ok , Done 完成安装操作。
现在启动 Eclipse 界面里是没有 Flex 应用程序的,还需要将
D:/Program Files/Adobe/FlexBuilder 3 Plug-in/eclipse 目录下的两个文件夹 features 和 plugins 拷贝到 D:/eclipse 目录下。
然后启动做个 HelloWorld 吧!配置结束。
上面是一种安装方式。如果其他的 Eclipse 需要集成 Flex3 就需要在
D:/eclipse/links/ 目录下创 建一个 com.adobe.flexbuilder.feature.core.link 文件内容为
d:/Program Files/Adobe/Flex Builder 3 Plug-in
的文件。 还需要拷贝
D:/Program Files/Adobe/Flex Builder 3Plug-in/eclipse 目录下的两个文件夹 features 和 plugins 拷贝到 D:/eclipse 目录下。
下面再介绍下在windows64位操作系统下安 装Flash build 4beta版本的操作方法:
首先需要明白win7 x64操作系统兼容32位的软件。
所以你下载的JDK务必为上面的win32版本的 JDK,
下载
http://www.adobe.com/cfusion/entitlement/index.cfm?event=custom&sku=FS0000595&e=labs_flashbuilder4
安装flashbuilder4_b2_plugin_win_100509
选择你 Eclipse3.5 galileo win32的安装目录
安装启动就没什么问题。
如果你执意要下载64位的JDK或Eclipse那么等待你的将是失败。出错的内容将包括如下:
an iternal error occurred during:"正在创建Adobe Flash Player 信任文件...".
正在创建Adobe Flash Player 信任文件...
正在创建Adobe Flash Player 信任文件...
Error
Problems opening perspective
'com.adobe.flexbuilder.editors.mxml.ui.perspectives.development'