使用Eclipse3.5集成Flex3或Flashbuilder4插件

运行环境

Windows32操作系统

Eclipse3.5 galileo win32 版本

http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR1/eclipse-jee-galileo-SR1-win32.zip

Adobe Flex Builder 3 (Flex3)的插件

http://download.macromedia.com/pub/flex/eclipse_plugin/FB3_WWEJ_Plugin.exe?loc=en

jdk-6u18-w indows-i58 6   win32版本

http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u18-windows-i586.exe?BundledLineItemUUID=SBpIBe.oWvsAAAEmGzUTPmAX&OrderID=iPBIBe.oFgoAAAEmEDUTPmAX&ProductID=Vh5IBe.pm2QAAAElRytRSbJV&FileName=/jdk-6u18-windows-i586.exe


1. 集成Flex3的安装步骤:

这里不讲怎么配置JDK的参数。直接讲集成Eclipse3.5和Flex3

Eclipse3.5安装的目录为D:\eclipse

Flex3安装的目录为D:\ProgramFiles\Adobe\Flex Builder 3 Plug-in

首先关闭所有的浏览器以及跟flash相关的应用程序。

安装的过程中首先会弹出一个对话框内容如下:

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:

<!--[if !supportLists]-->1)      <!--[endif]-->Launch elcipse, and invoikeHelp > Software Updates > Manage Configuration

<!--[if !supportLists]-->2)      <!--[endif]-->Select “Add an extensionlocation” link in the right pane.

<!--[if !supportLists]-->3)      <!--[endif]-->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目录下。

2.下面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'

3.安装FlashBuilder4_Plugin
正式版本

Adobe FLashBuilder4 (Flex到第4个版本改名为FlashBuilder)的插件

http://trials.adobe.com/AdobeProducts/FLBR/4/win32/FlashBuilder_4_Plugin_LS10.exe

强调:

你需要集成的eclipse,运行的java环境必须是JDK1.6以上的,而且Eclipse目录下的eclipse.ini文件里的-Xms512m -Xmx512m两个参数最好是512以上。

第一步, 首先关闭跟flash
相关的所有应用程序, 比如浏览器,word 。
然后解压 FlashBuild er_4_Plugi n_LS10.exe 到任意目录下,然后它 会自动启动安装程序。
第二步, 它会询问安装Flas hBuilder_4 _Plugin的位置 (Where Would You Like to Install?)。 这个时候如果你没有按 第一步要求的关闭相关 的应用程序那么它就会 弹出(Pre-Exi sting Installati on Found)的警告信 息。这个时候你只需要 关闭浏览器之类的应用 程序,多点下(Ret urn to Previous Panel按钮)就过 关。
直到安装完成。
第三步,将D:\Pr ogram Files\Adob e\Adobe Flash Builder 4 Plug-in\ec lipse-host -distro\dr opins\com. adobe.flex builder.fe ature.core .nl1.link文 件,拷贝到你的ecl ipse的D:\ec lipse\drop ins目录下
最后启动eclips e,你就可以做练习了 。
不要指望,没在Fle x项目管理下的.mx ml文件,能在Fle x编辑器的设计中看到 效果。

refer to http://hi.baidu.com/429680270/blog/item/6f6622a1a93636a2caefd0c3.html

你可能感兴趣的:(eclipse,Flex,Flash,Adobe,plugins,flexbuilder)