Loading Resource from EMF generated Plugin [message #1000212] |
Mon, 14 January 2013 04:18  |
Eclipse User |
|
|
|
I have created an Ecore file then a genmodel from this file and used the option "generate all" afterwards I exported the plugins via the export wizard and put them into the dropins folder. Now I can use my plugin without any problem excpet when trying to load the ecore file as a resource into another ecore file.
1. Create a new Java project
2. Create a new Ecore model
3. Load Resource
4. Browse registered Packages
5. Select the relevant plugin
Then I get the following error:
Problems encountered in file "platform:/plugin/<pluginname>/model/<ecoremodel>.ecore
Resource '/<pluginname>/META-INF/MANIFEST.MF/model/<ecoremodel>.ecore' does not exist
But stranegly when I run the generated Project as an Ecplise Application I can load the resource without any problems.
I would very much to resolve this problem hence I need to load my model as a resoure in several other ecore models.
Regards
F. Wartenberg
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.11457 seconds