ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <A.Solofne...@mdl.com>
Subject Re: How do I use clearcase commands from ant?
Date Tue, 18 May 2004 20:32:26 GMT
I only guess from the error message, that the current directory not in 
the view.

<exec executable="cleartool" failonerror="true" dir="view/dir/path">
<arg value="rebase" />
<arg value="-recommended"/>
</exec>

but it is better to put the build script into ClearCase, and the default 
"." will be in the view already.

- Alexey.

sudheshna aaa wrote:

> How do I specify that, can you please provide the command for the 
> following?
>
>>>>> <exec executable="cleartool" failonerror="true">
>>>>> <arg value="rebase" />
>>>>> <arg value="-recommended"/>
>>>>> </exec>
>>>>
>
> Thank you.
>
>
>> From: "Alexey N. Solofnenko" <A.Solofnenko@mdl.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 13:13:24 -0700
>>
>> You need to specify dir parameter.
>>
>> - Alexey.
>>
>> 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
>>>>>
>>>>> _________________________________________________________________
>>>>> 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
>>>>
>>>
>>> _________________________________________________________________
>>> 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
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>
> _________________________________________________________________
> Learn to simplify your finances and your life in Streamline Your Life 
> from MSN Money. http://special.msn.com/money/0405streamline.armx
>
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message