Bug 268974 - The javadoc and annotations for the whole classes are generated as simple comments
Summary: The javadoc and annotations for the whole classes are generated as simple com...
Status: RESOLVED DUPLICATE of bug 254998
Alias: None
Product: EMF
Classification: Modeling
Component: Core (show other bugs)
Version: 2.4.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-17 09:45 EDT by Aleksandar Shterev CLA
Modified: 2009-03-17 09:55 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksandar Shterev CLA 2009-03-17 09:45:19 EDT
Build ID: I20080617-2000

Steps To Reproduce:
1. Create an EMF model or open an existing one
2. Generate model and/or model.edit
3. All classes are annotated with /* */ comments instead of /** */


More information:
Even if you generate code to update existing classes and the classes are correctly annotated with javadocs, this will be replaced by a normal comment.

The whole class is then considered as @generated NOT and any further changes in the genmodel are discarded.
Comment 1 Ed Merks CLA 2009-03-17 09:55:30 EDT
It sounds exactly like https://bugs.eclipse.org/bugs/show_bug.cgi?id=254998 and given that I can't reproduce it, I'll assume that's exactly the problem.  As a work around, I believe turning off header formatting will help.

*** This bug has been marked as a duplicate of bug 254998 ***