Fixed path to config
This commit is contained in:
parent
b77e9a690a
commit
01e43e20a7
@ -37,8 +37,8 @@ public class FoodChain
|
||||
try
|
||||
{
|
||||
// parse channel configuration
|
||||
ConfigurationParser.parseDocument("channels.xml");
|
||||
ParserResult parserResult = ConfigurationParser.getElements("channels");
|
||||
ConfigurationParser.parseDocument("../conf/channels.xml");
|
||||
ParserResult parserResult = ConfigurationParser.getElements("channel");
|
||||
List<ParserResultElement> elements = parserResult.getElements();
|
||||
for (ParserResultElement el : elements)
|
||||
{
|
||||
@ -61,8 +61,8 @@ public class FoodChain
|
||||
try
|
||||
{
|
||||
// parse channel configuration
|
||||
ConfigurationParser.parseDocument("nodes.xml");
|
||||
ParserResult parserResult = ConfigurationParser.getElements("nodes");
|
||||
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