Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Echo a message without showing "echo "

Echo a message without showing "echo "

2007-06-19       - By 078840l@(protected)
Reply:     1     2  

Hello
 
I am writing ant tasks and want to echo a message on the user interface. My
question is how to show the message without showing the [echo] right in
front of the message.

For example, By running the following script:

<target description="echo a message" name="echoMsg">
<echo message="A Message" />
</target>
 
I get:

Buildfile: build.xml
echoMsg:
     [echo] A message
BUILD SUCCESSFUL
Total time: 2 seconds

However, what I want is:

Buildfile: build.xml
echoMsg:
     A message
BUILD SUCCESSFUL
Total time: 2 seconds

So, How can I echo the message without showing the "[echo]" part.

Thank you.

Dee



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.