Mercurial > repos > mikel-egana-aranguren > oppl
diff OPPL/src/OPPLGalaxy.java @ 13:7e6604a5ee55
New query tool added
author | Mikel Egaña Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu> |
---|---|
date | Thu, 29 Mar 2012 14:49:22 +0200 |
parents | 6ca67b155e32 |
children | d3616fac4ca5 |
line wrap: on
line diff
--- a/OPPL/src/OPPLGalaxy.java Thu Mar 22 14:37:46 2012 +0100 +++ b/OPPL/src/OPPLGalaxy.java Thu Mar 29 14:49:22 2012 +0200 @@ -24,6 +24,7 @@ import org.semanticweb.owlapi.reasoner.OWLReasoner; + /** * @author Mikel EgaƱa Aranguren * @@ -81,11 +82,13 @@ // Parse the OPPL script ParserFactory parserFactory = new ParserFactory(manager, ontology, reasoner); - Logger logger = Logger.getLogger(Tool.class.getName()); + Logger logger = Logger.getLogger(OPPLGalaxy.class.getName()); // Logging.getQueryLogger().setLevel(Level.OFF); // The normal messages are errors for galaxy (Fixed in Galaxy by 2 > /dev/null) ErrorListener errorListener = (ErrorListener)new LoggerErrorListener(logger); OPPLParser opplparser = parserFactory.build(errorListener); OPPLScript OPPLscript = opplparser.parse(OPPL_script_source); + + // Execute the script ChangeExtractor extractor = new ChangeExtractor(new QuickFailRuntimeExceptionHandler(), true);