ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From david.vandenbra...@persgroep.be
Subject cvs [update aborted]: no such tag
Date Wed, 14 Jul 2004 13:50:53 GMT
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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message