GeoServer – Developing Community Extension Auto-Reload in GeoServer

eclipseextensionsgeoserver

I want to develop an extension for my GeoServer and I started by following this guide :
https://docs.geoserver.org/latest/en/developer/programming-guide/ows-services/implementing.html

The chapter of "Running from Source" works well with my Eclipse instance project.

Is there a way for "auto-reload" (or refresh) my GeoServer instance when I change the code in my extension ?

If I change the "Hello World" message by "Hello foo", I need to

  • stop GeoServer
  • refresh Eclipse project
  • and re-start GeoServer

I seek a faster way.

Best Answer

That's the only way to do it I'm afraid. Your extension jar is only read at start up.

Related Question