Eclipse Install SVN plugin
Help->eclipse MarketPlace
Find and install the Subclipse plugin
Follow the default steps to complete the installation of the Svneclipse plug-in (after the installation is complete, it takes effect after you restart Eclipse).
Publish project from Eclipse to SVN server
Create a new Java project:
Right-click on the item to find Team->shareproject
Choose SVN
To create a new repository location:
Set SVN address, format: SVN://IP address
To set the folder name for the SVN repository:
After adding a comment, select Finish:
Fill in the SVN service username and password
After clicking OK, we have published our Java project to the SVN server.
Submitting code to the SVN server
Below we write some code in the project, we need to submit the new code to the server.
Right-click on the project and find Team-> commit (Commit)
Click OK to submit the code after adding the comment
Similarly, if we have new code changes, we can follow the above steps to submit the newly modified code to the SVN service.
Get the project from SVN
Let's say we're entering a new company now and we need to get the project code from SVN. You can get the project code in the following ways:
Create a new Java project and choose to check out the project from SVN:
Choose to create a new resource location:
Fill in the SVN server IP address, format: SVN://IP address
The project directory that can be obtained under SVN service is then listed. Select the items you want to download:
Select default Value
Click Finish
The project is downloaded to eclipse.
Install SVN plug-ins and connect SVN services and publish projects under Eclipse