ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "OpenLDAP User" <openl...@dealraider.com>
Subject Re: Sub-Target
Date Tue, 01 Mar 2005 19:31:50 GMT
You can use antcall

Or, better, you can do this with dependencies. If target2 depends on
target1 being executed first, then add target1 to the depends list
attribute of target2.

> Hi,
> How can I call a target in a target?
> Example:
> 	<target name="target1" ...>
> 	   ...
> 	</target>
> 	<target name="target2" ...>
> 	   ---> how calling 'target1' here?
> 	</target>
> Please some help
> TIA
> Willy
> 
> 
> ---------------------------------------------------------------------
> 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