Compiling *.java at runtime with Ant

L

LukaszP

Hi
Can anyone tell me if there is a way to compile *.java files at runtime
using Ant ? I get *.java files from WSDL using Wsdl2javaAntTask and now have
to compile them, but I don't know how :/.
Regards
 
N

nkalagarla

You can use javac task to compile the generated java files from
wsdl2java task, specify the output directory of wsdl2java task as
srcdir for javac task. javac task should be specified after wsdl2java
task as javac depends on the java files generated from wsdl2java.

Thanks,
Rao
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top