[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.technology.epf] Re: Getting RoleSets from XMI files
|
- From: quentin.deme@xxxxxx (Quentin DEME)
- Date: Fri, 2 May 2008 14:25:33 +0000 (UTC)
- Newsgroups: eclipse.technology.epf
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Hi,
I'm able to import my library with the "Import-Package" MANIFEST feature.
What I had to do was: "New" -> "Plug-in from existing JAR archives" -> and
indicate my library in .jar format (I exported it to .jar before).
Now, the plug-in doesn't throw any error when I put "Import-Package
com.st.library" in the MANIFEST.MF.
But at launch time, I get this error message and many other lines:
!MESSAGE Bundle update@../myWorkspace/com.st.project/ [332] was not
resolved.
!SUBENTRY 2 com.st.project 2 0 2008-05-02 16:20:27.593
!MESSAGE Missing Constraint: Import-Package: com.st.library;
version="0.0.0"
!ENTRY org.eclipse.osgi 4 0 2008-05-02 16:20:27.593
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "com.st.project.application" could
not be found in the registry. The applications available are:
org.eclipse.ant.core.antRunner, org.eclipse.equinox.app.error,
org.eclipse.help.base.infocenterApplication,
org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool,
org.eclipse.jdt.apt.core.aptBuild, org.eclipse.jdt.core.JavaCodeFormatter,
org.eclipse.pde.build.Build,
org.eclipse.pde.junit.runtime.uitestapplication,
org.eclipse.pde.junit.runtime.legacytestapplication,
org.eclipse.pde.junit.runtime.coretestapplication,
org.eclipse.ui.ide.workbench, org.eclipse.update.core.standaloneUpdate,
org.eclipse.update.core.siteOptimizer,
org.eclipse.xsd.ecore.importer.XSD2GenModel,
org.eclipse.emf.codegen.CodeGen, org.eclipse.emf.codegen.JMerger,
org.eclipse.emf.codegen.ecore.Generator,
org.eclipse.emf.importer.ecore.Ecore2GenModel,
org.eclipse.emf.importer.java.Java2GenModel,
org.eclipse.emf.importer.rose.Rose2GenModel,
org.eclipse.epf.rcp.ui.MainApplication,
org.eclipse.uml2.uml.ecore.importer.UML2GenModel.
at
org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
But I found that I had to add the newly created plug-in in "Open Run
Dialog" -> "Plug-ins" tab
And now, I get my NoClassDefFoundError:
org/eclipse/emf/ecore/resource/ResourceSet
I really don't know what to do now...
Thank you for your help,
Quentin