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

Bug 516187

Summary: DotAttributeProcessor needs to Xtend 2.7.3 compatible, even if target contains higher Xtend version.
Product: [Tools] GEF Reporter: Alexander Nyßen <nyssen>
Component: GEF DOTAssignee: Alexander Nyßen <nyssen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0.0   
Target Milestone: 5.0.0 (Oxygen) M7   
Hardware: All   
OS: All   
Whiteboard:

Description Alexander Nyßen CLA 2017-05-04 11:15:37 EDT
The DotAttributeProcessor is implemented using Xtend. When switching the build target to an Oxygen-based target, the target contains Xtend 2.11 and the DotAttributesProcessor seems to be generated against Xtend 2.11. It then fails when being used to generate code for DotAttributes, because it used methods not available in 2.7.3. 

We should ensure the DotAttributeProcess is compatible with the lowest target version, independent of what is provided in the target.

Furthermore, we should switch our master CI build to build against the lowest target, so any Xtend generated code is still compliant to 2.7.3.
Comment 1 Alexander Nyßen CLA 2017-05-04 11:37:02 EDT
I re-implemented DotAttributeProcess in pure Java, so it is independent of Xtend. 

I further ensured the master build uses the Luna.target, so anything generated there is 2.7.3 compatible. I added specific jobs for the Mars, Neon, and Oxygen targets we intend to support.

Resolving as fixed in 5.0.0 M7.