ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Andrade <aandr...@contractor.epolicysolutions.com>
Subject update from CVS
Date Tue, 25 Apr 2006 18:40:11 GMT
Hi 
I am trying to update the sourcecode from cvs using the ant script before a
build
Here is my task:

<target name="label.build" depends="" description="update src with tagged
code">
  <property name="complete.label.rrc" value="${RRCRel}"/>
     <property name="complete.label.rr7" value="${RR7Rel}"/>
      <cvs cvsroot="${cvs.root}" command="update -P -A -d -C -r
${complete.label.rrc} ${cvs.mod.common}"/>
      <cvs cvsroot="${cvs.root}" command="update -P -A -d -C -r
${complete.label.rrc} ${cvs.mod.renderer}"/>
      <cvs cvsroot="${cvs.root}" command="update -P -A -d -C -r
${complete.label.rrc} ${cvs.mod.rrc}"/>
      <cvs cvsroot="${cvs.root}" command="update -P -A -d -C -r
${complete.label.rr7} ${cvs.mod.rr7}"/>
        </target>


It fails saying cvs [update aborted]: cannot find RR/Development/common: No
such file or directory

But in the same build I could label the files in the cvs
<target name="labelling" description ="tags modules in cvs">
    <cvs cvsroot="${cvs.root}" command="rtag  -F ${complete.label}
${cvs.mod.renderer}"/>
        <cvs cvsroot="${cvs.root}" command="rtag  -F ${complete.label}
${cvs.mod.rrc}"/>
        <cvs cvsroot="${cvs.root}" command="rtag  -F ${complete.label}
${cvs.mod.rr7}"/>
</target>

Thanks
Alan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message