This page last changed on May 14, 2007 by jdeolive.

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

  1. Check out the code from the subversion repository
    % svn co https://svn.codehaus.org/geoserver/spike/configuration .
    
  2. Execute the command:
    % mvn clean install
    

Running the Swing Application

  1. Change directory to the swingapp/target module
  2. Execute the command:
    % java -jar swingapp-1.0.jar
    
  3. From the main window choose File->Import....
  4. Select the root of a GeoServer data directory on your system
  5. Switch to the Feature Types tab and click Add.

Running with Hibernate

  1. Shut down the application
  2. Edit {{swingapp/src/main/resources/applicationContext.xml}
  3. Uncomment applicationContext-hibernateDesktop.xml and comment applicationContext-xstream.xml
  4. Repeat steps 1-5 above

Running the Web Application

  1. Change directory to the webapp module
  2. Execute the command:
    mvn jetty:run
    
  3. Visit http://localhost:8080/geoserver/app in your web browser
  4. Enter the path to a GeoServer data directory and click Import
  5. Visit http://localhost:8080/geoserver/wms/GetCapabilities in your web browser
Document generated by Confluence on May 14, 2014 23:00