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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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