| AW: Echo a message without showing "echo " | AW: Echo a message without showing "echo " 2007-06-19 - By Jan.Materne@(protected)
When you want to reuse the <echo>, just set the taskname to some other value.
<presetdef name="mytask"> <echo taskname="mytask"/> </presetdef> <mytask message="hello"/>
If you want to get rid off all these log-prefixes, you can use the -emacs mode.
Jan
>-----Urspr?ngliche Nachricht----- >Von: 078840l@(protected) [mailto:078840l@(protected)] >Gesendet: Dienstag, 19. Juni 2007 14:41 >An: user@(protected) >Betreff: Echo a message without showing "echo" > >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) > >
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |