Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cbi-dev] Building with bree-libs causes a problem in org.eclipse.jdt.compiler.tool

When building with -Pbree-libs (no signing or packing) on my computer the build dies with:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.16.0-SNAPSHOT:compile (default-compile) on project org.eclipse.jdt.compiler.tool: Compilation failure: Compilation failure:
[ERROR] /opt/pwebster/git/cbi/r4/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/src/org/eclipse/jdt/internal/compiler/tool/ArchiveFileObject.java:[0,0]
[ERROR] /*******************************************************************************
[ERROR] ^
[ERROR] The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files
[ERROR] /opt/pwebster/git/cbi/r4/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.compiler.tool/src/org/eclipse/jdt/internal/compiler/tool/ArchiveFileObject.java:[36,0]
[ERROR] public class ArchiveFileObject implements JavaFileObject {
[ERROR] ^^^^^^^^^^^^^^^^^
[ERROR] The hierarchy of the type ArchiveFileObject is inconsistent
[ERROR] 2 problems (2 errors)


This bundle is one of the few with a BREE of JavaSE1.6.  My toolchain.xml is correct and points to IBM JVMs for 1.4, 1.5. and 1.6.  After I got this error the first time, I deleted my localRepo and re-ran the build with the same result.

PW


--
Paul Webster
Hi floor.  Make me a sammich! - GIR

Back to the top