You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Thomas Saxtoft <TS...@sondagsavisen.dk> on 2003/03/05 15:01:06 UTC

Commit error

I am trying to commit a single file from within my build script, but I
get an error. The part of the script looks like this:

<cvs cvsroot="${cvs.root}"
  passfile="${cvs.passfile}"
  command="commit production_release.properties"/>

And gives me the following message:
Caught exception: CreateProcess: cvs
-d:pserver:builder@192.9.214.171:/home/CVSHOME commit
production_release.properties error=2

If I run the same command from the command line in the same folder as
the build script there is no problem.

Somebody sees the problem?

Thanks in advance,

Thomas Saxtoft

Re: Commit error

Posted by Antoine Levy-Lambert <le...@tiscali-dsl.de>.
I am not using ant/cvs myself but I have seen a similar question; the answer
was that the cvs binary must be in your path.
see this posting
http://marc.theaimsgroup.com/?l=ant-user&m=104462009325245&w=2
Antoine
----- Original Message -----
From: "Thomas Saxtoft" <TS...@sondagsavisen.dk>
To: <an...@jakarta.apache.org>
Sent: Wednesday, March 05, 2003 3:01 PM
Subject: Commit error


I am trying to commit a single file from within my build script, but I
get an error. The part of the script looks like this:

<cvs cvsroot="${cvs.root}"
  passfile="${cvs.passfile}"
  command="commit production_release.properties"/>

And gives me the following message:
Caught exception: CreateProcess: cvs
-d:pserver:builder@192.9.214.171:/home/CVSHOME commit
production_release.properties error=2

If I run the same command from the command line in the same folder as
the build script there is no problem.

Somebody sees the problem?

Thanks in advance,

Thomas Saxtoft

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