| Summary: | tycho-compiler cannot handle JavaSE-1.8 execution environment | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Fabian Schöppl <spp> | ||||||
| Component: | Tycho | Assignee: | Project Inbox <tycho-inbox> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | david_williams, jan.sievers, mistria, seifermann, stephan.herrmann, thanh.ha | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Fabian Schöppl
Created attachment 241164 [details]
Building this bundle via maven reproduces the error shown in this bug
The "keys" you might be missing are <cbi-jdt-repo.url>https://repo.eclipse.org/content/repositories/eclipse-staging/</cbi-jdt-repo.url> <cbi-jdt-version>3.10.0.v20140316-0146</cbi-jdt-version> This is a Java 8 capable JDT compiler from an I-build, and it itself will be temporary, but not sure when we'll remove it ... certainly before "Luna release" ... perhaps after M7? But if it helps you for now, you are welcome to it. If you don't understand how those "fit in" to the whole process/configuration, you can probably figure it out by looking in platform parent pom: http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/tree/eclipse-platform-parent/pom.xml HTH FYI, I opened bug 431014 to help remind me of which "old" versions of the compiler to remove before release ... if timing is critical for you, you might want to follow it, so you'll know when its "going away". (In reply to David Williams from comment #3) > FYI, I opened bug 431014 to help remind me of which "old" versions of the > compiler to remove before release ... if timing is critical for you, you > might want to follow it, so you'll know when its "going away". Thank you very much! I am going to follow it. the JavaSE-1.8 execution environment was fixed in 0.20.0 already with bug 426692 The error you are seeing is due to JDT compiler not being capable of Java 8 source/target features yet. JDT compiler update has been requested with bug 430986 so I'm closing this as duplicate. *** This bug has been marked as a duplicate of bug 430986 *** (In reply to David Williams from comment #2) > The "keys" you might be missing are > > > <cbi-jdt-repo.url>https://repo.eclipse.org/content/repositories/eclipse- > staging/</cbi-jdt-repo.url> > <cbi-jdt-version>3.10.0.v20140316-0146</cbi-jdt-version> > > This is a Java 8 capable JDT compiler from an I-build, and it itself will be > temporary, but not sure when we'll remove it ... certainly before "Luna > release" ... perhaps after M7? > > But if it helps you for now, you are welcome to it. > > If you don't understand how those "fit in" to the whole > process/configuration, you can probably figure it out by looking in platform > parent pom: > > http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/ > tree/eclipse-platform-parent/pom.xml > > HTH Yes, adding this keys and updating the jdt depenency for the tycho-compiler-plugin does the trick (for now)! I've attached the updated pom.xml file. Created attachment 241179 [details]
Updated pom.xml which uses latest JDT
|