安装方法如下:
1.首先下载SVN包:site -1.6.17
2.解压SVN包,然后找到其中的两个文件夹:features 和 plugins
3.随意建一个文件夹(位置和名称自己定就好了,我的是E:\myEclipsePlugin\svn),然后把第二步的解压好的features 和 plugins放到这个文件夹下
4.找到myeclipse的安装目录,下面有一个configuration\org.eclipse.equinox.simpleconfigurator\bundles.info 文件。现在需要做的就是在该文件内添加的东西
5.添加的内容用下面的类生成:
package net.androidla.test;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
/**
* MyEclipse9 插件配置代码生成器
*
*
*/
public class PluginsInstall
{
public PluginsInstall()
{
}
public void print(String path)
{
List<String> 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)
{
print(thePath);
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<String> getFileList(String path)
{
path = getFormatPath(path);
path = path + "/";
File filePath = new File(path);
if (!filePath.isDirectory())
{
return null;
}
String[] filelist = filePath.list();
List<String> filelistFilter = new ArrayList<String>();
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)
{
/*你的SVN的features 和 plugins复制后放的目录*/
String plugin = "C:\\Program Files\\Genuitec\\plugins\\jdeclipse_update_site";
new PluginsInstall().print(plugin);
}
}
6.把以上生成的字符串(一大堆)添加到第四步bundles.info文件的后面,然后重启myeclipse即可。(估计其他插件的安装方法雷同吧)
分享到:
相关推荐
NULL 博文链接:https://huibin.iteye.com/blog/1101848
昨天晚上安装MyEclipse9.0 M1的反编译插件,在晚上找了很多教程都不能解决,最后综合了几个教程,然后自己再更改了里面的一些方法,总算成功安装了这个插件,故上传于此,希望能给有同样问题的朋友提供帮助。安装...
myeclipse9.0M1的安装SVN插件的详细步骤
6.0M1,再打开MyEclipse-6.0M1的子目录eclipse, 解压myeclipse插件(GUI界面),解压后它有二个子目录(features,plugins),打开二个子目录各有一个文件夹(总共二个文件夹),分别复制到features,plugins的...
最新MyEclipse8.5svn插件,解压后放到Genuitec\MyEclipse 8.5 M1\dropins目录下就行了
Myeclipse6.5 class反编译插件安装步骤: 将压缩包解压可以看到3个文件 1.jad158g.win.zip解压缩后将jad.exe拷贝到JRE的bin目录下,如\Java\jre1.5.0_06\bin 2.下载 将jadclipse_3.1.0.jar复制到D:\Program Files\...
使用myeclipse语言插件必须是您第一次安装myeclipse的路径是: Pulse Install Dierctory ---> D:\Myeclipse\MyEclipse Common directroy ---> D:\Myeclipse\Common Pulse Install Dierctory意思是你的myeclipse运行...
使用myeclipse语言插件必须是您第一次安装myeclipse的路径是: Pulse Install Dierctory ---> D:\Myeclipse\MyEclipse Common directroy ---> D:\Myeclipse\Common Pulse Install Dierctory意思是你的...
非MyEclipse7.0处理方法: 解压后,直接将其中的eclipse文件夹覆盖 MyEclipse 6.0\eclipse ...解压后,直接将其中的eclipse文件夹覆盖 MyEclipse 7.1M1\eclipse\dropins\eclipse 7.0、7.1的注意目录结构,不要选错!!
【Myeclipse 考到如D:\MyEclipse-6.0M1\eclipse\plugins的目录下】 3.启动Eclipse后,在Windows——>Perference——>Java下面应该会多出一个JadClipse目录,相关的设置可以在此修改配置jadclipse: 设置path to ...
freemarker-2.3.15.jar 版本eclipse FreeMarker插件,已配置好MANIFEST.MF,mycelipse配置D:\Program Files\Genuitec\MyEclipse 8.5 M1\configuration\org.eclipse.equinox.simpleconfigurator目录下bundles.info...
第二步:将项目导入到myeclipse9/以上版本,修改里面的main方法里的路径,也是你放svn的路径; 第三步:运行该main方法。将生成的代码复制到 MyEclipse-9.0M1\configuration\org.eclipse.equinox.simpleconfigurator...
这是配找好的jbpm插件,把jbpm.rar解压放在d盘根目录下面;把jbpm.link文件放在MyEclipse 6.5M1\eclipse\links下面;重新启动eclipse就OK;
【Myeclipse 考到如D:\MyEclipse-6.0M1\eclipse\plugins的目录下】 3.启动Eclipse后,在Windows——>Perference——>Java下面应该会多出一个JadClipse目录,相关的设置可以在此修改配置jadclipse:设置path to ...
新版的Eclipse可能不完全向下兼容Axis2插件(太旧版的Axis2插件)。 网上博客的文章很多存在一些小错误。 细节问题没做好。 现在我把自己的操作成功的实例重新演练一遍,基本跟大家啊网上参考的一致,请注意every ...
用过myeclipse的人都知道,用数据库表结构生成javabean的orm很简单,也很容易,...2、安装插件(安装方法我就不细写了) JBoss Tools 3.2.0.M1 详细使用教程见:http://blog.sina.com.cn/s/blog_71b8dd040100rkgr.html
PluginsSetup是简化Eclipse插件安装步骤的一个小程序 操作方法: 1.输入本地插件地址,点击生成。 2.下面文本框中显示插件配置文件信息。 3.把文本框中显示的信息,追加到Eclipse或MyEclipse的配置文件bundles.info...