On 4/29/10 12:30, Karl Pauls wrote:
It should work, can you try to add a

; \
  version=\"1.6.0\"

to the end of your package list? i.e.,

  org.xml.sax.ext; \
  org.xml.sax.helpers; \
  version=\"1.6.0\"

Why might this be necessary? I just noticed that default.properties included such a line for JRE 1.6 when I updated to follow the new JRE package version numbering scheme (i.e., 0.0.0.<ee>)...since it was the only version number like that out of all the other properties, I removed the escapes. Do they need to be there for Android?

-> richard


regards,

Karl

On Wed, Apr 28, 2010 at 7:41 PM, Jackson, Bruce<bru...@qualcomm.com>  wrote:
Hi All

I have Felix embedded into an Android app, and I'm trying to export the
packages from the Android environment (e.g. android, android.app, etc) into
Felix.

I have a couple of questions: first, can I still use the pre-4.2
constructor:

Felix felix = new Felix(Properties props);

...and if I do so passing in a properties file which contains a
semicolon-seperated list of packages as per the attached, should I see this
working properly?

Felix starts ok, but when I try to deploy any bundles to it (for example a
dexified org.apache.log4j) I get a message fro the debugger when I call:

BundleContent bc = felix.getBundleContent();
bc.installBundle(name, inputStream);

04-28 18:31:45.716: ERROR/SkiftaService(6274): Unresolved constraint in
bundle org.apache.log4j [1]: package; (package=javax.xml.parsers)

...which seems to suggest that it can't find the package.

Any ideas?

Thanks

Bruce




Reply via email to