
Here's what I did to reproduce the error:ĭownloaded the Janino 2.6.1 distribution. It's possible that some of the options we use are contributing to the problem. I attached a custom build.xml that mimics the build setup we use at our site, but has been simplified to focus on this issue. If I can come up with a more concise test case I'll post a follow-up. This could be related to something in our build environment here, and I'm continuing to investigate when time permits. Apologies if this is not a legit problem. I posted to the forum and got a lot of views, but no responses. All subsequent build attempts succeed.įWIW javac did not have a problem with it. If I ant clean, then ant again, the problem comes back, but again only for the first build attempt. I thought this might be related to compiling multiple files at once, but after the build has failed the first time I can touch package-info.java plus any additional combination of files inside that package and it still builds ok. However, if I touch the package-info.java file, then re-run ant, it compiles the file ok. The type package-info is already defined ERROR in /disk2/usr/local/ZedaSoft/rhatcher/prj-main/ZedaSoft/Java/ThirdParty/Janino/main/src/org/codehaus/commons/compiler/package-info.java (at line 1)

Compiling 97 source files to /usr/local/ZedaSoft/rhatcher/BuildOutput-main/ZedaSoft/Java/ ThirdParty/Janino/1.0/classes The author includes a package-info.java in one of the packages. I was attempting to build version 2.6.1 of the open-source Janino project ( ) on Fedora 7 using the 3.6 ecj compiler and ant. The Build ID I provided is the Bundle-Version in the ecj jar's MANIFEST.MF file.

This problem was observed with ecj standalone, outside the IDE.
