This is a dev question and you'll have more luck directing it to
[EMAIL PROTECTED] Also, there is a GUI effort underway in the Ant CVS
tree called Antidote. I'm sure they have code to do some of what you
describe.
K.C.
> -----Original Message-----
> From: Kevin Cummings [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 13, 2000 5:23 PM
> To: [EMAIL PROTECTED]
> Subject: Running ANt files from Java code
>
>
> Does anybody out there know the best way to integrate Ant into a Java
> application? I am generating a build file dynamically and
> when I'm done I
> need to execute the script. I thought the best way to
> accomplish this would
> be to tie directly in to the Ant code but I can't find a
> method that I can
> call to get all of the necessary events and objects needed to
> successfully
> run the build. Also, I need to redirect the output of the build to a
> JTextArea within our Application.
>
> TIA,
>
> Kevin Cummings
> Mongoose Technology
> Java Developer
> 281-461-0099 ext. 105
> [EMAIL PROTECTED]
>