"Brett Henderson" <[EMAIL PROTECTED]> writes:

> On Thu, Dec 4, 2008 at 9:20 AM, Matthias Julius <[EMAIL PROTECTED]>wrote:
>
>> "Brett Henderson" <[EMAIL PROTECTED]> writes:
>>
>> > Part of the problem might be that a distribution of osmosis contains a
>> > pre-compiled jar file.  If you patch the source and re-compile, the new
>> jar
>> > gets built under the "build" directory and packaged into a new zip
>> > distribution under the "dist" directory but the jar at the top level
>> never
>> > gets updated.  If you wish to run a self-compiled version of osmosis
>> without
>> > using the generated zip file you have to actually run
>> > <osmosis>/build/dist/bin/osmosis, not <osmosis>/bin/osmosis.  Yes, it's
>> > confusing but it simplifies the ant script considerably.  In hindsight it
>> > wasn't the best idea.
>>
>> This is the trick I was looking for. Thanks.  It is a good candidate
>> for readme.txt
>>
>> I'll put a note on
>> http://wiki.openstreetmap.org/index.php/Read_Only_Map_API
>>
>
> Rather than document around the problem in readme.txt, I've modified
> build.xml to build in place.  In other words the build/dist directory no
> longer exists and it will rebuild the osmosis.jar at the project root.  This
> means you can run <osmosis>/bin/osmosis directly.  It was much simpler than
> I expected, I should have done it long ago.  Apologies for any inconvenience
> :-)  It's in svn now.

Even better. Great!

Now I can put a note to my note in the wiki to say that new versions
are OK.

I thought you would just declare it a feature and be done with it ;-)

Did you bump the version number?

Matthias

_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/tilesathome

Reply via email to