<target name="init">
   <property name="MODNAME" value="myModule" />
    <delete dir="${MODNAME}" />
  </target>


<target name="cvsGrabTests" depends="init">
  <cvs CVSRoot=":pserver:cvsUser@cvsServer:/projectX/dev/cvs/repo"
       package="${MODNAME}"
       dest="."
  />
</target>


Anoop wrote:

> Hi all,
>         Am working with ant as a build tool. The task is to check out all the files
> in the CVS and build the files to create a jar. Can anyone please help me
> out with the peice of code in the build.xml of ant to check out the files
> from the CVS.
>         Thanking u all in advance.
> Thanks,
> Anoop.


Reply via email to