ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Salma Saad" <ss...@ecascabel.com>
Subject Re: problem with cvs task
Date Fri, 05 Apr 2002 21:48:22 GMT
Thanks for the help. Yes cvs is in my path. As for the cvs root I am a bit
confused. I am not using pserver(I do plan on this eventually but for now I
am trying to get things to work on a single machine). I am running ant on
the same windows 2000 machine as my cvs repository and my cvs repository is
in c:/cvs .I should be able to use both
hostName:c/cvs
 or simply
c:/cvs
as cvsRoot and it should work. I am not an expert at cvs installation and I
did install this myself so maybe I do need to configure cvs?
commands such as:
cvs co moduleName
and
cvs update -A
work just fine but the following command
cvs -d hostName:c/cvs checkout com doesn't work. It complains about rsh not
being able to establish a connection but cvs -d c:/cvs checkout com works
just fine manually. I think that the fact that it cannot connect to the host
should not bother the ant cvs process especially if I set the cvsRoot to
c:/cvs?

----- Original Message -----

From: "Frederic Lavigne" <fred@castify.net>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Friday, April 05, 2002 3:23 PM
Subject: RE: problem with cvs task


> make sure cvs.exe is in your PATH. This is required by the cvs task.
>
> > -----Message d'origine-----
> > De : Salma Saad [mailto:ssaad@ecascabel.com]
> > Envoyé : vendredi 5 avril 2002 23:12
> > À : ant-user@jakarta.apache.org
> > Objet : problem with cvs task
> >
> >
> > I am having a problem using the cvs task on a windows2000 machine. I am
> > simply trying to check out code. Here is a snippet from my ant file
> >
> >  <target name = "checkOutForBuild">
> >  <mkdir dir="${build.dist}/src" />
> >  <cvs cvsRoot="${build.cvsRoot}"
> >        package="${build.cvsModule}"
> >        dest="${build.dist}/src}" />
> >  </target>
> >
> > The error I get is:
> > C:\javaDev\projects\antFiles\prod.xml:28: java.io.IOException:
> > CreateProcess: cvs -d c:/cvs checkout com error=267
> >         at org.apache.tools.ant.taskdefs.Cvs.execute(Cvs.java:221)
> >
> >  It seems that there is a problem with the "exec" call. I know
> > this is more
> > a java/OS problem than an ant problem but has anyone else seen this? Any
> > idea what error=267 refers to? My cvs repository is on a windows
> > machine and
> > maybe this happens because cvs for windows is not stable? Any
> > ideas would be
> > very much appreciated.
> >
> > Thanks
> > Salma Saad
> > Cascabel Incorporated
> >
> > Phone:   773.235.1567
> > Web:     http://www.ecascabel.com
> > Address: 2007 N Oakley Chicago IL, 60647
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
<mailto:ant-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:ant-user-help@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


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


Mime
View raw message