ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ciramella, EJ" <ECirame...@emptoris.com>
Subject RE: Display a file
Date Wed, 23 Jul 2003 19:54:53 GMT
You could load each file as a property and then echo the property out to
your log file.


	<loadfile property="filecontents" srcFile="yourscript.sh"/>
	<echo file="yourlog.log" append="true" message="${filecontents}"/>

-----Original Message-----
From: mark.russel@pncbank.com [mailto:mark.russel@pncbank.com]
Sent: Wednesday, July 23, 2003 9:58 AM
To: user@ant.apache.org
Subject: Display a file


I generate some files in my ant script.

I want to be able to display them in the log file for audit reasons

Is there an ant task to display the contents of a file on the screen?

Mark Russell
PNC
412-768-9603

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message