Skip to content

Commit

Permalink
Revert change to database path to fix for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tdrwenski committed Oct 3, 2024
1 parent 1662945 commit ccb1836
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tds/src/main/java/thredds/server/config/TdsInit.java
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ public void onApplicationEvent(ContextRefreshedEvent event) {
configCatalogInitializer.init(readMode, (PreferencesExt) mainPrefs.node("configCatalog"));

// set epsg database location for edal-java (comes from apache-sis)
EpsgDatabasePath.DB_PATH = (new File(tdsContext.getThreddsDirectory(), "/cache/edal-java/epsg/").getPath());
EpsgDatabasePath.DB_PATH =
(new File(tdsContext.getThreddsDirectory(), "/cache/edal-java/epsg/").toURI().toString());
startupLog.info("EPSG database path: " + EpsgDatabasePath.DB_PATH);
startupLog.info("TdsInit complete");
}
Expand Down

0 comments on commit ccb1836

Please sign in to comment.