Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Check out with CVS via ANt Script

 
kayyum khan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).

 
kayyum khan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
do we have to explicitly download the cvs.exe or it come default with ant
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic