launching ant tasks in my java applications
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   laurent_chades
Posted On:   Wednesday, November 13, 2002 01:59 AM

Is it possible to launch ant tasks in my java code ? I need to write a GUI based application to launch code deployement.

Thanks

Re: launching ant tasks in my java applications

Posted By:   Erik_Hatcher  
Posted On:   Thursday, November 14, 2002 12:09 AM

Sure. Have a look at Ant's own source code, which is just a Java application. It can be a little fiddly to use the tasks standalone in some cases, but its quite simple once you get the hang of it.


In fact, my book (chapter 19, specifically) has code that does this when writing custom Ant tasks and reusing an Ant task as an encapsulated object.


Which task(s) did you want to reuse?

About | Sitemap | Contact