| Author |
Q for Mike Clark: fetching a specific cvs version with Ant
|
Gian Franco
blacksmith
Ranch Hand
Joined: Dec 16, 2003
Posts: 975
|
|
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
|
"Eppur si muove!"
|
 |
Mike Clark
author
Ranch Hand
Joined: Aug 15, 2003
Posts: 83
|
|
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
|
Mike Clark<br />Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0974514039/ref=jranch-20" target="_blank" rel="nofollow">Pragmatic Project Automation</a>
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56529
|
|
Maybe this question is off-topic
Not at all Gian. Any questions or topics on build tools is fair game.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Ilja Preuss
author
Sheriff
Joined: Jul 11, 2001
Posts: 14112
|
|
|
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).
|
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
|
 |
Gian Franco
blacksmith
Ranch Hand
Joined: Dec 16, 2003
Posts: 975
|
|
Thank you all, this is enough to get things rolling
|
 |
 |
|
|
subject: Q for Mike Clark: fetching a specific cvs version with Ant
|
|
|