Hi, I wonder if there is a simple & proven way to have both geoserver & geotools in the same eclipse environment, so that geoserver when ran from eclipse would use the geotools libraries also from with eclipse?
I tried to set this up by first importing the geotools libraries, using the mvn eclipse:eclipse command, and then importing geotools. after this, I imported geoserver basically the same way. now, geoserver will prefer geotools libraries from the maven repository as opposed to the ones present in eclipse. fine, so I deleted the gt-* dependencies from the web-app project, and added the gt-* projects from eclipse as requirements. this created a number of dependency issues, and geoserver wouldn't run properly at the end, for example I get: Oct 9, 2012 12:19:42 PM it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL WARNING: Failed to load the GDAL native libs. This is not a problem unless you need to use the GDAL plugins: they won't be enabled. java.lang.UnsatisfiedLinkError: no gdaljni in java.library.path Oct 9, 2012 12:19:42 PM it.geosolutions.util.KakaduUtilities loadKakadu WARNING: Failed to load the Kakadu native libs. This is not a problem unless you need to use the Kakadu plugin: it won't be enabled. java.lang.UnsatisfiedLinkError: no kdu_jni in java.library.path log4j:WARN File option not set for appender [geoserverlogfile]. and then it fails the find the data directory which it previously found, etc. so maybe this is quite lame, but is there a simple way to make this work? what I want to do is to make changes in the geotools code that is used in geoserver, and see the effect of these changes. the simplest way I figured would be to have everything open in eclipse, so I can change, debug, etc. easily. Akos ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
