I don't know about the CVS tasks, but for ClearCase there isn't any
straightforward way of doing this.  You'd either have to write your own task
or invoke cleartool through <exec> or <apply>.  Depending on how robust your
operations have to be (e.g. precondition checking, rollback) it can be quite
easy or a lot of work to implement your own tasks.

I have been working for some time on ClearCase tasks for this kind of thing,
but I haven't finished anything yet.

If you decide to write your own tasks for ClearCase you should also take a
look at what has been done in the CVS repository under
proposal/sandbox/clearcase.

--
knut

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Dienstag, 11. Juni 2002 11:16
> To: [EMAIL PROTECTED]
> Subject: Checkin/Checkout the whole tree with ClearCase or CVS
> 
> 
> Hello.
> 
> How can one checkin/checkout the whole tree with ClearCase or 
> CVS tasks?
> The straighforward solution is to use the filesets.
> 
>   <target name="co">
>     <cccheckout reserved="false"
>                 nowarn="true"
>                 comment="hallo">
>       <!-- Java -->
>       <fileset dir="${dir.src}/java"
>                includes="Component*.java"/>
>       <!-- Cpp -->
>       <fileset dir="${dir.src}/cpp"
>                includes="Component*.?pp"/>
>       <!-- Test -->
>       <fileset dir="${dir.src}/cpp/test"
>                includes="Component*.?pp"/>
>       <!-- Documentation -->
>       <fileset dir="${dir.doc}/"
>                includes="Component*.html, Component*.txt"/>
>     </cccheckout>
>   </target>
> 
> But if I understood right, it isn't possible.
> It there any trick?
> 
> Thank you in advance.
> David Ostrovsky
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to