Package net.sourceforge.cruisecontrol.buildloggers

Examples of net.sourceforge.cruisecontrol.buildloggers.MergeLogger


        project.setName("myproject");
        File logDir = new File("test-results");
        logDir.mkdir();
        project.getLog().setLogDir("test-results");
        project.setLogXmlEncoding("ISO-8859-1");
        MergeLogger logger = new MergeLogger();
        logger.setFile("_auxLog1.xml");
        project.getLog().addLogger(logger);

        logger = new MergeLogger();
        logger.setDir("_auxLogs");
        project.getLog().addLogger(logger);

        project.setLabelIncrementer(new DefaultLabelIncrementer());
        project.setModificationSet(modSet);
        project.setLastBuild(formatTime(now));
View Full Code Here


        logDir.mkdir();
        project.getLog().setDir(TEST_DIR + File.separator + "test-results");
        project.setLogXmlEncoding("ISO-8859-1");
        project.getLog().validate();

        MergeLogger logger = new MergeLogger();
        logger.setFile(TEST_DIR + File.separator + "_auxLog1.xml");
        logger.validate();
        project.getLog().addLogger(logger);

        logger = new MergeLogger();
        logger.setDir(TEST_DIR + File.separator + "_auxLogs");
        logger.validate();
        project.getLog().addLogger(logger);

        project.setLabelIncrementer(new DefaultLabelIncrementer());
        project.setModificationSet(modSet);
        project.setLastBuild(formatTime(now));
View Full Code Here

TOP

Related Classes of net.sourceforge.cruisecontrol.buildloggers.MergeLogger

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.