Ludovic,
I hacked the ant code too. I dint't realized, that there is no a
straightforward way to resolve this problem.
Here is my solution: I packed the similar code in the base class:
ClearCase.java
and only the call in another classes (the changes in CCCCheckin.java and
CCCUpdate.java are similar):
(See attached file: ClearCase.java)(See attached file: CCCheckout.java)
The question is to merge this functionality into the main Ant code.
David Ostrovsky
"Ludovic Claude"
<ludovic_claude@ho An: "Ant Users List"
<[EMAIL PROTECTED]>
tmail.com> Kopie:
Thema: Re: Checkin/Checkout the whole
tree with ClearCase or CVS
11.06.02 15:58
Bitte antworten an
"Ant Users List"
Here are some extensions to the clearcase tasks that i wrote some time ago.
You can use then by compiling them and adding
<taskdef name="cccheckout"
classname="org.wipo.tools.buildmagic.task.CCCheckout"/>
<taskdef name="cccheckin"
classname="org.wipo.tools.buildmagic.task.CCCheckin"/>
It would be nice to merge the additional functionality into the main Ant
code, but i don't have time to prepare a nice patch right now, maybe next
week i'll do it.
Ludovic
----- Original Message -----
From: "Wannheden, Knut" <[EMAIL PROTECTED]>
To: "'Ant Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 1:24 PM
Subject: RE: Checkin/Checkout the whole tree with ClearCase or CVS
> 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]
>
>
(See attached file: CCCheckout.java)(See attached file: CCCheckin.java)--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
ClearCase.java
Description: Binary data
CCCheckout.java
Description: Binary data
CCCheckout.java
Description: Binary data
CCCheckin.java
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
