Project

General

Profile

bug #6539

Build problems for taxeditor post 4.6 release

Added by Patrick Plitzner over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Highest
Category:
taxeditor
Target version:
Start date:
03/23/2017
Due date:
% Done:

100%

Severity:
normal
Found in Version:

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

Missing requirement (general)

  • Use features instead of plugins

Related issues

Related to Edit - feature request #4452: p2 update problem with nebula compositetable dependency Closed 10/28/2014

Associated revisions

Revision 4e4e473c (diff)
Added by Patrick Plitzner over 1 year ago

ref #6539 remove Bundle-RequiredExecutionEnvironment

Revision 414662b3 (diff)
Added by Patrick Plitzner over 1 year ago

ref #6539 Fix build problems

  • set Bundle-RequiredExecutionEnvironment back to Java 1.8
  • Remove indigo osgi dependency from target platform

Revision b5d35767 (diff)
Added by Patrick Plitzner over 1 year ago

ref #6539 Set tycho version to 1.0.0

Revision 77bc4e69 (diff)
Added by Patrick Plitzner over 1 year ago

ref #6539 Fix taxeditor build (temporary)

  • disable macosx build
  • remove /bin folder from source generation (a zip cannot include itself)

Revision 2856f9d1 (diff)
Added by Patrick Plitzner over 1 year ago

ref #6539 Move to Eclipse 4 compatibility layer

  • adapt rcp.target and feature.platform
  • updated repositories in pom.xml
  • fixed some incompatibility compile errors

Revision 478a3f10 (diff)
Added by Patrick Plitzner over 1 year ago

ref #6539 Re-enable macosx build

Revision 3f56624d (diff)
Added by Patrick Plitzner over 1 year ago

ref #6539 define feature.platform by features instead of plugins

  • used mostly features in feature.xml

Revision 0da88583 (diff)
Added by Patrick Plitzner over 1 year ago

ref #6539 Remove linuxtools from target platform

Revision a1169a72 (diff)
Added by Patrick Plitzner over 1 year ago

ref #6539 Remove unused dependencies from target platform and feature

Revision fb8c579e (diff)
Added by Patrick Plitzner over 1 year ago

ref #6539 Remove unnecessary dependencies from platform feature

Revision b953b4f0 (diff)
Added by Patrick Plitzner over 1 year ago

ref #6539 Streamline dependencies

Revision a4254f30 (diff)
Added by Patrick Plitzner over 1 year ago

ref #6539 Remove unnecessary dependencies from platform feature

History

#1 Updated by Patrick Plitzner over 1 year ago

  • Description updated (diff)

#2 Updated by Patrick Plitzner over 1 year ago

  • Description updated (diff)

#3 Updated by Patrick Plitzner over 1 year ago

  • Description updated (diff)

#4 Updated by Patrick Plitzner over 1 year ago

#5 Updated by Patrick Plitzner over 1 year ago

  • Description updated (diff)

#6 Updated by Patrick Plitzner over 1 year ago

  • Description updated (diff)

#7 Updated by Patrick Plitzner over 1 year ago

  • Description updated (diff)

#8 Updated by Andreas Müller over 1 year 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

#9 Updated by Patrick Plitzner over 1 year 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.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)