|
Re: GMF aspects: organize java imports [message #635891 is a reply to message #635887] |
Thu, 28 October 2010 14:07 |
|
Hi,
we are using it and the import are well done.
I don't remember of any customization to do that working.
One idea, are you regenerated MANIFEST.MF too?
if no, perhaps you should try to set "required plugin identifiers" in gmfgen->gen editor generator -> gen plugin?
Regards,
Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
|
|
|
|
Re: GMF aspects: organize java imports [message #635898 is a reply to message #635895] |
Thu, 28 October 2010 14:34 |
|
Cedric wrote on Thu, 28 October 2010 16:30 | Hi Aurelien,
I tried to remove the Manifest.MF so that it is completely regenerated on the next code generation but this doesn't fix the problem.
I looked at the option in the gmfgen file about the required plugin identifiers but it looks strange to me, since there are only two identifiers (related to Draw2D), so the existing code generation doesn't really work with that.
|
Add your own plugin identifier and regenerate cleaning also the MANIFEST.MF. So like that, the import can be resolved.
Cedric wrote on Thu, 28 October 2010 16:30 |
In fact, how does the code generator add the java imports on top of the generated files ? Was my assumption correct ?
|
I believe that there is a java beautifier action done at the end of the generation.
Cedric wrote on Thu, 28 October 2010 16:30 |
By the way, I discovered the aspects in GMF because of your blog, so thanks for that too
|
Happy that it helps you
Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
|
|
|
|
Powered by
FUDForum. Page generated in 0.03318 seconds