Ubuntu + eclipse + SVN version control configuration notes

Source: Internet
Author: User

Read this article. Suppose you have installed Ubuntu and eclipse.

If you are not familiar with Ubuntu and eclipse installation, please read several other articles.

Http://blog.csdn.net/ex_net/article/details/7251664 (Ubuntu installation eclipse C/C ++ Development Environment)

 

Since C/C ++ eclipse is installed before, it must be replaced with javascript Due to project requirements.

Therefore, download the eclipse-javascript-indigo-SR2-linux-gtk.tar to ubunt, for example, to/home/tools

Then extract eclisp...xxx.xxx...tar to/opt /.

# Mkdir/opt/Eclipse/JRE

# Ln-S/opt/JRE/bin/opt/Eclipse/JRE

Reconnect the JRE to the eclipse directory.

 

Double-click eclipse on the desktop to start it.

 

 

After the above preparations, the main software has been installed!

Now go to the topic! Configure SVN

 

Step 1: first update the cache of the internal software package of the system (to prevent errors)

# Sudo dpkg -- clear-avail

# Sudo apt-Get update

 

Step 2: Install the svn interface component javahl of eclipse"

Sudo apt-Get install libsvn-Java

Press Y to start the installation. The entire process is about 10 minutes.

 

For more information about javahl, see: http://subclipse.tigris.org/wiki/JavaHL#head-7498d204a5be83e0e97d196ba75fc797d5f0c822

 

Step 3: Install the csvn plug-in of eclipse

 

Online update address: http://subclipse.tigris.org/update_1.6.x]

 

Step 4: Modify the eclipse configuration file

Edit eclipse. ini

Add the following Under-vmargs:

-Djava. Library. Path =/usr/share/Java/
-Djava. Library. Path =/usr/lib/JNI/

 

Step 5: restart eclipse to complete installation

Tip: It is very slow after startup. Please wait patiently. It is estimated that eclipse is doing some initialization work!

 

After installing SVN, the system will prompt you to configure the storage path of SVN configuration information during the 1st startup. Click OK and use the default one.

Go to eclipse and start the svn view.

After setting, check that the eclipse View Interface has changed.

Let's test:

Enter the configured SVN server address

For detailed SVN server configuration, see: http://blog.csdn.net/ex_net/article/details/7397120

After the URL is entered, the system will prompt you to enter the login user name and password

For ease of opening, you can select Save Password here!

Now, eclispe can work well with SVN.

Related Article

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.