[Geoserver-devel] Eclipse configuration to debug extensions?

Hello –

I followed the directions available at

http://docs.geoserver.org/stable/en/developer/quickstart/index.html

http://docs.geoserver.org/stable/en/developer/maven-guide/index.html

http://docs.geoserver.org/stable/en/developer/eclipse-guide/index.html

… and was easily able to end up with a debug-able environment in Eclipse. Thank you! This documentation is soooo much better than some other geospatial opensource projects I’ve dealt with….

My question though, is what do I have to do to be able to debug extensions? I did “mvn clean install –P allExtensions” and then pointed my Eclipse environment to a custom data directory (specifically, the app-schema tutorial directory). However it appears that when I run/debug the thing, the app-schema extension is not being used.

Is there an “easy way” to get that set up? I’m just an Eclipse beginner, but I’m pretty good at following directions…

Thanks!

Ryan

I think you need to do mvn eclipse:eclipe -P allExtensions; the profile will be used with the .project and .classpath files are generated; from there on out you can debug from eclipse like normal.
Jody

On 31/07/2010, at 7:38 AM, Ryan Clark wrote:

Hello –

I followed the directions available at
http://docs.geoserver.org/stable/en/developer/quickstart/index.html
http://docs.geoserver.org/stable/en/developer/maven-guide/index.html
http://docs.geoserver.org/stable/en/developer/eclipse-guide/index.html

… and was easily able to end up with a debug-able environment in Eclipse. Thank you! This documentation is soooo much better than some other geospatial opensource projects I’ve dealt with….

My question though, is what do I have to do to be able to debug extensions? I did “mvn clean install –P allExtensions” and then pointed my Eclipse environment to a custom data directory (specifically, the app-schema tutorial directory). However it appears that when I run/debug the thing, the app-schema extension is not being used.

Is there an “easy way” to get that set up? I’m just an Eclipse beginner, but I’m pretty good at following directions…

Thanks!
Ryan

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Hello –

I followed the directions available at

http://docs.geoserver.org/stable/en/developer/quickstart/index.html

http://docs.geoserver.org/stable/en/developer/maven-guide/index.html

http://docs.geoserver.org/stable/en/developer/eclipse-guide/index.html

… and was easily able to end up with a debug-able environment in Eclipse. Thank you! This documentation is soooo much better than some other geospatial opensource projects I’ve dealt with….

My question though, is what do I have to do to be able to debug extensions? I did “mvn clean install –P allExtensions” and then pointed my Eclipse environment to a custom data directory (specifically, the app-schema tutorial directory). However it appears that when I run/debug the thing, the app-schema extension is not being used.

Is there an “easy way” to get that set up? I’m just an Eclipse beginner, but I’m pretty good at following directions…

Thanks!

Ryan

Hello –

I followed the directions available at

http://docs.geoserver.org/stable/en/developer/quickstart/index.html

http://docs.geoserver.org/stable/en/developer/maven-guide/index.html

http://docs.geoserver.org/stable/en/developer/eclipse-guide/index.html

… and was easily able to end up with a debug-able environment in Eclipse. Thank you! This documentation is soooo much better than some other geospatial opensource projects I’ve dealt with….

My question though, is what do I have to do to be able to debug extensions? I did “mvn clean install –P allExtensions” and then pointed my Eclipse environment to a custom data directory (specifically, the app-schema tutorial directory). However it appears that when I run/debug the thing, the app-schema extension is not being used.

Is there an “easy way” to get that set up? I’m just an Eclipse beginner, but I’m pretty good at following directions…

Thanks!

Ryan

There is documentation about how we integrate community modules and extensions here:

http://docs.geoserver.org/stable/en/developer/policies/community-modules.html

it walks through the process of how to update the source tree to get an extension included. That should help.

-Justin

On 10-07-30 2:38 PM, Ryan Clark wrote:

Hello –

I followed the directions available at

http://docs.geoserver.org/stable/en/developer/quickstart/index.html

http://docs.geoserver.org/stable/en/developer/maven-guide/index.html

http://docs.geoserver.org/stable/en/developer/eclipse-guide/index.html

… and was easily able to end up with a debug-able environment in
Eclipse. Thank you! This documentation is soooo much better than some
other geospatial opensource projects I’ve dealt with….

My question though, is what do I have to do to be able to debug
extensions? I did “mvn clean install –P allExtensions” and then pointed
my Eclipse environment to a custom data directory (specifically, the
app-schema tutorial directory). However it appears that when I run/debug
the thing, the app-schema extension is not being used.

Is there an “easy way” to get that set up? I’m just an Eclipse beginner,
but I’m pretty good at following directions…

Thanks!

Ryan

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.