You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by phil campaigne <pc...@charter.net> on 2005/09/20 16:42:14 UTC

installation problem on svn 1.2.3

Hi,
I am trying to set up an server on my local machine.  My IDEA5.01 IDE 
does not let me check out files from the repository using the file:/// 
format( which works for me on the command line) as follows:
svnadmin create /usr/local/subversion/repos

[phil@hardwoodthunder subversion]$ svn import /tmp/ReportingSystem 
file:///usr/local/subversion/repos -m "initial import"
Adding         /tmp/ReportingSystem/trunk
Adding         /tmp/ReportingSystem/trunk/index.wml
Adding         /tmp/ReportingSystem/trunk/index.html
Adding         /tmp/ReportingSystem/branches
Adding         /tmp/ReportingSystem/tags

[phil@hardwoodthunder subversion]$ svn checkout 
file:///usr/local/subversion/repos/trunk ReportingSystem
A    ReportingSystem/index.wml
A    ReportingSystem/index.html
Checked out revision 1.


Committed revision 1.


 so I have tried to use the custom server format.

I can't find in the docs how to do it from the command line.  Here's 
what I tried:
1. Start tomcat
2.svnserv -i
3. [phil@hardwoodthunder subversion]$ svn checkout 
svn://localhost:8080/usr/local/subversion/repos/trunk  Report
svn: Connection closed unexpectedly

Any ideas what I don't understand or what I am doing wrong?
thanks,
Phil


Re: installation problem on svn 1.2.3

Posted by Mark Phippard <Ma...@softlanding.com>.
phil campaigne <pc...@charter.net> wrote on 09/20/2005 12:42:14 PM:

> I am trying to set up an server on my local machine.  My IDEA5.01 IDE 
> does not let me check out files from the repository using the file:/// 
> format( which works for me on the command line) as follows:
> svnadmin create /usr/local/subversion/repos

The IDEA IDE builds its integration using a library named JavaSVN that is 
not part of the Subversion project.  JavaSVN has done a great job 
supporting the Subversion protocols, but it does not support file:// as 
that would mean it would also have to write to the repository.

> I can't find in the docs how to do it from the command line.  Here's 
> what I tried:
> 1. Start tomcat

Why are you starting Tomcat?  It has nothing to do with Subversion.

> 2.svnserv -i

You are getting closer here, but the program is called svnserve.

> 3. [phil@hardwoodthunder subversion]$ svn checkout 
> svn://localhost:8080/usr/local/subversion/repos/trunk  Report
> svn: Connection closed unexpectedly

Port 8080 looks like you are expecting Tomcat to be the server.  If you 
want to use the Apache https server (not Tomcat) then the protocol to 
specify in the URL should be http:// not svn://

The svn:// protocol works with the svnserve server process and defaults to 
port 3690.

> Any ideas what I don't understand or what I am doing wrong?

It looks like a lot.  Have you looked at the Subversion book?  It has a 
pretty good explanation of getting a server running.

http://svnbook.red-bean.com/en/1.1/ch06.html

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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org