MyEclipse10.6 Install SVN plugin method and plugin download address

Source: Internet
Author: User
Tags object object


Today MyEclipse10.6 a bit of a problem, so re-installed it, but also the SVN plugin re-installed, the online resources and their experience in the blog here to record. Suggest directly see method three good, simple and convenient, do not have to toss too much. down

method One: Online installation

1. Open help-> MyEclipse Configuration
Center. Switch to the Software tab.

 
2. Click the Add Site to open the dialog box, and in the dialog name Input Svn,url, enter: http://subclipse.tigris.org/update_1.6.x
3. Locate the SVN deployment in the left column found in personal site. Add the core Svnkit library and the optional JNA
Library (right-click Add to Profile), subclipse the following subclipse integration for Mylyn
3.0 can not be added (special note, do not add here).
4. In the lower right corner pane (Pending changes), click Apply. MyEclipse can be installed after reboot.
method two: Link installation
Install Subclipse, MyEclipse9.0 SVN plug-in
1, download the Site-1.6.10.zip file from the official website, the URL is: subclipse.tigris.org,
2, extract the features and plugins folder from, copy to E:\MyEclipse\ Myplugin\svn inside, other *.xml files do not.
3, the new file Svn.link under E:\MyEclipse\MyEclipse9.0\dropins, the content is: Path=e:\\myeclipse \\myPlugin\\svn save.
4, (Mark son: This step is not sure, do not delete) Delete E:\MyEclipse\MyEclipse8.5\configuration \org.eclipse.update folder
5, restart MyEclipse everything is OK. [/size]
Both methods tried successfully
method Three: Direct decompression

: http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240
Download SVN plugin: site-1.8.22.zip
Copy all of its files to: D:\MyEclipse\MyEclipse 10.6\dropins (MyEclipse's installation directory)
Restart MyEclipse to appear svn!

(Add a note, the download to the SVN plugin file (containing features and other files) copy to the above example sub-directory, restart MyEclipse after the import project can see the following similar "SVN", hehe, then congratulations, you installed the plugin successfully)


Method Four: Sure feasible method

1. Download the latest SVN package:
http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240
2. Create a folder anywhere on your disk: "MYPLUGINS/SVN". Name can be taken, in order to facilitate the management of plugins, the proposed name is "Myplugins".
3. Copy the extracted two folders from svn to "MYPLUGINS/SVN".
4. Copy the following Java code, modify the path and execute:
Package app;
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 underline
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)
{
/* The installation directory of your plugin */
String plugin = "Change to installation directory//genuitec//svn";
New Pluginconfigcreator (). print (plugin);
}
}
It is important to note that the modification becomes the path of the SVN, and it is recommended to change to an absolute path. Like d:/myplugins/svn/...
5, find "$myeclipse _home/configuration/org.eclipse.equinox.simpleconfigurator/", open the "Bundles.inf" file, in order to prevent confusion is not Is our own after add things, in the back of the car several times, and then paste the 4th step after running the code, save
6. Restart MyEclipse


Pro-test method three times, repeated trial success! I wish the team cooperation development happy!

MyEclipse10.6 Installing SVN plugin methods and plugins

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.