You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Rosendahl Sten - stro <st...@im.se> on 2002/12/16 13:52:27 UTC

loadfile fails on empty file

I use loadfile to fetch a list of files filtered by replaceregexp. When the
list (and file) is empty, the loadfile task will silently *not* set the
output property causing an error in the next task. Is there a way of setting
it the the empty string, or do I have to test if the property is set or not?

Sten Rosendahl (stro@im.se)
IMI Industri-Matematik International - THE ORDER COMPANY