hallo,
ich bekomm immer ne Exception da
An exception occurred: java.lang.NoClassDefFoundError (JDOM)
Jdom nicht gefunden wird.
Ich hab im Projectordner einen neuen Ordner EXTJAR erstellt, welcher jdom.jar beinhaltet.
also hab ich es dem Plugin hinzugefügt
Manifest
[XML]Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: Line.diagram; singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-ClassPath: extJars/jdom.jar,.
Bundle-Activator: linemodel.diagram.part.ModelDiagramEditorPlugin
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Export-Package: linemodel.diagram.edit.parts,
linemodel.diagram.part,
linemodel.diagram.providers
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.jface,
org.eclipse.ui.views,
org.eclipse.emf.ecore,
org.eclipse.emf.ecore.xmi,
org.eclipse.emf.edit.ui,
org.eclipse.gmf.runtime.emf.core,
org.eclipse.gmf.runtime.emf.commands.core,
org.eclipse.gmf.runtime.emf.ui.properties,
org.eclipse.gmf.runtime.diagram.ui,
org.eclipse.gmf.runtime.diagram.ui.properties,
org.eclipse.gmf.runtime.diagram.ui.providers,
org.eclipse.gmf.runtime.diagram.ui.render,
org.eclipse.gmf.runtime.diagram.ui.resources.editor,
org.eclipse.draw2d;visibility:=reexport,
org.eclipse.gmf.runtime.draw2d.ui;visibility:=reexport,
Line;visibility:=reexport,
Line.edit;visibility:=reexport,
org.eclipse.gef;visibility:=reexport,
org.eclipse.ui,
org.eclipse.core.resources
Eclipse-LazyStart: true
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.6[/XML]
build.properties
[XML]bin.includes = .,\
icons/,\
META-INF/,\
plugin.xml,\
plugin.properties,\
messages.properties,\
.options,\
extJar/
jars.compile.order = extJar\,.
source.. = src/,\
extJar/
output.. = bin/
src.includes = extJar/
[/XML]
ich bekomm immer ne Exception da
An exception occurred: java.lang.NoClassDefFoundError (JDOM)
Jdom nicht gefunden wird.
Ich hab im Projectordner einen neuen Ordner EXTJAR erstellt, welcher jdom.jar beinhaltet.
also hab ich es dem Plugin hinzugefügt
Manifest
[XML]Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: Line.diagram; singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-ClassPath: extJars/jdom.jar,.
Bundle-Activator: linemodel.diagram.part.ModelDiagramEditorPlugin
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Export-Package: linemodel.diagram.edit.parts,
linemodel.diagram.part,
linemodel.diagram.providers
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.jface,
org.eclipse.ui.views,
org.eclipse.emf.ecore,
org.eclipse.emf.ecore.xmi,
org.eclipse.emf.edit.ui,
org.eclipse.gmf.runtime.emf.core,
org.eclipse.gmf.runtime.emf.commands.core,
org.eclipse.gmf.runtime.emf.ui.properties,
org.eclipse.gmf.runtime.diagram.ui,
org.eclipse.gmf.runtime.diagram.ui.properties,
org.eclipse.gmf.runtime.diagram.ui.providers,
org.eclipse.gmf.runtime.diagram.ui.render,
org.eclipse.gmf.runtime.diagram.ui.resources.editor,
org.eclipse.draw2d;visibility:=reexport,
org.eclipse.gmf.runtime.draw2d.ui;visibility:=reexport,
Line;visibility:=reexport,
Line.edit;visibility:=reexport,
org.eclipse.gef;visibility:=reexport,
org.eclipse.ui,
org.eclipse.core.resources
Eclipse-LazyStart: true
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.6[/XML]
build.properties
[XML]bin.includes = .,\
icons/,\
META-INF/,\
plugin.xml,\
plugin.properties,\
messages.properties,\
.options,\
extJar/
jars.compile.order = extJar\,.
source.. = src/,\
extJar/
output.. = bin/
src.includes = extJar/
[/XML]