ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Andrade <aandr...@contractor.epolicysolutions.com>
Subject RE: update from CVS
Date Thu, 27 Apr 2006 23:49:14 GMT


-----Original Message-----
From: Alan Andrade [mailto:aandrade@contractor.epolicysolutions.com] 
Sent: Tuesday, April 25, 2006 11:40 AM
To: 'Ant Users List'
Subject: update from CVS

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=" cvs.mod.common " value=" RR/Development/common "/>  

<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

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


Mime
View raw message