[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: Jon-derek Castagno \(RIT Student\) <jdc3640_at_rit.edu>
Date: 2006-03-15 22:47:54 CET

Hey again, thanks for the help. I edited the config files as you stated.

I connect using the following URL svn://MyHostName/respos
If I am not mistaken the # symbol means a comment so I just deleted it.
I put down for svnserve:
anon-access = none
auth-access = write
Would that be good since everyone will have an account? And would that
enable people who are authorized to make changes?

For the password file I have put this in:
[users]
JD=jdOwns

For your information this isn't a real pass, I just used this so I can
test things for. You can start breathing again (I am not that foolish, I
hope) :).
Subclipse then asks me for my authentication I input for username: JD
and for pass: jdOwns. It then immediately says :
"Error validating location:
'org.tigris.subversion.javahl.ClientException: Bad URL passed to RA
layer svn URL 'svn://MyHostName/repsos' non-existent in revision '4'"
For more information I have my repository set up in C:/repsos There is
a repository set up there I have the TortoiseSVN and I can browse what
is in there and a repository does exist, I was playing around with
changes so I think that's how its version 4. My authz file has this in
it:
[/]
JD=rw
*=
This means I can do all but everyone can not? I will only be using one
project so I don't need to specify a repository correct? Any ideas as to
what is causing this error?
And Finally how do I stop the server that I ran using
"svnserve -d -r C:\repos" I do not see it in any services or process,
and do I need to keep the command window open? I also do not get a
confirmation message that appears in CH 6 of the book saying its
running. It appears to hang but if I close it I can not
connect(therefore it is closed?) so should I put it in one of the
wrapper services that I was reading about. I can not find that link
which I stumbled across last night. I was reading about it and how there
are 2 out there one by Microsoft and the other by someone else, which
one would be the best?
Thanks a bunch everyone again.
        JD

P.S. sorry about the read receipt last time, I forgot to turn it off.

"Do, or do not. There is no try" -Yoda
Rochester Institute of Technology
Majoring in Applied Networking and System Administration.
http://ambassador.rit.edu/blog/dotes/

Q. PSSST. What is the best kept secret in American Education?
A. Hyde School.
www.hyde.edu
 
-----Original Message-----
From: Mark Phippard [mailto:markp@softlanding.com]
Sent: Wednesday, March 15, 2006 8:24 AM
To: users@subclipse.tigris.org
Subject: Re: [Subclipse-users] Running the server and connecting

"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.
________________________________________________________________________
_____

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Wed Mar 15 22:48:12 2006

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