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]> >
CCCheckout.java
Description: JavaScript source
CCCheckin.java
Description: JavaScript source
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
