From 753a6c60f47f3ac4f270005b65e9d6481de8eb68 Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Fri, 23 Oct 2015 10:00:02 -0700 Subject: Adding maven and ant source trees Change-Id: I0a39b9add833a31b9c3f98d193983ae2f3a5a445 Signed-off-by: Ashlee Young --- .../ant/apache-ant-1.9.6/manual/Tasks/echo.html | 193 +++++++++++++++++++++ 1 file changed, 193 insertions(+) create mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Tasks/echo.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/echo.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/echo.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/echo.html new file mode 100644 index 00000000..bcf804ec --- /dev/null +++ b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/echo.html @@ -0,0 +1,193 @@ + + + + + + +Echo Task + + + + +

Echo

+

Description

+

Echoes a message to the current loggers and listeners which +means System.out unless overridden. A level +can be specified, which controls at what logging level the message is +filtered at. +

+The task can also echo to a file, in which case the option to append rather +than overwrite the file is available, and the level option is +ignored

+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AttributeDescriptionRequired
messagethe message to echo.No. Text may also be included in a + character section within this element. If neither is included a + blank line will be emitted in the output.
filethe file to write the message to.Optionally one of these may be specified.
outputthe Resource + to write the message to (see note). + Since Apache Ant 1.8
appendAppend to an existing file (or + + open a new file / overwrite an existing file)? Default false. + No; ignored unless output indicates a + filesystem destination.
levelControl the level at which this message is reported. + One of "error", "warning", "info", "verbose", "debug" (decreasing order)No - default is "warning".
encodingencoding to use, default is ""; the local system encoding. since Ant 1.7No
forceOverwrite read-only destination + files. since Ant 1.8.2No; defaults to false.
+ +

Examples

+
+<echo message="Hello, world"/>
+
+
+<echo message="Embed a line break:${line.separator}"/>
+
+
+<echo>Embed another:${line.separator}</echo>
+
+
+<echo>This is a longer message stretching over
+two lines.
+</echo>
+
+
+<echo>
+This is a longer message stretching over
+three lines; the first line is a blank
+</echo>
+
+The newline immediately following the <echo> tag will be part of the output.
+Newlines in character data within the content of an element are not discarded by XML parsers.
+See +W3C Recommendation 04 February 2004 / End of Line handling + for more details. + +
<echo message="Deleting drive C:" level="debug"/>
+A message which only appears in -debug mode. +
<echo level="error">
+Imminent failure in the antimatter containment facility.
+Please withdraw to safe location at least 50km away.
+</echo>
+
+A message which appears even in -quiet mode. + +
<echo file="runner.csh" append="false">#\!/bin/tcsh
+java-1.3.1 -mx1024m ${project.entrypoint} $$*
+</echo>
+Generate a shell script by echoing to a file. +Note the use of a double $ symbol to stop Ant +filtering out the single $ during variable expansion + +

Depending on the loglevel Ant runs, messages are print out or silently +ignored: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Ant-Statement-quiet, -qno statement-verbose, -v-debug, -d
<echo message="This is error message." level="error" />
okokokok
<echo message="This is warning message." />
okokokok
<echo message="This is warning message." level="warning" />
okokokok
<echo message="This is info message." level="info" />
not loggedokokok
<echo message="This is verbose message." level="verbose" />
not loggednot loggedokok
<echo message="This is debug message." level="debug" />
not loggednot loggednot loggedok
+ + + + + + + + -- cgit 1.2.3-korg