RSS

SVN and MyEclipse

16 Feb

SVN Server Configuration

1) Install SVN Server – http://subversion.apache.org/packages.html.

2) Install SVN Client – http://tortoisesvn.net/downloads.

3) Create SVN Repository in CMD H: \share> svnadmin create svnrepo

4) Update file “svnrepo/conf/svnserve.conf”, get rid of “#” in front of “#password-db = passwd”. password-db = passwd passwd is a file which include user name and password.  This file is included in conf folder.

5) Create a new user and password in passwd: u1 = p1

6) Restart SVN Server H: \share> svnserve -d -r svnrepo Or use the absolute path H:\Share\svnrepo, if the current folder doesn’t contain repository.

Client – TortoiseSVN

1) Create a folder “Test1”.

2) Right Click that folder and from  TortoiseSVN, you will find “Repo-browser”.  Click it and enter the URL of SVN, you will browse the folders/files in repository. The protocol can be SVN or HTTP (http://svn.apache.org/repos/asf/struts/). Here I use my local server. It will lists the folders/files in this repository.

3) Checkout SVN – Click Test1, you will enter this folder. Right click on the page and select “SVN Checkout…”. Select the folder that you want to download to your machine.

4) SVN Commit  – If you update your file and want to upload it to repository, right click file and click “SVN Commit…”.

5) SVN Checkin – Create Folder called “New Project” in folder “Test1” , right click “New Project” and click “Add”. Then right click “New Project” and click “SVN Commit…”.

SVN of MyEclipse

1) Add SVN Plugin, url – http://subclipse.tigris.org/update_1.6.x

2) Add New SVN Repository:

3) Share Project: Team > Share Project > SVN… Other procedure is pretty easy, here just show some screenshots.
 

Advertisements
 
Leave a comment

Posted by on 02/16/2010 in SYSTEM

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: