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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to