Sunday, February 6, 2011

SVN and Eclipse Setup Simple Example

SVN + Eclipse

Steps Taken :
Download Eclipse Galileo – J2EE version.
From Install new update add link http://subclipse.tigris.org/update_1.4.x
It will give an option to install sub eclipse.
Download svn from location http://subversion.tigris.org/servlets/ProjectDocumentList?collapseFolder=91&folderID=91     version Setup-Subversion-1.5.1.en-us.msi
From command prompt > set SVN_EDITOR = C:\windows\notepad.exe
Create the repository from the command prompt >svnadmin     create “D:\Repository1"
Start the svn server svnserve --d –r     " D:\Repository1" 
svn mkdir svn://localhost/TestProject 
For windows service> sc create svnrepos binpath= "\"C:\program files\subversion\bin\svnserve.exe\" --service --root \"D:\Programming\MySVNRepos" displayname= "Subversion Repository" depend= Tcpip start= auto 
sc delete svnrepos
   11 net start svnrepos   12.From eclipse go to sub eclipse perspective.   13. Right click and add repository location svn://localhost Edit Configuration files at location D:\Repository1\conf Svnserve.conf[general]anon-access = readauth-access = writepassword-db = passwdauthz-db = authzrealm = D://Repository1  authz.file[groups]harshalgroup = harshal [/]harshal = rw
passwd.file

[users]
harshal = ABC
 

No comments:

Post a Comment