ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sudheshna aaa" <sudhes...@hotmail.com>
Subject RE: How do I use clearcase commands from ant?
Date Tue, 18 May 2004 19:49:51 GMT
Thank you. We are trying to put all the executable commands in a bat file 
and run the bat file.

Is this a good idea?

How do I run a bat file from ant?


>From: "Daniels, Doug" <Doug.Daniels@gdc4s.com>
>Reply-To: "Ant Users List" <user@ant.apache.org>
>To: Ant Users List <user@ant.apache.org>
>Subject: RE: How do I use clearcase commands from ant?
>Date: Tue, 18 May 2004 15:19:33 -0400
>
>I don't think there is a way to run any arbitrary clearcase commands just 
>the tasks that are defined in the optional clearcase ant tasks:
>http://ant.apache.org/manual/OptionalTasks/clearcase.html
>
>So if it's not listed there you could try using the <exec> task:
>http://ant.apache.org/manual/CoreTasks/exec.html
>
>Something like:
>	<exec executable="cleartool" failonerror="true">
>           <arg value="rebase" />
>           <arg value="-recommended"/>
>	</exec>
>
>Or write your own custom Ant task to do it. Good luck hope that helps
>
>Doug Daniels
>GENERAL DYNAMICS
>C4 Systems
>
>-----Original Message-----
>From: sudheshna aaa [mailto:sudheshna@hotmail.com]
>Sent: Tuesday, May 18, 2004 2:24 PM
>To: user@ant.apache.org
>Subject: How do I use clearcase commands from ant?
>
>
>Hi,
>
>How do I use clearcase commands from ant?
>For eg: I want to run
>
>cleartool rebase -recommended
>
>Thank you
>
>SD
>
>_________________________________________________________________
>Express yourself with the new version of MSN Messenger! Download today -
>it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfeeŽ 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message