// options.put(RequireKey.UNIVERSAL_PRECONDITIONS, false);
// options.put(RequireKey.CONDITIONAL_EFFECTS, false);
try {
Parser pddlParser = new Parser(options);
PDDLObject pddlDomain = pddlParser.parse(new File(domain));
PDDLObject pddlProblem = pddlParser.parse(new File(problem));
ErrorManager mgr = pddlParser.getErrorManager();
// If the parser produces errors we print it and stop
if (mgr.contains(Message.ERROR)) {
for(String m : mgr.getMessages(Message.ALL))
logger.severe(m);