Skip to content
Snippets Groups Projects
Commit c0c2fbdc authored by cramakri's avatar cramakri
Browse files

LMS-2782 Actually load the share.properties file

SVN: 24568
parent c60370fe
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
package ch.systemsx.cisd.openbis.dss.generic.shared.utils; package ch.systemsx.cisd.openbis.dss.generic.shared.utils;
import java.io.File; import java.io.File;
import java.io.FileReader;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collections; import java.util.Collections;
...@@ -145,6 +146,14 @@ public final class Share ...@@ -145,6 +146,14 @@ public final class Share
return null; return null;
} }
Properties props = new Properties(); Properties props = new Properties();
try
{
FileReader reader = new FileReader(propsFile);
props.load(reader);
} catch (IOException e)
{
throw CheckedExceptionTunnel.wrapIfNecessary(e);
}
return props; return props;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment