Nicolas Girard <[EMAIL PROTECTED]> writes:
> Hi,
> I'd like to have cvs work just like it does at the command line:
> prompt$ cvs checkout -d . my_module
> cvs checkout: Updating .
> U my_module/src
> U my_module/src/redame.txt
> this creates src in .
>
> But with the supposed equivalent in ant:
> --snip-- basedir="." --snip--
> <cvs cvsRoot="${cvs.root}" dest="${basedir}" package="my_module"/>
This ant snippet is equivalent to:
cd ${basedir} && cvs checkout -d ${cvs.root}
To do what you say you want, use:
<cvs cvsRoot="${basedir}" package="my_module"/>
The -d option to cvs redefines the cvs root, and overrides the
$CVSROOT environment variable.