Examples of executeTarget()


Examples of org.apache.tools.ant.Project.executeTarget()

      populateJUnitElement(createDocumentSkeleton(doc));
      File tempAntFile = createTemporaryAntFile(doc);

      ProjectHelper.configureProject(antProject, tempAntFile);
      try {
        antProject.executeTarget(DEFAULT_TARGET);
      } finally {
        if (!leaveTemporary) {
          tempAntFile.delete();
        }
      }
View Full Code Here

Examples of org.grouplens.lenskit.eval.EvalProject.executeTarget()

        EvalProject project = engine.loadProject(file);
        if (getTargets().isEmpty()) {
            String dft = project.getDefaultTarget();
            if (dft != null) {
                project.executeTarget(dft);
            } else if (!project.getAntProject().getTargets().isEmpty()) {
                String targets = Joiner.on(", ")
                                       .join(project.getAntProject().getTargets().keySet());
                logger.error("No targets specified and no default provided (try one of: {})",
                             targets);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.