[osmosis-dev] use classworlds-Loader fort start script?
Brett Henderson
brett at bretth.com
Thu Dec 10 23:40:24 GMT 2009
On Fri, Dec 11, 2009 at 7:48 AM, Sarah Hoffmann <lonvia at denofr.de> wrote:
> Uh,
>
> On Tue, 08 Dec 2009 02:04:55 +0100, Hakan Tandogan <hakan at
> gurkensalat.com>
> wrote:
> > Brett Henderson wrote:
> >> If it isn't too invasive it should be fine. I guess the best way is to
> >> try it out and see if any problems crop up.
> >
> > I committed my changes to use the classworlds launcher a few hours ago.
> >
> > The configuration is in the file config/plexus.conf and instructs the
> > launcher to load all jars from lib and lib/default ; I also modified the
> > windows and unix scripts to use the classworlds launcher.
>
> I'm really out of luck today. That didn't work on my virgin build of
> osmosis, either.
>
> First of all, it couldn't find the plexus-classworlds*.jar, then it was
> looking for a lib/plexus.conf instead of a config/plexus.conf and, finally,
> the osmosis.jar itself was missing in the plexus.conf. The attached patch
> finally did the trick.
>
> Final point to note: the paths in plexus.conf are relative to the
> current working directory. Launching osmosis from anywhere else than
> the root of the source directory results in a FileNotFoundException.
>
Cool, thanks for checking this out. By the way, I'm still trying to fix the
postgis problem ...
Hakan, if it has to be launched from within the right directory we'll have
to back the change out until we find a solution ...
Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20091211/961b7a22/attachment.html>
More information about the osmosis-dev
mailing list