[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] Running the server and connecting

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-03-15 14:23:59 CET

"Jon-derek Castagno \(RIT Student\)" <jdc3640@rit.edu> wrote on 03/14/2006
11:07:30 PM:

> Through some correspondence with Mark P, I have some questions; I think
I need
> to use JavaHL or JavaSVN. I don’t really understand the JavaHL and
JavaSVN and
> how I am suppose to use a the JavaHL client adapter.

The client adapter (JavaHL or JavaSVN) is how Subclipse talks to a
Subversion repository. For the most part, you do not need to know
anything about them. I only mentioned them to you because if you are not
on Windows there is a real good chance you do not have JavaHL available,
and JavaSVN does not support the file:// protocol which is what I thought
would be the right answer for you.

Since you plan on setting up a Subversion server, this becomes a non-issue
as either adapter can talk to any Subversion server.

Of the two servers, unless you are already familiar with Apache 2.0, then
svnserve is by far the easier to setup.

Create a folder to hold all of your repositories, even if you will only
have 1. Let's say this is /repos or C:\repos.

To start svnserve server just run this command:

svnserve -d -r /repos

or

svnserve -d -r C:\repos

This starts a "never-ending" server job which is also called a daemon.

Now just create one or more repositories:

svnadmin create /repos/dev

or

svnadmin create C:\repos\dev

This will create a folder structure in the above location which stores
your repository. For the most part, you never look at what is in these
folders. But, there is a "conf" folder that contains the configuration
files for svnserve. You need to edit svnserve.conf and passwd according
to the directions in those files.

Finally, you can now access the above repository via this URL:

svn://hostname/dev

Where hostname is the system name and dev is the name of the repository.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Wed Mar 15 14:24:19 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.