ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dc ...@wm.namco.co.jp>
Subject echoing filesize
Date Wed, 30 Jul 2003 10:56:37 GMT
Is there a built in ant task that can echo a filesize?
can task output be directed to a variable?

I am trying to create a portable build env that doesn't require external
tools/taskdefs.

vis:

<property name="filesize" value="... somehow read a file's size" />

<echo file="${MIDlet-Name}.jad" append="false">
	MIDlet-Name: ${MIDlet-Name}
	MIDlet-Jar-Size:${filesize}"
</echo>

tx,

/dc
+-----+-----------------------------------------+
david [dc] collier

NAMCO Ltd.
Web & Mobile Contents Business Group

  e   |   dc@wm.namco.co.jp
  v   |  +81(0)90 7414 6107


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message