Package eu.planets_project.pp.plato.util

Examples of eu.planets_project.pp.plato.util.XMLCompare


               
                logText = exportedPlanFile +" -> " + sorted2;
                System.out.println(logText);
                log.info(logText);
               
                XMLCompare xmlCompare = new XMLCompare();
                xmlCompare.setExcludedNodes(nodesToExclude);
               
                if (xmlCompare.compareXml(sorted1, sorted2, true, true)) {
                    // they are equal, remove the exported plan
                    exportedPlanFile.delete();
                    log.info("SUCCESS");
                   
                } else {
                    logText = " - failed: " + System.getProperty("line.separator") + xmlCompare.getErrorMessage();
                   
                    System.out.println(logText);
                    log.info(logText);
                   
                    success = false;
View Full Code Here

TOP

Related Classes of eu.planets_project.pp.plato.util.XMLCompare

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.