OK, so it look like possible in one way or another to run it using Ant
java classes but what about classloader ? If the launch build contain
a javac task, will all the parsed/compiled classes be loaded in the
main JVM ?
If yes, the memory will grow and grow, isn't it ?
Does it change somethi
Here are the classes. The entry point is main() in
com.byrden.ant.launch.DavesAntLauncher
This is just a launcher, like the existing ANT launcher, and you
must specify the "main" class you want it to use, via a command
line option:
-maincom.byrden.ant.launch.DavesMain
Also feed it
Hi Robert,
Thanks, I'll have a look right now :-)
On Sep 25, 2009, at 19:18 , robert lazarski wrote:
On Fri, Sep 25, 2009 at 1:17 PM, Jean-Baptiste BRIAUD -- Novlog
wrote:
Hi,
I'd like to launch an Ant build from Java (from a servlet in a Tomcat
server).
What would you advise me to do that
Hi David,
Thanks for your answer, sure I'm interested !
On Sep 25, 2009, at 19:45 , David Byrden wrote:
Jean-Baptiste:
I raised this as bug 47854:
https://issues.apache.org/bugzilla/show_bug.cgi?id=47854
I can now run Ant via its launcher, simulating the command line
with a string paramete
Manipulierbarkeit von E-Mails koennen wir keine Haftung
fuer den Inhalt uebernehmen.
> Date: Fri, 25 Sep 2009 19:45:01 +0200
> To: user@ant.apache.org
> From: cons...@byrden.com
> Subject: Re: Launch Ant build from Java
>
>
> Jean-Baptiste:
>
> I raised this as bug 47854:
>
Jean-Baptiste:
I raised this as bug 47854:
https://issues.apache.org/bugzilla/show_bug.cgi?id=47854
I can now run Ant via its launcher, simulating the command line
with a string parameter, but I have to add 2 classes. Do you want
them?
David
-
BYRDEN.COM
David
On Fri, Sep 25, 2009 at 1:17 PM, Jean-Baptiste BRIAUD -- Novlog
wrote:
> Hi,
>
> I'd like to launch an Ant build from Java (from a servlet in a Tomcat
> server).
>
> What would you advise me to do that ?
> Should I launch it from OS using exec or should I try to use Ant classes
> from my own class
Hi,
I'd like to launch an Ant build from Java (from a servlet in a Tomcat
server).
What would you advise me to do that ?
Should I launch it from OS using exec or should I try to use Ant
classes from my own classes ?
At first sight, I see the main class has a private method run so it is
no