[osmosis-dev] Example-Plugin for osmosis
marcus.wolschon at googlemail.com
marcus.wolschon at googlemail.com
Mon Feb 2 06:39:30 GMT 2009
SVN is working again and I just got
the new osmosis SVN/trunk with the renaming
from com.brett.osmosis to org.openstreetmap.osmosis.
The example-plugin adapted to this change works
fine in Windows again.
I'll upload the new version this night.
Jochen: Where you using the osmosis.jar and jpf.jar
from the example-plugin.zip? Since it was build
against svn/trunk I put the osmosis-version it was
build against in there.
Maybe I can get a remote-shell to my linux-box
working and try it there today. I'll send a note
once I know if it's indeed a Linux vs. Windows -thing.
Marcus
On Mon, 02 Feb 2009 08:54:10 +1100, Brett Henderson <brett at bretth.com>
wrote:
> I'll do my best to take a look at this tonight. I'm keen to get this
> sorted out.
>
> Jochen Topf wrote:
>> On Wed, Jan 28, 2009 at 06:14:26PM +0100, Marcus Wolschon wrote:
>>
>>> The following is a working example-plugin.
>>> Quite easy to use.
>>>
>>
>> Doesn't work for me:
>>
>>> ./test.sh
>>>
>> Feb 1, 2009 10:12:47 AM com.bretth.osmosis.core.Osmosis run INFO:
Osmosis
>> Version 0.30.2
>> Feb 1, 2009 10:12:48 AM com.bretth.osmosis.core.Osmosis main SEVERE:
>> Execution aborted.
>> java.lang.NullPointerException
>> at
>>
org.java.plugin.standard.StandardPluginManager.publishPlugins(StandardPluginManager.java:181)
>> at
>>
com.bretth.osmosis.core.TaskRegistrar.registerJpfPlugins(TaskRegistrar.java:467)
>> at
>>
com.bretth.osmosis.core.TaskRegistrar.loadJPFPlugins(TaskRegistrar.java:395)
>> at
>>
com.bretth.osmosis.core.TaskRegistrar.initialize(TaskRegistrar.java:371)
>> at com.bretth.osmosis.core.Osmosis.run(Osmosis.java:74)
>> at com.bretth.osmosis.core.Osmosis.main(Osmosis.java:30)
>>
>> test.sh is the linux version of test.bat:
>> #!/bin/sh
>> java -classpath
>> 'lib/jpf.jar:lib/commons-logging-1.0.4.jar:lib/osmosis.jar'
>> com.bretth.osmosis.core.Osmosis \
>> --read-xml-0.5 file=hamburg.osm.bz2 \
>> --write-test dir=test
>>
>> I put the dist/testplugin.zip into ~/.openstreetmap/osmosis/plugins/
>>
>> Are you doing anything that could cause it to work on Windows but not on
>> Linux?
>>
>> Jochen
>>
>
>
> _______________________________________________
> osmosis-dev mailing list
> osmosis-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/osmosis-dev
>
More information about the osmosis-dev
mailing list