K.C.,
Thanks for the response.. I've solved my problem but it's
certainly not what I would describe as a good solution. Thanks for pointing
me in the right direction..
-- Kevin
At 01:22 PM 12/14/00 -0500, you wrote:
>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]
> >
Kevin Cummings
Mongoose Technology
Java Developer
281-461-0099 ext. 105
[EMAIL PROTECTED]