how to do cvs check-in check-out using ant.

V

vijaygoyal16

Hi, I want to do check-in check-out using ANT.
I have used following commands.

<target name="checkOutFromCVS" >
<!--<cvs command="-q diff -u -N" output="patch.txt"/>-->
<cvs cvsRoot="${cvs.server.root}"
package="${cvs.server.package}"
dest="${cvs.server.destination}"
/>
</target>

<target name="checkOutFromCVS1" >
<!--<cvs command="-q diff -u -N" output="patch.txt"/>-->
<cvs command="update -A -d"/>
</target>

I am getting following errors:-
checkOutFromCVS:
[cvs] Caught exception: CreateProcess: cvs
-d:pserver:username@server:path
checkout ${cvs.server.package} error=2

checkOutFromCVS1:
[cvs] Caught exception: CreateProcess: cvs update -A -d error=2


Can anyone tell me why this error is coming?
Or can anyone provide the correct commands to do cvs check-in check-out
using ANT including ENV. variable.

Thanks in Advance.

Regards
Vijay
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

Hi, I want to do check-in check-out using ANT.
I have used following commands.

<target name="checkOutFromCVS" >
<!--<cvs command="-q diff -u -N" output="patch.txt"/>-->
<cvs cvsRoot="${cvs.server.root}"
package="${cvs.server.package}"
dest="${cvs.server.destination}"
/>
</target>

<target name="checkOutFromCVS1" >
<!--<cvs command="-q diff -u -N" output="patch.txt"/>-->
<cvs command="update -A -d"/>
</target>

I am getting following errors:-
checkOutFromCVS:
[cvs] Caught exception: CreateProcess: cvs
-d:pserver:username@server:path
checkout ${cvs.server.package} error=2

checkOutFromCVS1:
[cvs] Caught exception: CreateProcess: cvs update -A -d error=2


Can anyone tell me why this error is coming?

Looks to me as if the cvs executable is not in PATH.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top