Can anyone tell me is it possible to list a directory contents with just filenames (rather than the full filename which includes the path to the file included)
The code below gives me a list of all files in the current directory, but when I want to use them they are in the format of <path>/<filename>...e.g usr/home/ant/Manifest.mf
<fileset dir="." id="all.files">
<include name="*"/>
</fileset>
<pathconvert pathsep="," property="allfiles" refid="all.files"/>
what I want is just "Manifest.mf"
anyone any ideas ?
many thanks
The code below gives me a list of all files in the current directory, but when I want to use them they are in the format of <path>/<filename>...e.g usr/home/ant/Manifest.mf
<fileset dir="." id="all.files">
<include name="*"/>
</fileset>
<pathconvert pathsep="," property="allfiles" refid="all.files"/>
what I want is just "Manifest.mf"
anyone any ideas ?
many thanks