ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Toop <sdt...@cm-logic.com>
Subject RE: How do I use clearcase commands from ant?
Date Tue, 18 May 2004 20:13:25 GMT
Hi,

We at CM-Logic implemented the last round of ClearCase enhancements to ANT found in 1.6.1.

If the command you are looking for is not on the ClearCase task list then you can either use
the <exec> option, write your own task or we would be willing to write it for you.

Just send us a list of what you need and we'll look at doing them.

CM-Logic specialises in ClearCase integrations and extensions.

Hope this helps

Regards
Steve Toop

On Tue, 18 May 2004 20:02:10 +0000, sudheshna aaa wrote:
> Also if the run the exec command that you have provided, I am
> getting:
>
>
> C:\Sireesha\Build>ant -buildfile  testExec.xml
> Buildfile: testExec.xml
>
>
> TestExec:
> [exec] cleartool: Error: Cannot determine view context. [exec]
> cleartool: Error: Unable to rebase.
>
>
> BUILD FAILED
>
>
> Thank you for your help!
>
>
>> From: "sudheshna aaa" <sudheshna@hotmail.com>
>> Reply-To: "Ant Users List" <user@ant.apache.org>
>> To: user@ant.apache.org
>> Subject: RE: How do I use clearcase commands from ant?
>> Date: Tue, 18 May 2004 19:49:51 +0000
>>
>>
>> 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
>>>
>>>
>>> _________________________________________________________________ Expr
>>> ess 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
>>
>
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar – get it now!
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>
>
> --------------------------------------------------------------------
> - To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------------------------
Stephen Toop			sdtoop@cm-logic.com
CM-Logic Ltd			DDI: +44 (0)1635 867391
Merlin House			Mobile: +44 (0)7860 364311
Brunel Road			Main: +44 (0) 1189026947
Theale				    Fax: +44 (0)1635 860022
Berkshire
RG7 4AB
URL: www.cm-logic.com
IBM PartnerWorld for Developers Member
IBM PartnerWorld for Software Member
RDN - ClearQuest Discussion Facilitator
---------------------------------------------------------------------------------------


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


Mime
View raw message