MyEclipse8.5安装Spket插件(非通过Myeclipse Configuration Center的方式)

[color=red]绝对可用,经测[/color]
参考: http://xttifqqk.iteye.com/blog/452142(MyEclipse7.0 安装Spket插件)

配置环境:
MyEclipse 8.5 + Spket 1.6.18 + ExtJS 3.2.1。
安装Spket-1.6.8
下载Spket, 地址:http://spket.com/download.html , 选择Spket IDE 或Plugin下载 (CSDN中有Spket 1.6.18的破解版,请自己搜索一下!)
1. 在CMD 中执行 java -jar spket-1.6.17.jar, 点"Next"
2. 选择eclipse plugin, 点"Next"
3. 选择MyEclipse8.5的安装目录的common文件夹, 点"Next"!
4. 选择Spket 的安装目录(6.0选择MyEclipse的目录一样, 7.0以上不要和MyEclipse的目录在一起),点"Next", 然后开始安装.
以上步骤4和zip文件解压出来文件的一样.如果是MyEclipse6.0,则到止步骤已经安装成功,重启MyEclipse,接着后面步骤(三)的“配置Spket”就可以。果是7.0以上的MyEclipse版本,就还需要以下步骤(5~7)的配置.

5. 下载CreatePluginsConfig.zip, 把Java文件最后面Spket的安装路径改成自己的安装路径(以我自己的安装路径“d:\Programs\spket-1.6.18”为例), 编译“.java”件并执行。在控制台中会输出一些信息,如下所示:
com.spket.as.core,1.6.17,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.as.core_1.6.17.jar,4,false
com.spket.awt,1.6.6,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.awt_1.6.6.jar,4,false
com.spket.core,1.6.18,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.core_1.6.18.jar,4,false
com.spket.dtd,1.6.6,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.dtd_1.6.6.jar,4,false
com.spket.extjs,1.6.17,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.extjs_1.6.17.jar,4,false
com.spket.grammars,1.6.9,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.grammars_1.6.9\,4,false
com.spket.js.debug,1.6.16,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.js.debug_1.6.16.jar,4,false
com.spket.js.xpc,1.6.6,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.js.xpc_1.6.6.jar,4,false
com.spket.js,1.6.18,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.js_1.6.18.jar,4,false
com.spket.laszlo,1.6.17,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.laszlo_1.6.17.jar,4,false
com.spket.mime,1.6.8,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.mime_1.6.8.jar,4,false
com.spket.mxml,1.6.15,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.mxml_1.6.15.jar,4,false
com.spket.scintilla.win32,1.6.18,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.scintilla.win32_1.6.18.jar,4,false
com.spket.sted.win32,1.6.18,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.sted.win32_1.6.18.jar,4,false
com.spket.sted,1.6.18,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.sted_1.6.18.jar,4,false
com.spket.svg,1.6.6,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.svg_1.6.6.jar,4,false
com.spket.swt,1.6.18,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.swt_1.6.18.jar,4,false
com.spket.theme,1.6.18,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.theme_1.6.18.jar,4,false
com.spket.ui,1.6.18,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.ui_1.6.18.jar,4,false
com.spket.widget.win32,1.6.18,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.widget.win32_1.6.18.jar,4,false
com.spket.widget,1.6.18,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.widget_1.6.18.jar,4,false
com.spket.wpfe,1.6.6,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.wpfe_1.6.6.jar,4,false
com.spket.xml,1.6.17,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.xml_1.6.17.jar,4,false
com.spket.xul,1.6.6,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.xul_1.6.6.jar,4,false
com.spket.yuic,1.6.18,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.yuic_1.6.18.jar,4,false
com.spket.ywt,1.6.6,file:/d:\Programs\spket-1.6.18\eclipse\plugins\com.spket.ywt_1.6.6.jar,4,false
org.apache.xerces,2.8.0.v200705301630,file:/d:\Programs\spket-1.6.18\eclipse\plugins\org.apache.xerces_2.8.0.v200705301630.jar,4,false
org.apache.xml.resolver,1.1.0.v200705310020,file:/d:\Programs\spket-1.6.18\eclipse\plugins\org.apache.xml.resolver_1.1.0.v200705310020.jar,4,false

6. 把输出的东西追加到X:\Genuitec\MyEclipse 8.5\configuration\org.eclipse.equinox.simpleconfigurator\bundles.info 后面.

7. 重启MyEclipse 8.5完成Spket-1.6.18的安装。在MyEclipse 8.5中的菜单Window -> Preferences 中将出现 Spket项目。
注意!!!!
通过“Spket IDE”的方式进行安装,选择MyEclipse8.5的安装目录的common文件夹,会在其中建立一个“links”文件夹,里面建立一个名称为“spket.link”的文件, 内容如下:
path=D\:\\programs\\spket-1.6.18
其中, “D\:\\programs\\spket-1.6.18”即为Spket的安装目录! 如果不采用安装包而采用“Plugin”的方式进行spket-1.6.18的安装,只需将spket解压缩到相应的目录,并手动在MyEclipse的common文件夹下建立其“links”文件夹和“spket.link”文件即可。
此时, 我本机的MyEclipse8.5的目录结构如下图所示.

图 1 MyEclipse8.5的目录结构(Genuitec为根目录)
本人机器上的MyEclipse8.5安装完Spket-1.6.18后的效果图如下所示:

图 2 MyEclipse8.5中成功安装Spket插件

配置Spket-1.6.8
Spket的配置过程与以往的Spket的配置过程类似.要注意的是,只有高于Spket-1.6.17的版本才识别配置文件。
1. 先下载ext-jsb2.zip, 解压到ExtJS 3.0的根目录, 就是和ext-all.js在同一级目录.
2. Window → Preferences → Spket → JavaScript Profiles → New.
3. 输入ExtJS, 点"OK".
4. 选择ExtJS, 点"Add Library", 在弹出窗口中选择"ExtJS".
5. 选择ExtJS, 点"Add File", 找到ext.jsb2.
6. 选择ExtJS, 点"Default".

OK, Spket的安装以及Ext3.2.1的配置 都就绪了.

新建一个JS文件, 用Open With → Spket Javascript Editor 打开, 测试一下效果吧.

欢迎交流~
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值