安装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”文件即可。
三.配置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 打开, 测试一下效果吧.
附件1: CreatePluginsConfig.java文件的内容
import java.io.File;
import java.util.ArrayList;
import java.util.List;
public class CreatePluginsConfig {
private String path;
public CreatePluginsConfig(String path) {
this.path = path;
}
public void print() {
List list = getFileList(path);
if (list == null) {
return;
}
int length = list.size();
for (int i = 0; i < length; i++) {
String result = "";
String thePath = getFormatPath(getString(list.get(i)));
File file = new File(thePath);
if (file.isDirectory()) {
String fileName = file.getName();
if (fileName.indexOf("_") < 0) {
continue;
}
String[] filenames = fileName.split("_");
String filename1 = filenames[0];
String filename2 = filenames[1];
result = filename1 + "," + filename2 + ",file:/" + path + "\\"
+ fileName + "\\,4,false";
System.out.println(result);
} else if (file.isFile()) {
String fileName = file.getName();
if (fileName.indexOf("_") < 0) {
continue;
}
int last = fileName.lastIndexOf("_");// 最后一个下划线的位置
String filename1 = fileName.substring(0, last);
String filename2 = fileName.substring(last + 1, fileName
.length() - 4);
result = filename1 + "," + filename2 + ",file:/" + path + "\\"
+ fileName + ",4,false";
System.out.println(result);
}
}
}
public List getFileList(String path) {
path = getFormatPath(path);
path = path + "/";
File filePath = new File(path);
if (!filePath.isDirectory()) {
return null;
}
String[] filelist = filePath.list();
List filelistFilter = new ArrayList();
for (int i = 0; i < filelist.length; i++) {
String tempfilename = getFormatPath(path + filelist[i]);
filelistFilter.add(tempfilename);
}
return filelistFilter;
}
public String getString(Object object) {
if (object == null) {
return "";
}
return String.valueOf(object);
}
public String getFormatPath(String path) {
path = path.replaceAll("\\\\", "/");
path = path.replaceAll("//", "/");
return path;
}
public static void main(String[] args) {
new CreatePluginsConfig(
"d:\\Programs\\spket-1.6.18\\eclipse\\plugins") //------------修改!!!!
.print();
}
}
附件2: Myeclipse8.5中从配置中心进行网络安装Spket插件
1.Myeclipse8.5安装插件的界面有很大改变,在help菜单中,选Myeclipse Configuration Center:
2.在Software面板中点击“add site”:
3.在弹出的Add Site 输入插件的name & site 点击完成后会看到自己的插件出现在下面的Personal Sites列表中:
Spket
|-Spket IDE
|-Spket IDE
|-Spket Text Editor
|-Xerces for Spket IDE
4.选中你要添加的插件名称,右键点击Add to Profile,只选择前两项即可,免费使用的:
5.这时Softwar Updates Available小窗口中就会看到已添加的插件:
6.点击Pending Changes窗口中的按钮“apply change”即可开始update插件了。
Citefrom: http://bjyzxxds.javaeye.com/blog/657552 但中国大陆的Ip好像被封锁了,要通过代理! 具体方法请自己网络上查找一下!!!!!
分享到:
相关推荐
Myeclipse中spket插件安装 压缩包带ext.jsb ext.jsb2 Myeclipse安装spket插件过程word文档 spket-1[1].6.18.jar破解版安装包
Myeclipse安装spket插件过程(图文详细描述安装过程) 包括两种方式: 一、配置在线使用: 二、网上下载spket-1.6.16.jar破解版,进行安装
MyEclipse7.0 安装Spket插件安装加配置MyEclipse7.0 安装Spket插件安装加配置MyEclipse7.0 安装Spket插件安装加配置MyEclipse7.0 安装Spket插件安装加配置MyEclipse7.0 安装Spket插件安装加配置MyEclipse7.0 安装...
MyEclipse7.0 Spket插件 MyEclipse7.0 Spket插件 MyEclipse7.0 Spket插件 MyEclipse7.0 Spket插件
MyEclipse8.6安装 spket1.6.18 插件 spket-1.6.18破解注册版
MyEclipse8.5安装Spket插件(非配置中心升级方式) MyEclipse8.5安装Spket插件(非配置中心升级方式)MyEclipse8.5安装Spket插件(非配置中心升级方式)
MyEclipse8以上安装Spket插件[破解版],里面有详细的文档和破解的Jar和距工具类
用于MyEclips中JS代码提示的插件(spket),希望对您有所帮助
MyEclipse Blue Edition6.5.0安装 spket 插件
MyEclipse的Spket插件,可以直接复制到MyEclipse目录下的dropins文件夹下使用,也可以在此文件夹下做一个link文件链接进去。
NULL 博文链接:https://wjg-java.iteye.com/blog/1829942
MyEclipse8.5安装Spket插件支持Extjs 4.0(非通过Myeclipse Configuration Center的方式),通过测试,可以运行
三、安装spket插件 (1)运行spket1.6.23.jar安装包 (2)选择MyEclipse的安装目录,千万要注意的是必须放在dropins目录下,这个MyEclipse10默认的插件目录,否则插件会无法加载。 (3)选择Spket的安装目录 ...
Myeclipse采用link方式安装Spket插件
第三步:启动或重启myeclipse,在Window>Preferences选项就下可以看到Spket菜单证明安装成功。 ----------下边是装载ExtJS语法库的方式 第四步:按照第三步找到spket>JavaScripts选项 第五步:右边New...按钮,...
主流插件jsEclipse、Aptana Studio和spket,就js语法加亮来说,都可以。 jsEclipse是轻量级免费使用的插件,不支持jQuery,虽说可以添加library,但在网上很难找到jQuery的xml库
Myeclipse8.5中安装Spket插件
Windows7 64位系统中安装Spket到myeclipse8.5中 用java -jar 解压报swt-win32-3346.dll这个错误,以及spket安装的教程、资料