got another solution : just call the main method ( in class org.apache.tools.ant.Main) 
wich is a static method (as any) from the java code
thanx

-----Message d'origine-----
De:     Raphaele Giordan [SMTP:[EMAIL PROTECTED]]
Date:   jeudi 18 juillet 2002 10:05
A:      'Ant Users List'
Objet:  Launching ant from inside java code

hi,
is there a way to launch ant inside java code without launching a separate JVM ?
I tried to do so but I was unable to call the Main class constructeur as it is 
protected.
raphaele


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to