|Re: JMerge error when merging annotations on EnumLiteral [message #1006512 is a reply to message #1006496]
||Thu, 31 January 2013 14:32
| Martin Taal
Registered: July 2009
Thanks, let me do that, I will create a self contained test case with jmerge and the 2 sources.
On 01/31/2013 02:57 PM, Ed Merks wrote:
> There are a lot of "freefloating" Javadoc comments that could be problematic. I've also never tested real Java
> annoations on enum literals, only on methods and classes. It's hard to say without a test case I can run that
> reproduces the problem. Maybe you can make one and open a bugzilla for me to investigate?
> On 31/01/2013 11:40 AM, Martin Taal wrote:
>> I am using (in Texo) jmerge to merge a generated source file with an existing one. It fails on an enum when merging a
>> generated source with an existing source. For me jmerge is a total blackbox.. :-(. So I hope someone can give some
>> guidance if the merge rules should be adapted to correctly support java annotations (on enum literals). Attached my
>> merge xml file which is the same as being used by EMF proper also.
>> Also attached the source file after merge with the error. The error is on line 24 where the name of the literal
>> MYSTERY is truncated to MYST.
>> I also attached the current source file and the generated code before merging.
>> I really hope someone can give me some guidance here...
With Regards, Martin Taal
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Powered by FUDForum
. Page generated in 0.02760 seconds