Configuration Prototype
A prototype of the new configuration system can be found at http://svn.codehaus.org/geoserver/spike/configuration. The prototype contains:
- Catalog and service configuration interfaces and implementations
- Hibernate based persistence module
- XStream based persistence module
- Swing application for viewing and modifying the catalog
- Web application which produces a WMS capabilities document from the catalog
Building the Prototype
- Check out the code from the subversion repository
% svn co https://svn.codehaus.org/geoserver/spike/configuration . - Execute the command:
% mvn clean install
Running the Swing Application
- Change directory to the swingapp/target module
- Execute the command:
% java -jar swingapp-1.0.jar
- From the main window choose File->Import....
- Select the root of a GeoServer data directory on your system
- Switch to the Feature Types tab and click Add.
Running with Hibernate
- Shut down the application
- Edit {{swingapp/src/main/resources/applicationContext.xml}
- Uncomment applicationContext-hibernateDesktop.xml and comment applicationContext-xstream.xml
- Repeat steps 1-5 above
Running the Web Application
- Change directory to the webapp module
- Execute the command:
mvn jetty:run
- Visit http://localhost:8080/geoserver/app in your web browser
- Enter the path to a GeoServer data directory and click Import
- Visit http://localhost:8080/geoserver/wms/GetCapabilities in your web browser
Added by Justin Deoliveira, last edited by Justin Deoliveira on May 14, 2007
()