ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pritesh Saharey <priteshsaha...@sify.com>
Subject RE: cannot connect to socket: Connection refused
Date Fri, 18 Feb 2005 07:38:12 GMT
Thanks its working now, actualy my cvsroot was not set properly.....
;-)

Quoting  DDevienne@lgc.com:

> Do you need a colon before pserver too?

You need one after the port<br>number as well, unless 2401 is the default
CVS port as Rob implies.<br>--DD

> -----Original Message-----
> From: Anderson, Rob (Global<br>Trade) [mailto:Rob.Anderson@nike.com]
> Sent: Thursday, February 17,<br>2005 10:24 AM
> To: Ant Users List
> Subject: RE: cannot connect to<br>socket: Connection refused
> 
> Your CVSROOT is not set properly.<br>Change it too...
> 
> ...
> <cvspass<br>cvsRoot="pserver:sachinp@192.X.X.X:/home/gtekcvs"
> <br>password="${user.cvspass}"/>
>  	<cvs<br>cvsRoot="pserver:sachinp@192.X.X.X:/home/gtekcvs"
>  		 command="-Q<br>checkout"
>  		 package="Xpan/src"
>  		 dest="${src.dir}"
>  		<br>failonerror="true">
>  	</cvs>
> 
> -Rob Anderson
> 
> ><br>-----Original Message-----
> > From: Pritesh Saharey<br>[mailto:priteshsaharey@sify.com]
> > Sent: Thursday, February 17, 2005<br>3:40 AM
> > To: Ant Users List
> > Subject: cannot connect to socket:<br>Connection refused
> >
> >
> > Hi All,
> >     I am trying to<br>checkout the package from CVS using ant
> > from Windows 2000 m/c, my<br>cvs.exe is in path. Below is the
> > snipte of code which Iam using
><br>> <target name="cvsget-source"
> > 	description="getting the latest<br>source code from CVS">
> > 	<record name="CVS.log" action="start"/>
><br>> 	<cvspass
> ><br>cvsRoot="pserver:sachinp@192.X.X.X:2401/home/gtekcvs"
> ><br>password="${user.cvspass}"/>
> > 	<cvs<br>cvsRoot="pserver:sachinp@192.X.X.X:2401/home/gtekcvs"
> > 		<br>command="-Q checkout"
> > 		 package="Xpan/src"
> > 		<br>dest="${src.dir}"
> > 		 failonerror="true">
> > 	</cvs>
> > 	<record<br>name="CVS.log" action="stop"/>
> >
> > </target>
> >
> > After<br>running the build.xml file it is giving me error like this:
> > [cvs]<br>Using cvs passfile: C:Documents and
> ><br>SettingsAdministrator.cvspass
> > [cvs] cvs [checkout aborted]:<br>cannot connect to socket:
> > Connection refused
> > [cvs]
> ><br>[cvs]
> >
> > BUILD FAILED
> >
> > C:downloadsgtekbuild.xml:51:<br>cvs exited with error code 1
> > Command line was [Executing 'cvs' with<br>arguments:
> > '-dpserver:sachinp@192.X.X.X:2401/home/gtekcvs'
> ><br>'-Q'
> > 'checkout'
> > 'Xpan/src'
> >
> > The ' characters around<br>the executable and arguments are
> > not part of the command.
> >
> ><br>Can anybody guss what I am doing wrong?
> > Any Help  would be higly<br>appreciated.
> >
> > Regards
> > pritesh
> >
> 
> 
><br>---------------------------------------------------------------------
><br>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For<br>additional commands, e-mail:<br>user-help@ant.apache.org


------------------------------------------<br>---------------------------
To unsubscribe, e-mail:<br>user-unsubscribe@ant.apache.org
For additional commands, e-mail:<br>user-help@ant.apache.org



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message