Package org.apache.tools.ant.types

Examples of org.apache.tools.ant.types.Reference


    // classpath for tests
    // instrumented classes, unit test classes, and unit test libraries
    unitTestClasspath = new Path(getProject());
    unitTestClasspath.createPathElement().setPath(instrumentedBuild.getAbsolutePath());
    unitTestClasspath.createPath().setRefid(new Reference(getProject(), Key.testClasspath.referenceId()));
    unitTestClasspath.createPath().setRefid(new Reference(getProject(), Key.buildClasspath.referenceId()));
    unitTestClasspath.createPathElement().setPath(testClassesDirectory.getAbsolutePath());
   
    // log the unit test classpath to the console in debug mode   
    build.getConsole().debug("unit test classpath");
    for (String element : unitTestClasspath.toString().split(File.pathSeparator)) {
View Full Code Here


    // source files
    SourceFilesElement sourcefiles = structure.createSourcefiles();
    sourcefiles.setEncoding(attributes.getString("encoding", null));
    Path sourcepath = new Path(mxtest.getProject());
    sourcepath.setRefid(new Reference(mxtest.getProject(), Key.compileSourcePath.referenceId()));
    sourcefiles.add(sourcepath);
   
    // report output folder
    task.createHtml().setDestdir(mxtest.getCoverageReports());
   
View Full Code Here

TOP

Related Classes of org.apache.tools.ant.types.Reference

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.