[osmosis-dev] Can not run Osmosis

marcus.wolschon at googlemail.com marcus.wolschon at googlemail.com
Thu Feb 19 11:57:55 GMT 2009


On Thu, 19 Feb 2009 12:54:49 +0100, <marcus.wolschon at googlemail.com> wrote:
> On Thu, 19 Feb 2009 22:51:36 +1100, Brett Henderson <brett at bretth.com>
> wrote:
>> But there's no reason we can't do both.  The build now produces two 
>> distribution zips (and tars), one which is the full distribution 
>> including source, and a second which is just enough to run the command 
>> line.  It would be possible to modify the current "-bin" distribution to

>> include a far jar.  It would simplify the command line considerably.  
>> Other apps that use osmosis as a library would continue to use the small

>> jar as they do now.  Like everything, just a simple matter of 
>> programming :-)
> 
> I suggest a second main-class that only outputs how the correct call has
to
> look and give the small jar this one as main-class in the manifest.
> It will prevent such mistakes as above and thus help the users.

I just remember an alternative.
Add to the manifest:

Class-Path: jpf.jar:commond-logging-xyz.jar:mysql-xyz.jar:...

Note that lib/jpf.jar will NOT work on Windows and lib\jpf.jar not
work on non-Windows systems.

Marcus 





More information about the osmosis-dev mailing list