• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Q for Mike Clark: fetching a specific cvs version with Ant

 
Gian Franco
blacksmith
Ranch Hand
Posts: 979
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mike,

Maybe this question is off-topic, but do
you know how I could automate the task
of fetching a specific version from cvs
using ant and a simple script? Do I need
to go further than the common ant tasks?

Cheers,

Gian Franco Casula
 
Mike Clark
author
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The <cvs> Ant task is a core task, described at:

http://ant.apache.org/manual/CoreTasks/cvs.html

If you have a tag or a date, you can check out files relative to those markers.

Hope that's what you were looking for. If not, please ask again.

Mike
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65120
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe this question is off-topic


Not at all Gian. Any questions or topics on build tools is fair game.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And if you don't want to hardcode the version, you can read it from a properties file or query the user (using the property or input task, respectively).
 
Gian Franco
blacksmith
Ranch Hand
Posts: 979
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you all, this is enough to get things rolling
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic