congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
Echo.setMessage
Code IndexAdd Tabnine to your IDE (free)

How to use
setMessage
method
in
org.apache.tools.ant.taskdefs.Echo

Best Java code snippets using org.apache.tools.ant.taskdefs.Echo.setMessage (Showing top 5 results out of 315)

origin: org.apache.geronimo.genesis.plugins/plugin-support

  public void echo(final String msg) {
    assert msg != null;
    
    Echo echo = (Echo)createTask("echo");
    echo.setMessage(msg);
    echo.execute();
  }
}
origin: org.codehaus.mojo/plugin-support

  public void echo(final String msg) {
    assert msg != null;
    
    Echo echo = (Echo)createTask("echo");
    echo.setMessage(msg);
    echo.execute();
  }
}
origin: appfuse/appfuse

private void installInternationalizationKeys(String webFramework) {
  createLoadFileTask("src/main/resources/" + pojoName + "-ApplicationResources.properties", "i18n.file").execute();
  File existingFile = new File(destinationDirectory + "/src/main/resources/ApplicationResources.properties");
  // if ApplicationResources doesn't exist, assume appfuse-light and use messages instead
  if (!existingFile.exists()) {
    if ("wicket".equalsIgnoreCase(webFramework)) {
      existingFile = new File(destinationDirectory + "/src/main/java/" + project.getGroupId().replace(".", "/")
          + "/webapp/pages/AbstractWebPage.properties");
    } else {
      existingFile = new File(destinationDirectory + "/src/main/resources/messages.properties");
    }
  }
  parsePropertiesFile(existingFile, pojoName);
  Echo echoTask = (Echo) antProject.createTask("echo");
  echoTask.setFile(existingFile);
  echoTask.setAppend(true);
  echoTask.setMessage(antProject.getProperty("i18n.file"));
  echoTask.execute();
}
origin: org.rundeck/rundeck-core

private Echo createEcho(final String message, final Project project, final String logLevel) {
  final Echo echo = new Echo();
  echo.setProject(project);
  final Echo.EchoLevel level = new Echo.EchoLevel();
  level.setValue(logLevel);
  echo.setLevel(level);
  echo.setMessage(message);
  return echo;
}
origin: org.apache.ivy/ivy

private void appendDeliveryList(String msg) {
  Echo echo = (Echo) getProject().createTask("echo");
  echo.setOwningTarget(getOwningTarget());
  echo.init();
  echo.setFile(deliveryList);
  echo.setMessage(msg + "\n");
  echo.setAppend(true);
  echo.perform();
}
org.apache.tools.ant.taskdefsEchosetMessage

Javadoc

Message to write.

Popular methods of Echo

  • execute
    Does the work.
  • setAppend
    If true, append to existing file.
  • setFile
    File to write to.
  • setLevel
    Set the logging level. Level should be one of * error * warning * info * verbose * debug The de
  • <init>
  • getLocation
  • getProject
  • init
  • perform
  • setOutput
    Resource to write to.
  • setOwningTarget
  • setProject
  • setOwningTarget,
  • setProject

Popular in Java

  • Making http requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • notifyDataSetChanged (ArrayAdapter)
  • setContentView (Activity)
  • Menu (java.awt)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now