Community
Participate
Working Groups
Created attachment 232624 [details] end of log showing resolution errors I was trying a test build, and saw the build fail ... I don't think the failure was related to my tests ... but, lots has been changing ... JRE's, etc, so could be due to lots of things .... but, thought I'd post here, in case looks familiar to anyone.
The MANIFEST.MF file was changed to require J2SE-1.5, but the pom.xml will has custom build section that says execution environment should be J2SE-1.4. I'd just delete that entire <build> section in its POM. Should no longer be required. (Also, I'd update to .settings to be more in line with typical J2SE-1.5 settings ... they still specify 1.4 source and 1.2 class files. Both should be 1.5 now.
Created attachment 232626 [details] patch for jface Sorry, meant to attach patch mentioning JFace is the problematic bundle.
The original bug for this change in JFace is bug 395213.
Sorry David for missing that. We should have tried a local build before, thanks for patching that.
Bug 395213 is fixed now. Please give the build another try.
If I run a local build I get a similar error in org.eclipse.equinox.p2.core [INFO] --- tycho-compiler-plugin:0.18.0:compile (default-compile) @ org.eclipse.equinox.p2.core --- [WARNING] Effective compiler target 1.5 is incompatible with OSGi profile 'CDC-1.1/Foundation-1.1' { source level: 1.3, target level: 1.2} @ MavenProject: org.eclipse.equinox:org.eclipse.equinox.p2.core:2.3.0-SNAPSHOT @ /home/vogella/platform/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/org.eclipse.equinox.p2.core/pom.xml [INFO] ------------------------------------------------------------------------
If I remove "CDC-1.1/Foundation-1.1" from the MANIFEST.MF of org.eclipse.equinox.p2.core I get the following error: [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.18.0:compile (default-compile) on project org.eclipse.equinox.p2.core: useJDK = BREE configured, but no toolchain of type 'jdk' with id 'J2SE-1.5' found. See http://maven.apache.org/guides/mini/guide-using-toolchains.html -> [Help 1]
Lars I think your build issues are related bug 409790. The poms in p2 repo now require us to configure a toolchains.xml file.
The contradictory pom setting has been fixed.
What was the final resolution of this bug? I searched for 411321 in the git log in eclipse.platform.ui and can't find a commit. PW
I think commented with bug 395213 ... git log --grep 395213 --full-diff -p -- bundles/org.eclipse.jface/pom.xml (which, had a few other changes with the removal of the <build> section in pom).