Myeclipse9 Installing the SVN plugin (MYECLIPES9 M1)
The personal installation method is as follows:
1. First Download SVN package: site-1.6.17
2. Unpack the SVN package and find two of the folders: Features and plugins
3. Feel free to build a folder (location and name, I will be E:\myEclipsePlugin\svn), and then the second step of the extracted features and plugins into this folder
4. Locate the installation directory for MyEclipse and a configuration\org.eclipse.equinox.simpleconfigurator\bundles.info file below. Now all you have to do is add something inside the file.
5. The added content is generated using the following class:
Import Java.io.File; Import java.util.ArrayList; Import java.util.List; /** * MYECLIPSE9 Plug-in Configuration code generator * */public class Pluginconfigcreator {public Pluginconfigcreator () { 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 ("_");//The position of the final underscore String filename1 = Filename.subst Ring (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) {/* Your SVN's features and PLUgins directory after copying */String plugin = "e:/myeclipseplugin/svn/"; New Pluginconfigcreator (). print (plugin); } }
6. Add the above generated string (a lot of) to the fourth step after the Bundles.info file, and then restart the myeclipse. (It is estimated that the installation method of other plugins is identical)
Myeclipse9 Installing the SVN plugin (myeclipes9 M1) (RPM)