[osmosis-dev] Android?
Brett Henderson
brett at bretth.com
Wed Nov 7 10:29:35 GMT 2012
Hi Adrià,
On 7 November 2012 03:41, Adrià Ribatallada Torelló
<achtungwolf at gmail.com>wrote:
> Hi there!
>
> I was trying to use the osmosis tool in an android device, and
> after including all the required libraries to an android project and make
> it compile and install in the device I'v encountered some "runtime"
> obstacles that made me consider that the best approach might be to adapt
> the osmosis source code, adapting it to use the android libraries.
>
> (the most severe "obstacle" is a "No validating SAXParser implementation
> available" while trying to read the file plugin.xml. Is the same error
> explained here with more detail by this other guy:
> http://stackoverflow.com/questions/10222230/trying-to-use-osmosis-in-android-environment-duplicate-file-error-with-jar-file/13251374#13251374
> ).
>
I'm not sure if this helps, but the plugin.xml loading code is used by JPF
(Java Plugin Framework) support. JPF provides one way of packaging Osmosis
plugins, but is rarely used. The majority of plugins use a simpler
mechanism involving a properties file called osmosis-plugin.conf bundled in
each plugin jar file. If you don't need JPF you could remove the JPF code
from Osmosis completely and eliminate the error you're receiving.
Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20121107/dc2f8d0a/attachment-0001.html>
More information about the osmosis-dev
mailing list