ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Sutic" <leo.su...@inspireinfrastructure.com>
Subject Using tasks in composition
Date Mon, 16 Sep 2002 11:04:55 GMT
I was adviced to use composition rather than inheritance when 
extending the existng tasks in Ant. Basically, instead of extending
the Ant class, create an instance of it and use it in my own
task that inherits directly from Task.

The problem is that the initialization process is not done by the
createTask method in Project.

Is there a helper class for this?

/LS


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message