Skip to content

Commit

Permalink
GEOS-8271 SLD files other catalog implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsCharlier committed Jun 20, 2018
1 parent 7731861 commit 90c8d8f
Show file tree
Hide file tree
Showing 12 changed files with 789 additions and 222 deletions.
5 changes: 5 additions & 0 deletions src/community/jdbcconfig/pom.xml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@
<artifactId>xmlunit</artifactId> <artifactId>xmlunit</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<scope>test</scope>
</dependency>


</dependencies> </dependencies>
<profiles> <profiles>
Expand Down
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import org.geoserver.config.DefaultGeoServerLoader; import org.geoserver.config.DefaultGeoServerLoader;
import org.geoserver.config.GeoServer; import org.geoserver.config.GeoServer;
import org.geoserver.config.GeoServerFacade; import org.geoserver.config.GeoServerFacade;
import org.geoserver.config.GeoServerResourcePersister;
import org.geoserver.config.ServiceInfo; import org.geoserver.config.ServiceInfo;
import org.geoserver.config.impl.GeoServerImpl; import org.geoserver.config.impl.GeoServerImpl;
import org.geoserver.config.util.XStreamPersister; import org.geoserver.config.util.XStreamPersister;
Expand Down Expand Up @@ -76,6 +77,8 @@ protected void loadCatalog(Catalog catalog, XStreamPersister xp) throws Exceptio
Stopwatch sw = Stopwatch.createStarted(); Stopwatch sw = Stopwatch.createStarted();
loadCatalogInternal(catalog, xp); loadCatalogInternal(catalog, xp);
sw.stop(); sw.stop();

catalog.addListener(new GeoServerResourcePersister(catalog.getResourceLoader()));
// System.err.println("Loaded catalog in " + sw.toString()); // System.err.println("Loaded catalog in " + sw.toString());
} }


Expand Down

0 comments on commit 90c8d8f

Please sign in to comment.