dcsimg
Is it possible to call Ant from within my jvm space ?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   kirby_kim
Posted On:   Friday, July 12, 2002 03:00 PM

How can I call ant from within my java class ?
I'd rather not start a shell and run ant in the shell.

Basically, I want to use ant to parse the build file using my custom task definitions.

Thanks in advance.

KHK

Re: Is it possible to call Ant from within my jvm space ?

Posted By:   Anonymous  
Posted On:   Thursday, July 18, 2002 02:02 AM

You can start ant from java. 1) call org.apache.tools.ant.Main.main() 2) a detailed description is the implementation of -Task org.apache.tools.ant.taskdefs.Ant.java.


Not tested.
About | Sitemap | Contact