| Loading Resource from EMF generated Plugin [message #1000212] |
Mon, 14 January 2013 04:18  |
Florian Wartenberg Messages: 25 Registered: July 2012 |
Junior Member |
|
|
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
|
|
|
|
|
|
|
| Re: Loading Resource from EMF generated Plugin [message #1000232 is a reply to message #1000229] |
Mon, 14 January 2013 05:19   |
Florian Wartenberg Messages: 25 Registered: July 2012 |
Junior Member |
|
|
Ed Willink wrote on Mon, 14 January 2013 05:11Hi
The 'dropins' folder was deprecated long ago since it conflicts with
P2's ability to ensure installation integrity.
Last time I tried to use it, it didn't do anything useful for me.
Regards
Ed Willink
On 14/01/2013 09:18, Florian Wartenberg wrote:
> put them into the dropins folder.
Ok this is what I thought too so I created a feature project and a update site project and created an archive then I installed the plugin. Everything worked fine except for this issue wich still was not resolved.
regards
Florian
[Updated on: Mon, 14 January 2013 05:22] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01941 seconds