Multiple methods for installing SVN plug-in myeclipse

Source: Internet
Author: User

Method 1: Online Installation
1. Open Help-& gt; myeclipse Configuration
Center. Switch to the software tab.

 

2. Click Add site to open the dialog box, in the dialog box name input SVN, URL input: http://subclipse.tigris.org/update_1.6.x

3. In the left-side Navigation Pane, find the svn extension in the personal site. Set core svnkit library and optional JNA

Add the Library (right-click Add to profile), subclipse integration for mylyn under subclipse

3.0 you do not need to add it (Note: Do not add it here ).

4. Click Apply in the lower right pane (pending changes. Install and restart myeclipse.
Method 2: install link

Install subclipse and myeclipse9.0 SVN plug-in

Download the site-1.6.10.zip file from the official website on subclipse.tigris.org,

2. decompress the features and plugins folders and copy them to E: \ myeclipse \ myplugin \ SVN. Do not use other *. XML files.

3. Create the svn. Link file under E: \ myeclipse \ myeclipse9.0 \ dropins. The file content is: Path = E: \ myeclipse \ myplugin \ SVN to save.

4. Delete the E: \ myeclipse \ myeclipse8.5 \ Configuration \ org. Eclipse. Update folder.

5. Restart myeclipse and everything will be normal. [/Size]

Both methods are successful.
Method 3: Decompress the package directly

Download SVN Plugin: site-1.6.10.zip

Decompress the package and copy all the files to: D: \ Program Files \ genuitec \ myeclipse 8.5 \ dropins (myeclipse installation directory)

Restart myeclipse to see SVN!

Method 4: feasible methods

1. download the latest SVN package:

Http://subclipse.tigris.org/servlets/ProjectDocumentList? Folderid = 2240

2. Create a folder "myplugins/SVN" anywhere on your disk ". The name can be used. To facilitate plug-in management, we recommend that you name it "myplugins ".

3. Copy the two decompressed SVN folders to "myplugins/SVN.

4. Copy the following Java code, modify the path, and execute it:

Package app;

Import java. Io. file;

Import java. util. arraylist;

Import java. util. List;

/**

* The myeclipse9 plug-in configures the 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 last 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)

{

/* Installation directory of your plug-in */

String plugin = "change to the installation directory // genuitec // SVN ";

New pluginconfigcreator (). Print (plugin );

}

}

Note that the svn path is changed to the absolute path. For example, D:/myplugins/SVN /...

5. Find "$ myeclipse_home/configuration/org. eclipse. equinox. simpleconfigurator/"to open the" bundles. INF file, in order to prevent unclear is not what we add after, at the end of the car several times, then paste the code after step 1, save

6. Restart myeclipse

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.