ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vijay Aravamudhan <avij...@gmail.com>
Subject Re: Inheriting tasks?
Date Tue, 19 Feb 2008 16:30:42 GMT
are you referring to tasks or targets? I think what you want to find out 
abt is a target.
If its a target, then you can use the <import/> task to import common 
definitions of tasks, properties, etc.

hth,
Vijay

jpyork wrote:
> I know you can inherit properties, but can you do this with tasks also?  I am
> trying to make a generic script, so say I have 5 scripts that all do the
> task "init" that deletes a classes folder and recreates it.  Is there a way
> I can create a master file and put this task in the master file and have it
> run when all the child scripts are run?
>   

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


Mime
View raw message