You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by da...@persgroep.be on 2004/07/14 15:50:53 UTC
cvs [update aborted]: no such tag
Hi there,
I use this simple ant target to retrieve a specific version from the CVS
repository:
<target name="cvs.update.version"
depends="check-input-param-for-cvs.update.rev">
<cvs dest="${cvs.dir}" package="${cvs.package}/Software"
command="update -d -P -r ${rev}" quiet="true"/>
</target>
<target name="check-input-param-for-cvs.update.rev">
<condition property="revision.supplied">
<and>
<isset property="rev"/>
</and>
</condition>
<fail unless="revision.supplied">Please provide the needed
revision as commond line paramaeter -Drev=...</fail>
</target>
Following commands are successful:
ant cvs.update.version -Drev=1.1
ant cvs.update.version -Drev=HEAD
But this is one is failing:
ant cvs.update.version -Drev=edp-0_0_1_jar
=> [cvs] cvs [update aborted]: no such tag edp-0_0_1_jar
When executing the cvs command: "cvs update -d -P -r edp-0_0_1_jar"
(without ant). It works just fine.
Thanks for any help!
David