At the moment I am working on an utility using the geotools library. My
biggest problem is a reasonable way to set the classpath.  On my linux box I
do

for fn in `find <geotoolsjarfiledirectory> -name "*.jar"`; do export
CLASSPATH=$CLASSPATH:$fn ;done 

Other products mostly use some scripts  ( "env.sh" and "env.bat" ) which do
an environment setup. 

Is it possible to generate such scripts in the maven build ?. Some time ago
I saw the same problems for some utilities for the imagemosaic/imagepyramd
plugin (I think the utilities have been developped  by Simone) . These tools
included a *.bat file for setting the classpath making non Microsoft users
not happy.




-- 
View this message in context: 
http://www.nabble.com/Setting-the-classpath-for-a-utility-tp17758070p17758070.html
Sent from the geotools-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to