您好,欢迎访问三七文档
MyEclipse9.0安装Spekt插件将Spekt集成到MyEclipse9.0中的前提肯定是已经安装过MyEclipse9.0了(呵呵,废话了。9.0是本人亲测,是参考MyEclipse8.5的安装不步骤亲测的。我的MyEclipse9.0的安装目录为:D:\Java\MyEclipse9如图:),网上搜到的安装步骤都不是太详细的,让我这个菜鸟研究了一天才摸索出来,所以写一篇超详细的安装步骤,希望对你有帮助,让我们一起开始把GO…准备工具:1、下载SpketIDE下载地址:,下载完成是一个jar文件,(不过官方网站上的都是没有破解的,下载破解的请到CSDN去下载:)如图:。2、把下载的文件放到一个纯英文的目录下(路径不要出现汉字、空格、特殊符号…,因为java你懂得)推荐放到D:\下,如图:3、在cmd控制台下运行:输入D:(改变当前目录为你下载的spket-1.6.18.jar目录),输入dir(查看所在路径下的所有文件路径),如果在输出的列表中可以找到spket-1.6.18.jar文件,如图:4、接下来运行java–jarspket-1.6.18.jar(运行jar文件)然后“Next”如图:选择EclipsePlugin,EclipseInstallationFolder:你MyEclipse9.0的安装目录下的common文件夹,如图:“Next”-DestinationFolder(SpketIDE将要安装的目录)注意:选择Spket的安装目录(6.0选择MyEclipse的目录一样,7.0以上不要和MyEclipse的目录在一起),点Next,然后开始安装。以上步骤4和zip文件解压出来文件的一样.如果是MyEclipse6.0,则到止步骤已经安装成功,重启MyEclipse,接着后面步骤7“配置Spket”就可以。果是7.0以上的MyEclipse版本,就还需要以下步骤(5~6)的配置。如图:5、把下面的CreatePluginsConfig.java代码复制到CreatePluginsConfig.java(该文件来自)文件中编译并运行:CSDN的破解包中有:代码:importjava.io.File;importjava.util.ArrayList;importjava.util.List;publicclassCreatePluginsConfig{privateStringpath;publicCreatePluginsConfig(Stringpath){this.path=path;}publicvoidprint(){ListStringlist=getFileList(path);if(list==null){return;}intlength=list.size();for(inti=0;ilength;i++){Stringresult=;StringthePath=getFormatPath(getString(list.get(i)));Filefile=newFile(thePath);if(file.isDirectory()){StringfileName=file.getName();if(fileName.indexOf(_)0){continue;}String[]filenames=fileName.split(_);Stringfilename1=filenames[0];Stringfilename2=filenames[1];result=filename1+,+filename2+,file:/+path+\\+fileName+\\,4,false;System.out.println(result);}elseif(file.isFile()){StringfileName=file.getName();if(fileName.indexOf(_)0){continue;}intlast=fileName.lastIndexOf(_);Stringfilename1=fileName.substring(0,last);Stringfilename2=fileName.substring(last+1,fileName.length()-4);result=filename1+,+filename2+,file:/+path+\\+fileName+,4,false;System.out.println(result);}}}publicListStringgetFileList(Stringpath){path=getFormatPath(path);path=path+/;FilefilePath=newFile(path);if(!filePath.isDirectory()){returnnull;}String[]filelist=filePath.list();ListStringfilelistFilter=newArrayListString();for(inti=0;ifilelist.length;i++){Stringtempfilename=getFormatPath(path+filelist[i]);filelistFilter.add(tempfilename);}returnfilelistFilter;}publicStringgetString(Objectobject){if(object==null){return;}returnString.valueOf(object);}publicStringgetFormatPath(Stringpath){path=path.replaceAll(\\\\,/);path=path.replaceAll(//,/);returnpath;}publicstaticvoidmain(String[]args){newCreatePluginsConfig(D:\\Java\\SpketIDE\\eclipse\\plugins).print();//注意:路径为你Spket安装目录\\eclipse\\plugins}}例如:我的安装目录为D:\Java\SpketIDE如图:所以我的路径为:D:\Java\SpketIDE\eclipse\plugins如图:运行结果:com.spket.as.core,1.6.17,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.as.core_1.6.17.jar,4,falsecom.spket.awt,1.6.6,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.awt_1.6.6.jar,4,falsecom.spket.core,1.6.18,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.core_1.6.18.jar,4,falsecom.spket.dtd,1.6.6,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.dtd_1.6.6.jar,4,falsecom.spket.extjs,1.6.17,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.extjs_1.6.17.jar,4,falsecom.spket.grammars,1.6.9,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.grammars_1.6.9\,4,falsecom.spket.js.debug,1.6.16,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.js.debug_1.6.16.jar,4,falsecom.spket.js.xpc,1.6.6,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.js.xpc_1.6.6.jar,4,falsecom.spket.js,1.6.18,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.js_1.6.18.jar,4,falsecom.spket.laszlo,1.6.17,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.laszlo_1.6.17.jar,4,falsecom.spket.mime,1.6.8,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.mime_1.6.8.jar,4,falsecom.spket.mxml,1.6.15,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.mxml_1.6.15.jar,4,falsecom.spket.scintilla.win32,1.6.18,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.scintilla.win32_1.6.18.jar,4,falsecom.spket.sted.win32,1.6.18,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.sted.win32_1.6.18.jar,4,falsecom.spket.sted,1.6.18,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.sted_1.6.18.jar,4,falsecom.spket.svg,1.6.6,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.svg_1.6.6.jar,4,falsecom.spket.swt,1.6.18,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.swt_1.6.18.jar,4,falsecom.spket.theme,1.6.18,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.theme_1.6.18.jar,4,falsecom.spket.ui,1.6.18,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.ui_1.6.18.jar,4,falsecom.spket.widget.win32,1.6.18,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.widget.win32_1.6.18.jar,4,falsecom.spket.widget,1.6.18,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.widget_1.6.18.jar,4,falsecom.spket.wpfe,1.6.6,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.wpfe_1.6.6.jar,4,falsecom.spket.xml,1.6.17,file:/D:\Java\SpketIDE\eclipse\plugins\com.spket.xml
本文标题:MyEclipse9.0+Spket破解版+CreatePluginsConfig+安装步骤(超详细
链接地址:https://www.777doc.com/doc-3649073 .html