IntelliJ Java IDE
The moose likes Ant, Maven and Other Build Tools and the fly likes Check out with CVS via ANt Script Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "Check out with CVS via ANt Script" Watch "Check out with CVS via ANt Script" New topic
Author

Check out with CVS via ANt Script

kayyum khan
Greenhorn

Joined: Jul 31, 2009
Posts: 2
When Im trying to use the cvs checkout command in the ant script it gives an error sayiing

[cvs] Caught exception: Cannot run program "cvs": CreateProcess error=2, The system cannot find the file specified

can anyone help me to find the solution
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 4875

Did you read the Ant docs? Here is the start of the second paragraph on the cvs task:

Important: This task needs "cvs" on the path. If it isn't, you will get an error (such as error 2 on windows).


JBoss In Action
kayyum khan
Greenhorn

Joined: Jul 31, 2009
Posts: 2
do we have to explicitly download the cvs.exe or it come default with ant
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 4875

cvs.exe does not come with ant, you have to first download and install it (I have always wondered why the cvs tasks are considered core ant tasks when they require you to download and install third-party software)
 
 
subject: Check out with CVS via ANt Script
 
Threads others viewed
CVS Login problem with ANT script
Getting error when check out the jars from CVS
Ant checkout CVS using SSH
Retrive code from CVS
ANT and CVS
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture