Skip to main content



      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 08:11 Go to next message
Eclipse UserFriend
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 12:26 Go to previous messageGo to next message
Eclipse UserFriend
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 07:06 Go to previous message
Eclipse UserFriend
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: Tue Jul 08 07:08:31 EDT 2025

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

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

Back to the top