Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 431681

Summary: Ensure gef-master and gef4-master compile with BREE-settings.
Product: [Tools] GEF Reporter: Alexander Nyßen <nyssen>
Component: RelEngAssignee: Alexander Nyßen <nyssen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 431412    

Description Alexander Nyßen CLA 2014-04-01 01:50:00 EDT
As our bundles provide different BREE-settings we will have to make sure these are respected by tycho during build as well. It seems, a toolchains.xml file has to be used for this purpose (see http://eclipse.org/tycho/sitedocs/tycho-compiler-plugin/compile-mojo.html), which seems to be available for hudson.eclipse.org (#390334).
Comment 1 Alexander Nyßen CLA 2014-04-07 11:31:12 EDT
Added useJDK=BREE entry in pom.xml in case hudson.eclipse.org profile is enabled. 

Fixed implementation of org.eclipse.zest.tests.IFigureProviderTests does not use non JDK-1.4 string operations.
Comment 2 Alexander Nyßen CLA 2014-04-08 11:51:30 EDT
It seems, we have to add a compiler warning to suppress illegal argument exceptions that result from importing javafx packages, when using the BREE option. However, having added this, the gef4-master build also seems to use it properly.
Comment 3 Zoltan Ujhelyi CLA 2014-04-08 12:16:34 EDT
It seems, Zest now works on Java 1.6. Thanks.
Comment 4 Alexander Nyßen CLA 2014-04-09 11:16:04 EDT
A question that came to my mind in this context: do we want to use J2SE-1.6 as a lower bound for all our projects, or try to target the lowest possible BREE (gef4.graph would for instance work with 1.5, while 1.6 is used there)? With Luna, platform seems to require 1.6.