Wolf Paulus
Posts: 692
Nickname: wolfpaulus
Registered: Jan, 2004
|
Wolf Paulus is an experienced software developer focusing on Java, XML, Mac OS X, wireless/mobile ..
|
|
|
|
Subversion Server on Windows
|
Posted: Mar 1, 2005 7:43 PM
|
|
|
This post originated from an RSS feed registered with Java Buzz
by Wolf Paulus.
|
Original Post: Subversion Server on Windows
Feed Title: Wolf's Web Journal
Feed URL: http://wolfpaulus.com/feed/
Feed Description: Journal - dedicated to excellence, and motivated by enthusiasm to trying new things
|
Latest Java Buzz Posts
Latest Java Buzz Posts by Wolf Paulus
Latest Posts From Wolf's Web Journal
|
|
While I work mostly on my PowerBooks or G5 nowadays, I still keep a Windows box in my office at home. Some of the embedded stuff I'm working on runs only on a PC (cross compiler being just one example) and even J2ME related work needs to be done on a PC. J2ME Wireless Toolkit 2.1 and 2.2 are not available for OS X and probably never will be and like I have blogged here before, when considering the Mac, Michael Powers' mplayer is the only light in a dark world of J2ME on OS X.
So for the last couple of months the 2GHz Pentium-4 PC was sitting there doing what Windows is doing best, running the System Idle Process and since setting up a SubVersion server and gradually moving my projects from CVS to SubVersion is on my todo list for quite some time now, I finally found something useful for that box to do.
Step 1: Downloading Subversion for Windows.
http://subversion.tigris.org/files/documents/15/20015/svn-1.1.3-setup.exe
Step 2: Running the setup
I chose c:/subversion as the install directory.
Step 3: Create the Repository
Here I created c:/svnrepos to serve as the repository root - just make sure to use a local directory.
Executing c:/subversion/bin/svnadmin create c:/svnrepos registers the created directory as the repository root.

Step 4: Running SubVersion as a Service
Since I don't want to restart sub version every time the PC reboots, Magnus Norddahl's tool become quite useful.
http://dark.clansoft.dk/~mbn/svnservice/SVNService.zip
To make things easy, you want to download the files right into subversion's bin directory, c:/subversion/bin in my case.
Executing c:/subversion/bin/SVNService -install -d -r c:/svnrepos will install subversion as a service and
the only remaining thing to do is to change the service's startup setting to Automatic.

Step 4: Install a good SubVersion Client
While there are subversion client plug-ins available for Eclipse as well as for IntelliJ-Idea, I still like to have an standalone client around. Fortunately, German fellow German, Thomas Singer is writing a new SubVersion client, building on his great success he has with SmartCVS. Check it out.

Step 5: Access
Registering the root directory will make the whole subtree read-only. Make sure that the user running the server (local SYSTEM ?) can access the sub tree. Moreover, you may want to edit the /repos/conf/svnserv.conf file. If you do, remember to enable the [general] tag as well.

Read: Subversion Server on Windows
|
|