A
Andrew Thompson
I would like to add the file size to a variety of JNLP
(XML) files that are generated by ant, as are the
(Jar) files themselves.
It confounds me that there seems to be no way in
ant, to retrieve the size of a file as an integer figure
of bytes.
Did I miss something? Either that provides that
functionality, or in the way ant works/is supposed to
work (e.g. write a custom task).
(BTW - ideally I am after an X-plat way, but for my own
purposes, even something 'exec' for Win. XP will do..)
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-general/200710/1
(XML) files that are generated by ant, as are the
(Jar) files themselves.
It confounds me that there seems to be no way in
ant, to retrieve the size of a file as an integer figure
of bytes.
Did I miss something? Either that provides that
functionality, or in the way ant works/is supposed to
work (e.g. write a custom task).
(BTW - ideally I am after an X-plat way, but for my own
purposes, even something 'exec' for Win. XP will do..)
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-general/200710/1