|
Re: Unwanted EMF Editor dependencies on File Extension Filters? [message #550874 is a reply to message #550589] |
Wed, 04 August 2010 13:40 |
Ed Merks Messages: 33113 Registered: July 2009 |
Senior Member |
|
|
Edward,
Comments below.
Edward MacKerrow wrote:
> I have an EMF app that was working fine when I had an IDE target.
> When I switched to a RCP target I get errors on code generation in the
> presentation.EditorAdvisor classes. Specifically the
> getFileExtensionsFilter() method does not see the
> FILE_EXTENSION_FILTERS in the other EMF models that this depends on.
So the MANIFEST.MF has missing dependencies?
>
> Three EMF models are being integrated (A,B,C). C depends on A and B.
> B depends on A.
>
> When I generated code with an IDE target things worked fine. I have
> now switched to a RCP target, cleaned out previous generated code
> numerous times. My 3 .ecore files validate fine. The codegen seems
> to work, but I get a compile error in that the CEditorAdvisor can not
> find the A.FILE_EXTENSIOSNS_FILTER or the B.FILE_EXTENSIONS_FILTER.
>
> I keep thinking I have my corresponding .genmodel specified
> incorrectly, however have not been able to get rid of this compile
> error.
> I use Generate All on my models and get broken code... ?
Try deleting the plugin.xml and MANIFEST.MF and then regenerating. If
they come out wrong (missing dependencies) that sounds like a bug to
report. It's of course easy to work around by adding the missing
dependencies; these files won't regenerate once they exist.
> Any suggestions to fix this?
>
> Thanks !
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02923 seconds