Alan,

Please first make sure that the commands are working fine from command line. "Cannot find" error can indicate that the folder was deleted in the repository (CVS does not support directory versioning, so people change the repository directly). If this is the case, just remove that directory (or even its parent directory) and update your sand box.

- Alexey.

Alan Andrade wrote:
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to