ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Solofnenko <trel...@gmail.com>
Subject Re: Help Running Ant Task from my Custom Task (xmltask)
Date Thu, 18 Aug 2005 19:50:09 GMT
no, getProject().createTask("xmltask").

Because <presetdef> can overwrite any task, it is now recommended to
create the tasks with "new", otherwise the cast may not always work.

- Alexey.

On 8/18/05, koden (sent by Nabble.com) <lists@nabble.com> wrote:
> 
> so how would I create a new task?
> 
> XmlTask xml_task = getProject(); //?
> 
> that looks really weird.  pllease help!
> --
> Sent from the Ant - Dev forum at Nabble.com:
> http://www.nabble.com/Help-Running-Ant-Task-from-my-Custom-Task-%28xmltask%29-t235448.html#a658936
> 
> 


-- 
Alexey N. Solofnenko trelony at gmail.com
home: http://trelony.cjb.net/
Pleasant Hill, CA (GMT-8 hours usually)

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


Mime
View raw message