[Geoserver-users] using the app-schema extnesion when running geoserver from git source?

Hi,

I wonder what is the proper way of using the app-schema extension when
running GeoServer from within eclipse, based on the source tree pulled
from git? I'd imagine that the app schema extension would be loaded by
the eclipse classloader when starting the web-app Start class, but I
can't seem to be able to find it :frowning:

any pointers welcome.

Akos

Ákos,

by default, optional plugins are not on the Eclipse classpath. To use the app-schema plugin in Eclipse, enable the "app-schema" Maven profile when you use Maven to generate Eclipse .project files with:

mvn -Papp-schema eclipse:clean eclipse:eclipse

I recommend running this when in the top-level src directory, so all GeoServer dependencies are within-workspace, not resolved in your Maven repository.

Here is our internal app-schema developer guide, which contains a few more Eclipse tricks. A lot of this is out of date (we use git now not svn)), but you may find it useful:
https://www.seegrid.csiro.au/wiki/Infosrvices/GeoserverDevelopmentSetup

Kind regards,
Ben.

On 06/03/13 16:26, Ákos Maróy wrote:

Hi,

I wonder what is the proper way of using the app-schema extension when
running GeoServer from within eclipse, based on the source tree pulled
from git? I'd imagine that the app schema extension would be loaded by
the eclipse classloader when starting the web-app Start class, but I
can't seem to be able to find it :frowning:

any pointers welcome.

Akos

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

And if you are running GeoServer from Eclipse: welcome, you are a developer; please consider using the geoserver-devel list. :slight_smile:

On 06/03/13 16:26, Ákos Maróy wrote:

Hi,

I wonder what is the proper way of using the app-schema extension when
running GeoServer from within eclipse, based on the source tree pulled
from git? I'd imagine that the app schema extension would be loaded by
the eclipse classloader when starting the web-app Start class, but I
can't seem to be able to find it :frowning:

any pointers welcome.

Akos

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

On 06/03/13 09:44, Ben Caradoc-Davies wrote:

Ákos,

by default, optional plugins are not on the Eclipse classpath. To use
the app-schema plugin in Eclipse, enable the "app-schema" Maven
profile when you use Maven to generate Eclipse .project files with:

mvn -Papp-schema eclipse:clean eclipse:eclipse

I recommend running this when in the top-level src directory, so all
GeoServer dependencies are within-workspace, not resolved in your
Maven repository.

Here is our internal app-schema developer guide, which contains a few
more Eclipse tricks. A lot of this is out of date (we use git now not
svn)), but you may find it useful:
https://www.seegrid.csiro.au/wiki/Infosrvices/GeoserverDevelopmentSetup

thank you!