[EMAIL PROTECTED] wrote:
Opening the file with notepad is easy:<property name="logfile" value="log.txt"/> <macrodef name="log"> <attribute name="msg"/> <sequential> <echo file="${logfile}" append="true" message="@{msg}${line.separator}"/> </sequential> </macrodef> <macrodef name="notepad"> <attribute name="file" default="${logfile}"/> <sequential> <exec executable="notepad" taskname="notepad"> <arg value="${logfile}"/> </exec> </sequential> </macrodef> <log msg="one message"/> <log msg="another message"/> <notepad/> But this is only possible on systems where notepad exists (means Windows). You could also write a java application which shows the message and start that via <java>
Or create an HTML page and invoke firefox,safari or iexplore -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
