|
|
Re: simple-xml NodeBuilder No Class Def Found Error on Raspberry Pi running Kura [message #1603211 is a reply to message #1603103] |
Fri, 06 February 2015 03:04 |
shauheen azami Messages: 5 Registered: January 2015 |
Junior Member |
|
|
Hi,
The export is done from eclipse (Deployable plugins and fragments), the build.properties has the simpleXML in bin.include, and yes, the bundle does include the jar file for simpleXML,
I have got it to work by having a SimpleXML bundle running on the Pi, and also Importing and exporting SimpleXML from my bundle. (I don't think this is the correct solution, as I don't want to have to expose the jar. But it is working!)
Here is the manifest:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Test Implementation
Bundle-SymbolicName: org.eclipse.kura.test.implementation
Bundle-Version: 1.0.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Export-Package: org.simpleframework.xml,
org.simpleframework.xml.convert,
org.simpleframework.xml.core,
org.simpleframework.xml.filter,
org.simpleframework.xml.strategy,
org.simpleframework.xml.stream,
org.simpleframework.xml.transform,
org.simpleframework.xml.util
Bundle-ClassPath: .,
jar/org.simpleframework.simple-xml.2.3.jar
Import-Package: org.eclipse.kura.test.api,
org.osgi.framework;version="1.7.0",
org.osgi.service.component;version="1.2.0",
org.simpleframework.xml,
org.simpleframework.xml.convert,
org.simpleframework.xml.core,
org.simpleframework.xml.filter,
org.simpleframework.xml.strategy,
org.simpleframework.xml.stream,
org.simpleframework.xml.transform,
org.simpleframework.xml.util
Service-Component: OSGI-INF/component.xml
Require-Bundle: slf4j.api
Bundle-ActivationPolicy: lazy
|
|
|
|
Powered by
FUDForum. Page generated in 0.02231 seconds