moved config files to supdirectory ./config/
This commit is contained in:
parent
04b08ad8fa
commit
e61311a48a
4 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ import java.util.Properties;
|
|||
*/
|
||||
public class JavalinConfig extends Properties {
|
||||
|
||||
private static final String propertiesFileName = "javalin.properties";
|
||||
private static final String propertiesFileName = "config/javalin.properties";
|
||||
|
||||
/**
|
||||
* Default Constructor
|
||||
|
|
|
@ -49,7 +49,7 @@ public abstract class PPRUtils {
|
|||
* @param mongoFactory Factory für die MongoDB-Objekte
|
||||
*/
|
||||
public static void parlamentExplorerInit(FileObjectFactory xmlFactory, MongoObjectFactory mongoFactory) {
|
||||
Properties xmlProperties = PropertiesUtils.readPropertiesFromResource("xml.properties");
|
||||
Properties xmlProperties = PropertiesUtils.readPropertiesFromResource("config/xml.properties");
|
||||
|
||||
// MdB lesen: MDBs werden nur dann gelesen und persistiert, wenn die Collection noch leer ist
|
||||
String mdbUrl = xmlProperties.getProperty("mdb_url");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue