[osmosis-dev] API 0.6 and unique keys
Jochen Topf
jochen at remote.org
Mon Feb 2 14:21:53 GMT 2009
On Mon, Feb 02, 2009 at 11:08:31PM +1100, Brett Henderson wrote:
> Jochen Topf wrote:
>> On Mon, Feb 02, 2009 at 09:39:03PM +1100, Brett Henderson wrote:
>>
>>> Anyway, it looks fine to me. I'll check it in in the next few
>>> minutes unless something distracts me.
>>>
>>
>> Migrate test failes now...
>>
> Interesting. It passed when I ran the full suite of tests prior to
> checking in. I'll check on Linux in a few minutes ... sometimes line
> endings can screw it up.
I found the problem. For some reason the migrate test triggered the JPF
magic and it seems it was trying to read some plugin from my
~/.openstreetmap directory. That failed with a null pointer exception.
After removing that dir, it works fine. I have no idea why the migration
test triggered this but not the other tests.
I can also use the -p plugin mechanism now. I haven't tested the JPF
magic because I don't need it really, but my problems there were
probably also due to some wrong jar file lying around there or so.
I am not sure any more that this JPF magic is the right way to go. At
least not in this current form. We would at least need some kind of
versioning mechanism so that I can get a proper message: "Found plugin
xyz which conflicts bla bla" instead of just giving a null pointer
exception. I rarely use Osmosis from the command line, normally I have
scripts calling it, so I don't mind having some extra command line
options.
Jochen
--
Jochen Topf jochen at remote.org http://www.remote.org/jochen/ +49-721-388298
More information about the osmosis-dev
mailing list