eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[oclinecore] Avoid loss of GenModel Annotation bodies #1259

Closed eclipse-ocl-bot closed 2 hours ago

eclipse-ocl-bot commented 2 hours ago

| --- | --- | | Bugzilla Link | 425506 | | Status | RESOLVED FIXED | | Importance | P3 normal | | Reported | Jan 12, 2014 12:56 EDT | | Modified | Jun 16, 2014 11:05 EDT | | Blocks | 437029 | | Reporter | Ed Willink |

Description

OCLinEcore editor currently discards a genmodekl body. e.g.

<?xml version="1.0" encoding="UTF-8"?>\ <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\ xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="p">\

\ \ \
\
\ \ \ \ Looks like a simple test in Ecore2Piviot to see if GenModel annotation has more than documentation can switch to dumb transparent annotation processing.
eclipse-ocl-bot commented 2 hours ago

By Ed Willink on Jan 12, 2014 13:29

Basic fix and JUnit test for submitted example pushed to edw/425506.

Probably needs more work for a body of an invariant.

Generally the code has too many different if DOCUMENTATION_ANNOTATION_KEY tests. Needs some refactoring.

eclipse-ocl-bot commented 2 hours ago

By Ed Willink on Jun 16, 2014 11:05

(In reply to Ed Willink from comment #1)

Probably needs more work for a body of an invariant.

This was added a day after the comment.

Fixed in Luna.