Compiling *.java at runtime with Ant

Discussion in 'Java' started by LukaszP, May 10, 2006.

  1. LukaszP

    LukaszP Guest

    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
     
    LukaszP, May 10, 2006
    #1
    1. Advertising

  2. LukaszP

    Guest

    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


    LukaszP wrote:
    > 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
     
    , May 10, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chris Bedford
    Replies:
    6
    Views:
    2,272
  2. Replies:
    1
    Views:
    3,907
    Thomas Åhlén
    Nov 5, 2004
  3. john martin
    Replies:
    2
    Views:
    2,243
    john martin
    Apr 7, 2005
  4. Replies:
    1
    Views:
    540
    Larry
    Mar 7, 2006
  5. Replies:
    6
    Views:
    901
Loading...

Share This Page