ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin H." <elemaill...@googlemail.com>
Subject get filename
Date Thu, 17 Aug 2006 11:58:00 GMT
Hi out there,

is it possible to get only the name of a file without the whole path??

This is for path - but only need the filename:
<for param="filename">
            <path>
                <fileset dir="reftest" />
            </path>
                <sequential><echo>@{filename}</echo></sequential>
                </for>

The files are in a directory!!

Regards ele

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