NOAA-PMEL / OAPDashboard

The Upload Dashbord for the Ocean Acidifiation Project
The Unlicense
0 stars 2 forks source link

Allow relative pathnames in config file #2

Closed karlmsmith closed 7 years ago

karlmsmith commented 7 years ago

All the full-path filenames in OAPUploadDashboard.properties is a pain when they are all in the same config subdirectory as OAPUploadDashboard.properties Change so that filenames without a leading slash are relative to the directory containing OAPUploadDashboard.properties.

lkamb commented 7 years ago

I've committed changes to DashboardConfigStore.java to handle all file path-type properties to support path names that are relative to the directory that contains the config properties file. This includes other properties files typically in the same directory, as well as paths to the various svn-backed content directories.