Menu

Ant problem

Developers
2013-09-04
2013-09-05
  • Alexandre Locci Martins

    I have started to work with recoder and I need to compile recoder with some
    changes in the source code.
    I am running ant command but it is not working. I am sending attachment my
    output file.
    Can anyone help me?

     
  • Tobias Gutzmann

    Tobias Gutzmann - 2013-09-05

    Hi,

    There's no attachment but I think the problem is that ant uses javac for compiling. Unfortunately, javac has or had some bugs that prevent Recoder from compiling, a short description can be found here: https://sourceforge.net/apps/mediawiki/recoder/index.php?title=FAQ#Problems_using_javac
    What JDK are you using? If possible, try with a recent Java 7 JDK. If the problem persists, please use eclipse or try using the eclipse compiler from ant (see for example here: http://owenou.com/2009/11/18/running-eclipse-java-compiler-with-ant.html - note that I haven't actually tried it, though).
    Note also that the ant-file hasn't been maintained for a while due to the aforementioned bug in javac, so there may be different issues. I can give it a look this weekend.

    Regards,
    Tobias

     

Log in to post a comment.