ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Sutic" <>
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?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message