Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Error in generation file .edit et .editor (Generation file .edit et .editor from profile.ecore)
Error in generation file .edit et .editor [message #1668282] Thu, 12 March 2015 12:11 Go to next message
Emna Dammak is currently offline Emna DammakFriend
Messages: 9
Registered: March 2015
Junior Member
Good morning
Please I need your help Embarrassed
I created a profile with papyrus then I generated the file .ecore and .genmodel
During generation .edit file and .editor , errors appears in file Manifest.mf
  org.eclipse.uml2.uml.presentation does not exist in this plugin
  org.eclipse.uml2.uml.provider does not exist in this plugin

This is my Manifest file
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name:% pluginName
Bundle-SymbolicName: EMFTest.edit; singleton: = true
Bundle-Version: 1.0.0.qualifier
Bundle-ClassPath.
Bundle-Activator: $ profile.provider.ModelEditPlugin Implementation
Bundle-Vendor:% providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Export-Package: ecore.provider,
  org.eclipse.uml2.uml.provider,
  profile.provider
Require-Bundle org.eclipse.core.runtime,
  EMFTest; visibility: = re-export,
  org.eclipse.emf.edit; visibility: = re-export,
  org.eclipse.uml2.common.edit; visibility: = re-export
Bundle-ActivationPolicy: lazy

Thank you in advance Smile
Re: Error in generation file .edit et .editor [message #1668755 is a reply to message #1668282] Thu, 12 March 2015 16:26 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30449
Registered: July 2009
Senior Member
Emna,

It doesn't sound like when you created the *.genmodel that you properly
reuse UML2's and Ecore's existing GenPackage but rather are generating
both again into you own plugin. Also, be sure to set the BasePackage of
your own GenPackage so that you get a proper qualified package name,
e.g., org.example...


On 12/03/2015 1:54 PM, Emna Dammak wrote:
> Good morning
> Please I need your help :blush: I created a profile with papyrus then
> I generated the file .ecore and .genmodel
> During generation .edit file and .editor , errors appears in file
> Manifest.mf
> org.eclipse.uml2.uml.presentation does not exist in this plugin
> org.eclipse.uml2.uml.provider does not exist in this plugin
>
> This is my Manifest file
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name:% pluginName
> Bundle-SymbolicName: EMFTest.edit; singleton: = true
> Bundle-Version: 1.0.0.qualifier
> Bundle-ClassPath.
> Bundle-Activator: $ profile.provider.ModelEditPlugin Implementation
> Bundle-Vendor:% providerName
> Bundle-Localization: plugin
> Bundle-RequiredExecutionEnvironment: J2SE-1.5
> Export-Package: ecore.provider,
> org.eclipse.uml2.uml.provider,
> profile.provider
> Require-Bundle org.eclipse.core.runtime,
> EMFTest; visibility: = re-export,
> org.eclipse.emf.edit; visibility: = re-export,
> org.eclipse.uml2.common.edit; visibility: = re-export
> Bundle-ActivationPolicy: lazy
>
> Thank you in advance :)
Re: Error in generation file .edit et .editor [message #1670848 is a reply to message #1668755] Fri, 13 March 2015 11:06 Go to previous message
Emna Dammak is currently offline Emna DammakFriend
Messages: 9
Registered: March 2015
Junior Member
Ed Merks,
 Thank you very much for your explanation.
Previous Topic:CDO vs NEO4EMF vd TENEO
Next Topic:Figure view different from Figure Gallery (during run-time)
Goto Forum:
  


Current Time: Wed Sep 18 08:06:23 GMT 2019

Powered by FUDForum. Page generated in 0.02508 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top