Ben, the trick when debugging GeoServer in Eclipse is to ensure that extensions of interest are on the classpath of the main application. The supported way of doing this is by enabling the Maven profiles of these extensions to add them as dependencies when generating the Eclipse project files for gs-web-app. In your case I think you need the -Pgdal flag.
Always generate Eclipse project files from the top level src directory to ensure correct inter-module workspace dependencies are generated. In your case the command will be something like: mvn -PallExtensions -Pgdal eclipse:clean eclipse:eclipse This will create Eclipse projects for all modules. (You can see the names of other profiles in src/web/app/pom.xml.) Add You should then be able to refresh your Eclipse projects and launch GeoServer using one of the standard methods; for example using the embedded Jetty-based launcher by running this gs-web-app class as a Java Application: src/test/java/org/geoserver/web/Start.java Also try building with -Prelease to have the release demo data present in GeoServer at run time in Eclipse. This should have the same effect as these instructions: http://docs.geoserver.org/latest/en/developer/maven-guide/index.html#building-the-web-module Kind regards, Ben. On 06/02/15 12:45, Ben Johnson wrote: > I pulled the latest source from GeoServer master because I was going to > look into fixing some of the bugs dealing with the GDAL Rest issues but do > not know how to run GeoServer in debug with the extension enabled. I > followed the steps for getting extensions and building using the following > command mvn -Dskiptests -P allExtensions install and can run but do not see > the GDAL raster types available when I run... Just the default types appear > available. How do I get GDAL types available when debugging? > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > > > > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- Ben Caradoc-Davies <[email protected]> Software Engineer Transient Software <http://transient.nz> New Zealand ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
