Summary: | [Plan Item] JMerger: Decouple the JMerger implementation from JDOM | ||
---|---|---|---|
Product: | [Modeling] EMF | Reporter: | Marcelo Paternostro <marcelop> |
Component: | Tools | Assignee: | Marcelo Paternostro <marcelop> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | P1 | CC: | caniszczyk, dsciamma, jeichar, jfrantzius |
Version: | 2.1 | ||
Target Milestone: | Past | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: | |||
Bug Depends on: | |||
Bug Blocks: | 124372 |
Description
Marcelo Paternostro
2004-11-08 10:45:46 EST
[plan pri=1 est=4w/] *** Bug 104303 has been marked as a duplicate of this bug. *** *** Bug 116463 has been marked as a duplicate of this bug. *** As we were porting JMerger to AST, we realized that one of the big issues of this task was to ensure that all the existing merge rules (hence "current behavior of JMerge") work. The constructs available in the merge rules (the Member/getContent in a pull rule for example) were designed having JDOM in mind. So I am renaming this bug to state this issue. We choose to decouple the JMerge from JDOM by using a facade approach. We will define a set of interfaces that should be used to represent the Java code being merged, and, initially, provide a JDOM implementation for these interfaces. The next step is to provide a different implementation, using a non-deprecated API that must also support the new constructs available in Java5. AST is the main candidate. This architectural change allows anyone to hook her own facade implemention, which can be, for example, Eclipse independent - which would allow JMerger to be used anywhere. The changes are committed to CVS. Fixed in 2.2.0.I200501190000 Move to verified as per bug 206558. |