bug #6539
closedBuild problems for taxeditor post 4.6 release
100%
Description
There were and still are several problems with the building the taxeditor. Some of them have to do with the switch to Java 8
This ticket should be used to solve them and also collect the information what has been done so far.
Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.8
It seems like this happens because we still build against Eclipse indigo and its osgi plugin cannot handle Java 8 (http://stackoverflow.com/questions/24669940/java-8-missing-required-capability-require-capability-osgi-ee-filter-osg)
Scenarios I tried:
- setting the Bundle-RequiredExecutionEnvironment to 1.7 ** fixes the problem but we already make use of Java 8 syntax which then causes the maven compiler to fail.
- Completely deleting Bundle-RequiredExecutionEnvironment ** lets the compiler fail due to Java 1.6 syntax like e.g. <>
- only for Eclipse workspace: Removing the old (indigo) osgi plugin from the target platform lets the editor start from the workspace with Bundle-RequiredExecutionEnvironment 1.8
A zip file cannot include itself
This happened when increasing the tycho version to 1.0.0
- SOLVED: by deleting
output.. = bin/
from build.properties
Missing requirement ... org.eclipse.objectteams.otdt.core.patch.feature.group
- SOLVED: by adding the feature org.eclipse.jdt instead of the plugins (see https://dev.eclipse.org/mhonarc/lists/tycho-user/msg03128.html)
Missing requirement (general)
- Use features instead of plugins
Related issues
Updated by Patrick Plitzner over 6 years ago
- Related to feature request #4452: p2 update problem with nebula compositetable dependency added
Updated by Andreas Müller over 6 years ago
- Status changed from New to In Progress
- Priority changed from New to Highest
- Target version changed from Unassigned CDM tickets to Release 4.7
Updated by Patrick Plitzner over 6 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
Ticket can be closed. The whole build pipeline works fine after migration to eclipse 4.