Using eModeling FYI

12 views
Skip to first unread message

Geoffry Roberts

unread,
Oct 29, 2013, 2:31:20 PM10/29/13
to mong...@googlegroups.com
Brian,  

My first attempt with eModeling and an import statement failed, I checked and noticed that in org.eclipselabs.emodeling.rs.mongo the package was not being exported.  I put the export in the error was resolved.  Perhaps there has been an oversight.  

The following works:

Manifest-Version: 1.0

Bundle-ManifestVersion: 2

Bundle-Name: Mongo Resource Set Factory Component

Bundle-SymbolicName: org.eclipselabs.emodeling.rs.mongo

Bundle-Version: 1.0.0.qualifier

Bundle-Vendor: EclipseLabs

Bundle-RequiredExecutionEnvironment: JavaSE-1.6

Import-Package: org.eclipse.emf.common.notify,

 org.eclipse.emf.common.notify.impl,

 org.eclipse.emf.common.util,

 org.eclipse.emf.ecore.resource,

 org.eclipse.emf.ecore.resource.impl,

 org.eclipse.emf.ecore.util,

 org.eclipselabs.emodeling

Bundle-ActivationPolicy: lazy

Service-Component: OSGI-INF/services/factory.xml

Export-Package: org.eclipselabs.emodeling.rs.mongo


Bryan Hunt

unread,
Oct 30, 2013, 7:36:57 AM10/30/13
to mong...@googlegroups.com
Hi Geoffry,

There should be no need to export the package rs.mongo.  That bundle implements the ResourceSetFactory service and your code should use the service instead of the implementation.

Bryan

--
You received this message because you are subscribed to the Google Groups "MongoEMF" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongoemf+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Geoffry Roberts

unread,
Oct 30, 2013, 1:31:22 PM10/30/13
to mong...@googlegroups.com
A thousand pardons, I realized this no need business as I lay awake last night.
Reply all
Reply to author
Forward
0 new messages