ant-user mailing list archives

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

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...)

Regards.

----- Original Message -----
From: "Ulrich Winter" <ulrich.winter@100world.com>
To: <ant-user@jakarta.apache.org>
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
via
> the -d flag.
> This avoids deep directory structures in the workarea if I want to get
only
> 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
>
>
>


Mime
View raw message