[osmosis-dev] bin/osmosis and $CLASSPATH
jochen at remote.org
Tue Feb 3 16:11:19 GMT 2009
Fine with me. But maybe OSMOSIS_CLASSPATH ? MYAPP sounds very generic.
On Tue, Feb 03, 2009 at 11:10:28PM +1100, Brett Henderson wrote:
> From what I can tell most java apps don't use a system CLASSPATH so it
> might be wise to avoid it if possible.
> Would it be cleaner to create a new variable (eg.
> MYAPP_CLASSPATH_EXTERNAL) or something (I'm not fussed what it's called)
> that can be set externally (such as in your .osmosis file) and then
> appended to the MYAPP_CLASSPATH if it exists? That would allow you to
> register your own jars on the classpath if you want to, but would keep
> osmosis independent of the system classpath which might be cluttered
> with all sorts of junk.
> Jochen Topf wrote:
>> bin/osmosis calls "java -cp ...". Java then ignores whats in $CLASSPATH.
>> Anybody against adding $CLASSPATH to the paths osmosis comes up with?
>> So in bin/osmosis change
Jochen Topf jochen at remote.org http://www.remote.org/jochen/ +49-721-388298
More information about the osmosis-dev