ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurent Etiemble" <>
Subject Re: ANT's cvs task: how to avoid deep path hierarchies?
Date Thu, 14 Dec 2000 08:59:38 GMT

As far as I know (Ant 1.2), it is not possible to set a such option for the
cvs checkout command. So if you want to use the -d option of the cvs
checkout command, you have to write some code in the CVS task in order to
make it.
In Ant 1.2, you can have :
* global-options :
    -d for the CVSROOT
    -n for the nop mode
    -q for the quiet mode
* command-options :
    -r for the revision/tag
    -D for the date
(Maybe I'm forgetting some...)


----- Original Message -----
From: "Ulrich Winter" <>
To: <>
Sent: Wednesday, December 13, 2000 8:43 PM
Subject: ANT's cvs task: how to avoid deep path hierarchies?

> Using cvs directly I can specify the destination directory of a checkout
> the -d flag.
> This avoids deep directory structures in the workarea if I want to get
> a part of the repository.
> for example the command
> cvs checkout -d work some/deep/repository/hierarchy
> would create a directory work which contains the files located in the
> repository under some/deep/repository/hierarchy
> I tried the cvs task with the dest attribute like the following:
>         <cvs
>             cvsRoot="${cvsroot}"
>             dest="work"
>             package="some/deep/repository/hierarchy"
>         />
> But in the above example I get the structure
> work/some/deep/repository/hierarchy/....
> Is there a way to get the same results with ANT as with the above cvs
> command ?
> Regards,
> Ulrich

View raw message