MyEclipse and IntelliJ idea installation using SVN

Source: Internet
Author: User
Tags svn tortoisesvn
SVN installation and configuration (Windows) First, svn download installationOfficial address:

https://www.visualsvn.com/downloads/

Unzip to the specified directory

Configuring Environment variables

Create a new warehouse folder to hold resources
Note Do not add a repository to this folder after installing TortoiseSVN later

Create a service command (if it fails, right-click cmd to run with Administrator privileges)

SC create svnservice binpath= "\" F:\SVN\server\Apache-Subversion-1.9.4\bin\svnserve.exe\ "--service--root \" F:\SVN\ Svnproject\ "" Displayname= "Subversion" depend= Tcpip start= Auto
Create a sub-warehouse (for uploading items, supporting creation of N)
execute the following command in CMD, which we do not create in this way, followed by using TortoiseSVN to create

Modify Configuration
After using TortoiseSVN to create the warehouse again ii. Download and install TortoiseSVN

Download address: Online A search a lot, there is Chinese.

Install: Unzip it out to run the installation ... Environment variables should be automatically added, viewed in path, and manually added if not.

The right mouse button will have a new menu after installation.

Create an SVN sub-warehouse

Create a new folder under the Warehouse folder created above, named can be project01, of course you can also create N, project02, project03 ...

Right-click on the built-in sub-warehouse folder
Create a repository here

Warehouse Description:
Open the newly created repository directory and you will find several directories in it:
The DAV directory is provided to Apache and MOD_DAV_SVN for use with directories that allow them to store internal data, which I used earlier without this directory
The DB directory is all version controlled data files
Hooks directory where the hook script file is placed
Locks the directory used to place the Subversion vault lock data to track the client accessing the vault
The format file is a text file with only an integer that represents the version number of the current vault configuration
The Conf directory is the configuration file for this repository to modify the configuration file

Open the Conf directory and you will see three files: Authz, passwd, and svnserve.conf, respectively, to manage SVN logins and corresponding user groups, passwords, permissions, etc.

Make the following changes to the svnserve.conf file, and find these three lines:
Anon-access = Read
auth-access = Write
Password-db = passwd
Remove the "#" number before the three lines.
Open passwd File:
Under [Users], add the user name, for example:
admin = 123 (preceded by user name, followed by password)
About the Authz file, mainly to do complex group permissions control, I am a standalone personal use, without setting, as long as the above passwd user name and password can be connected to the warehouse

The access path is svn://localhost/+ your sub-warehouse name, and if you access the remote server, change localhost to the server IP address

Next configure our SVN myeclipse install svn in MyEclipse and IntelliJ idea

Using the 2015 version of the online installation

Help->install from Site

In the popup page Address field, enter the SVN online installation address:

http://subclipse.tigris.org/update_1.8.x/

Tick the installation options The next step, if the installation process fails to try several times, after successful installation will restart MyEclipse use

Right-click on the project to select Team->share Project

Choose SVN

Select New New repository location

fill in the address of SVN with the same address as above when using client connection, choose to use a different sub-warehouse

Specify the project name and path or use the default

Add version Notes

then you will be prompted to open the SVN admin page, select Open, no words to window->show view inside. This allows the project to connect with SVN, or right-click the team to select Disconnect

Management page, there are two tabs, one is to synchronize data from the server, one is the client to submit data, right-click the project to submit, tick the file to be submitted OK.

To modify the SVN user password for a myeclipse record

Remove all files under this path after you restart MyEclipse submit data to IntelliJ idea configuration svn

Right-click Project to open the Share menu

Idea is more simple than that.

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.