ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: Running a ant task from Java Class
Date Fri, 04 Jun 2004 06:08:38 GMT
Depends on the task. Easiest way is to instantiate a task, use its setters
for setting the
<task attributes/> and call execute().

Have a look at the test classes. Find one which does not extend
BuildFileTest then you´ll find
examles about that.


Jan


> -----Original Message-----
> From: Sumeet Luthra [mailto:sumeetl@solutionsny.com]
> Sent: Friday, June 04, 2004 6:18 AM
> To: dev@ant.apache.org
> Subject: Running a ant task from Java Class
> 
> 
> hi,
>  
> I have a situtaion where i need to call an ANT task from with 
> in a java class.
>  
> I would like to know how this can be done.
> 
> -Sumeet 
> 
>  
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message