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: cvs add
Date Wed, 14 Jun 2006 19:40:35 GMT
You can put CVSROOT as -d option instead of using environment variable.

- Alexey.

Asensio, Rodrigo wrote:
> Here is the code to import into a custom module into cvs with a ANT
> task.
> Thanks
>
> You have to have CVSROOT into your env variables before this.
>
> 	<target name="commit">		
> 		<exec executable="cvs" dir="${branch.path}"
> failonerror="true">
> 		  <arg line="import -m 'initial add'
> branches/R20060613-MCS rasensio start"/>
> <!--		  	cvs import -m "initial add" branches/R20060613
> rasensio start 
> 			cvs co -d "R20060613-MCS" -P -A
> "branches/R20060613"   // if you want checkout into the same local
> because import does not do checkout -->
> 		</exec>
> 	</target> 
>
> -----Original Message-----
> From: Asensio, Rodrigo [mailto:rodrigo.asensio@gilbarco.com] 
> Sent: Wednesday, June 14, 2006 12:05 PM
> To: Ant Users List
> Subject: RE: cvs add
>
> Thanks guys.
> Very useful
>
> I will post here my complete code when I finish.
>
> -----Original Message-----
> From: Dominique Devienne [mailto:ddevienne@gmail.com]
> Sent: Wednesday, June 14, 2006 12:02 PM
> To: Ant Users List
> Subject: Re: cvs add
>
> On 6/14/06, Alexey N. Solofnenko <A.Solofnenko@mdl.com> wrote:
>   
>> I do not know why people are so fond of <cvs>&Co tasks. They are 
>> [usually] just wrappers over native command executors. In most cases a
>>     
>
>   
>> simple <exec> should be sufficient.
>>     
>
> Yep, I agree with Alexey.
>
> I was doing an <exec failonerror="true"> for my cvs update. --DD
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional
> commands, e-mail: user-help@ant.apache.org
>
>
> This message (including any attachments) contains confidential and/or
> proprietary information intended only for the addressee.  
> Any unauthorized disclosure, copying, distribution or reliance on the
> contents of this information is strictly prohibited and may constitute a
> violation of law.  If you are not the intended recipient, please notify
> the sender immediately by responding to this e-mail, and delete the
> message from your system.  If you have any questions about this e-mail
> please notify the sender immediately. 
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional
> commands, e-mail: user-help@ant.apache.org
>
>
> This message (including any attachments) contains confidential 
> and/or proprietary information intended only for the addressee.  
> Any unauthorized disclosure, copying, distribution or reliance on 
> the contents of this information is strictly prohibited and may 
> constitute a violation of law.  If you are not the intended 
> recipient, please notify the sender immediately by responding to 
> this e-mail, and delete the message from your system.  If you 
> have any questions about this e-mail please notify the sender 
> immediately. 
>
> ---------------------------------------------------------------------
> 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