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

Bug 321650

Summary: Add project specific compiler settings
Product: [Modeling] Graphiti Reporter: Karsten Thoms <karsten.thoms>
Component: CoreAssignee: Michael Wenz <michael.wenz>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: michael.wenz
Version: 0.7.0Flags: michael.wenz: iplog+
Target Milestone: 0.7.0   
Hardware: All   
OS: All   
Whiteboard:

Description Karsten Thoms CLA 2010-08-03 15:59:22 EDT
When importing the Graphiti plugins into a workspace with Java 1.5 by default the @Override annotations for interface method implementations are marked as error. Of course this could be resolved by changing the workspace setting, but this would not be necessary when project specific settings are enabled and stored.
This happens for the plugins
- org.eclipse.graphiti
- org.eclipse.graphiti.examples.common
- org.eclipse.graphiti.ui

To change this open the project settings, "Java Compiler" settings. Then check "Enable project specific settings" and "Use compliance level from execution environment 'JavaSE-1.6' on the Java Build Path".

Check in the ./settings/org.eclipse.jdt.core.prefs file.
Comment 1 Michael Wenz CLA 2010-08-11 04:12:45 EDT
I set the compliance level as described by Karsten and checked in the settings file for all Graphiti projects

-Michael
Comment 2 Michael Wenz CLA 2010-09-08 09:44:42 EDT
Added version and target milestone
Comment 3 Michael Wenz CLA 2010-10-07 03:07:52 EDT
Part of 0.7.0 release