Fixed config path
This commit is contained in:
parent
01e43e20a7
commit
cfbe22d6c1
@ -37,7 +37,7 @@ public class FoodChain
|
||||
try
|
||||
{
|
||||
// parse channel configuration
|
||||
ConfigurationParser.parseDocument("../conf/channels.xml");
|
||||
ConfigurationParser.parseDocument("conf/channels.xml");
|
||||
ParserResult parserResult = ConfigurationParser.getElements("channel");
|
||||
List<ParserResultElement> elements = parserResult.getElements();
|
||||
for (ParserResultElement el : elements)
|
||||
@ -54,6 +54,7 @@ public class FoodChain
|
||||
catch (Exception e)
|
||||
{
|
||||
System.err.println(e.getMessage());
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
public static void parseNodes()
|
||||
@ -61,7 +62,7 @@ public class FoodChain
|
||||
try
|
||||
{
|
||||
// parse channel configuration
|
||||
ConfigurationParser.parseDocument("../conf/nodes.xml");
|
||||
ConfigurationParser.parseDocument("conf/nodes.xml");
|
||||
ParserResult parserResult = ConfigurationParser.getElements("node");
|
||||
List<ParserResultElement> elements = parserResult.getElements();
|
||||
for (ParserResultElement el : elements)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user