Léon

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

 

如果你用的Eclipse 3.4 + Flex Builder 3 plugin,然后Mxml文件打开出错 Adobe flex eclipse plugin 错误信息:Could not open the editor: Assertion failed。这个问题的解决方法是:

在装完eclipse以及Adobe flex的插件之后下载:

http://www.tekool.net/blogfiles/flex-builder-3-plugin-dont-work-with-eclipse-34/FB3_Eclipse34_patch.zip

里面有两个jar文件。

然后到你的flex 插件安装目录,进入到:eclipse/plugins/目录下

然后将这两个jar文件拷贝进去(建议备份同名文件以防万一)

之后用命令行:eclipse -clean运行eclipse(用命令行进入到eclipse目录下,然后执行)

 

http://www.adobe.com/cfusion/tdrc/index.cfm?product=flash_builder&loc=en_us

BlazeDS下载:https://www.adobe.com/cfusion/entitlement/index.cfm?e=lc_blazeds  选择“BlazeDS binary distribution”

eclipse版本:

Eclipse Java EE IDE for Web Developers.

Version: Indigo Service Release 2

用的J2EE,因为已经有了WEB插件。用的eclipse平台版本是3.7,之前下的flex builder3.0,进去后会出现一个mxml编辑器出错的提示,于是下一步就无法进行了,应该是版本不兼容的问题,我就下了个最新版flash builder4.6,注意这里已经改名了,不叫flex builder了改为flash builder。下了最新版后发现,官网上的一个小tip:

 Flash Builder 4.6 supports installation as a plugin to an existing Eclipse instance. To do so:

  • Complete the installation process as described above.
  • Navigate to the installed Flash Builder installation location and open the utilities folder.
  • Run the executable Adobe Flash Builder 4.6 Plug-in Utility.exe.
  • Select the language and click on OK.
  • Select the Flash Builder installation location if prompted.
  • 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 and must contain a folder named “dropins”)
  • Review the pre-Installation summary and click on Install
  • 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 

原文:http://helpx.adobe.com/flash-builder/release-note/flash-builder-4-6-release.html

发现现在集成到eclipse中方法变了,不需要拷那两个文件夹了,直接运行了这个程序选择两条路径就好了。

安装完后会出现的问题有哪些呢

1.使用了Adobe Flash Builder 4.6 Plug-in Utility.exe 工具集成Flash Builder后,eclipse的界面居然部分被汉化了。

解决方法:在eclipse的eclipse.ini(myeclipse的myeclipse.ini)添加语言设置项-nl en_US

 

-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
...

 

后面会给上一个java+flex+blazeDS的小程序

Flex+java入门 http://www.iteye.com/topic/735100

整合Flex和Java—配置篇http://www.oecp.cn/hi/yongtree/blog/131

 

MyEclipse_8.5+flex_4+Blazeds配置http://hi.baidu.com/p_j_321/item/8ce49fcea45c883699b4986c(要看下例子,尝试在myeclipse上配置)

 

 

posted on 2012-06-22 14:52  Léon  阅读(2381)  评论(0编辑  收藏  举报