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.