| Summary: | Canonical Metamodel - removing the @Generated annotation does not prevent Dali from generating the type | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Karen Butzke <karenfbutzke> | ||||
| Component: | General | Assignee: | Karen Butzke <karenfbutzke> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | brian.vosburgh, jolene.moffitt, neil.hauge | ||||
| Version: | 2.3 | Flags: | neil.hauge:
review+
|
||||
| Target Milestone: | 2.3.1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Karen Butzke
*** Bug 296664 has been marked as a duplicate of this bug. *** Created attachment 172807 [details]
proposed patch against head
This patch handles removal of the Generated and StaticMetamodel annotations. It also adds property change notification for these annotations. Now if you add the @Generated(value="Dali", date="2010-06-25T15:40:04.968-0400") back to the generated file it will be immediately regenerated if changes have been made since the annotation was removed. Before you would have to make a significant change to the context model to get it to regenerate.
checked in to HEAD for inclusion in 2.3.1 maintenance Verified this fix in Build wtp-R3.2.1-M: M-3.2.1-20100716070539 Tested manually by removing the @Generated annotation or @StaticMetamodel annotation. Then closing eclipse, reopen and add the annotation back. It is regenerated when I add either annotation back. |