Community
Participate
Working Groups
The JMerger tool is using the deprecated JDOM because it was not possible to move to AST by the end of the 2.0 cycle.
[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.