Package org.moxie.console

Examples of org.moxie.console.Console.log()


    console.debug(1, "classpath = {0}", classpath);

    for (SourceDirectory sd : build.getConfig().getSourceDirectories()) {
      // clean apt source directories before compiling
      if (sd.apt) {
        console.log("Cleaning apt source directory {0}", sd.name);
        FileUtils.delete(sd.getSources());
        sd.getSources().mkdirs();
      }
    }
View Full Code Here


      }
    }

    if (clean) {
      // clean the output folder before compiling
      console.log("Cleaning output directory {0}", getDestdir().getAbsolutePath());
      FileUtils.delete(getDestdir());
    }

    getDestdir().mkdirs();
View Full Code Here

    // set the update property name so we know if nothing compiled
    String prop = build.getPom().getCoordinates().replace(':', '.') + ".compiled";
    setUpdatedProperty(prop);
    super.execute();
    if (getProject().getProperty(prop) == null) {
      console.log(1, "compiled classes are up-to-date");
    }

    Copy copy = new Copy();
    copy.setTaskName(getTaskName());
    copy.setProject(getProject());
View Full Code Here

    copy.setProject(getProject());
    copy.setTodir(getDestdir());
    copy.setVerbose(getVerbose());

    if (getVerbose()) {
      console.log("copying resources => {0}", getDestdir());
    }

    if (excludes == null) {
      // default exclusions
      excludes = Toolkit.DEFAULT_CODE_EXCLUDES;
View Full Code Here

      File file = new File(path);
      if (file.isDirectory()) {
        FileSet set = prepareResourceSet(file);
        copy.addFileset(set);
        if (getVerbose()) {
          console.log("adding resource path {0}", path);
        }
      }
    }

    copy.execute();
View Full Code Here

    if (isShowTitle()) {
      console.title(getClass(), build.getPom().getCoordinates());
    }
   
    if (redirectorElement != null) {
      console.log(1, "Generating Javadoc... please wait");
      redirectedOutput = true;
      redirectorElement.configure(redirector);
      redirector.createStreams();
    }
View Full Code Here

    }

    Date start = new Date();
    console.key("started", start.toString());
    console.key("mainclass", getCommandLine().getClassname());
    console.log();
   
    Path classpath = createClasspath();
    // add project compiled output path
    classpath.createPathElement().setLocation(build.getConfig().getOutputDirectory(scope));
    if (!scope.isDefault()) {
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.