ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Bretin <si...@anyware-tech.com>
Subject Re: Ant Task
Date Tue, 19 Aug 2003 06:19:15 GMT
Hi Andrei,

More information of what you want to achieved would be interesting ...

You basically need to derivate a Java class from 
org.apache.tools.ant.Task and mainly implement the execute() method.

Then in your build.xml file, you need to define that new task via the 
taskdef tag :
  <taskdef name="mytask" classname="com.company.MyTask"/>

You can then use the <mytask/> element anyware within your build.xml file.

Hope this gives you some pointers ...

Simon.


Andrei wrote:

>        Can you help me Creating an Ant Task?
>
>  
>


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


Mime
View raw message