MyEclipse multiple ways to install SVN plugins

Source: Internet
Author: User
Tags object object svn

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 in the dialog box name Input Svn,url: http://subclipse.tigris.org/update_1.6.x
3. Locate the SVN deployment in the left column of personal site. The core Svnkit library and optional JNA
Library Add (right-click Add to Profile), Subclipse below Subclipse integration for Mylyn
3.0 can not be added (special note, do not add here).
4. Click Apply in the lower right corner pane (Pending changes). MyEclipse can be installed after reboot.
Method Two: Link installation
Install Subclipse, MyEclipse9.0 SVN plugin
1, download Site-1.6.10.zip file from the official website, the website is: subclipse.tigris.org,
2, extract from features and plugins folder, copy to E:\MyEclipse\myPlugin\svn inside, other *.xml file do not.
3, in E:\MyEclipse\MyEclipse9.0\dropins under the new file Svn.link, the content is: Path=e:\\myeclipse \\myPlugin\\svn save.
4, (Mark son: This step is not sure, first do not delete) Delete E:\MyEclipse\MyEclipse8.5\configuration \org.eclipse.update folder
5, restart the myeclipse is all normal. [/size]
Both of these methods try to succeed
Method Three: Direct decompression
Download SVN plugin: site-1.6.10.zip
After decompression, copy all of its files to: D:\Program files\genuitec\myeclipse 8.5\dropins (myeclipse installation directory)
Restart MyEclipse to appear svn!

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

Transferred from: http://hi.baidu.com/294286540/blog/item/f89af3014404630d738b656d.html

MyEclipse multiple ways to install SVN 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.