Package com.cenqua.clover.tasks

Examples of com.cenqua.clover.tasks.CloverTestCheckpointTask


        if (!new File(getCloverDatabase()).exists()) {
            getLog().info(getCloverDatabase() + " does not exist. Skipping checkpoint creation.");
            return;
        }

        CloverTestCheckpointTask task = new CloverTestCheckpointTask();
        final Project antProj = new Project();
        antProj.init();
        task.setProject(antProj);
        task.init();       
        getLog().info("Clover database at: " + getCloverDatabase());
        task.setInitString(getCloverDatabase());
        if (span != null) {
            task.setSpan(span);
        }

        task.setFile(checkpoint);
        getLog().info("Saving checkpoint.");
        antProj.addBuildListener(new MvnLogBuildListener(getLog()));
        task.execute();
    }
View Full Code Here

TOP

Related Classes of com.cenqua.clover.tasks.CloverTestCheckpointTask

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.