Hi all,
When I write the following loop, I get absolute file pathes.
<for param="file">
<path>
<fileset dir="${work.dir}" includes="**/*.xml"/>
</path>
<sequential>
<echo message="File : @{file}" />
</sequential>
</for>
C:\Temp\dir1\file1.xml
C:\Temp\dir1\file2.xml
C:\Temp\dir1\file3.xml
where work.dir=C:\Temp\dir1
I'd like to get :
file1.xml
file2.xml
file3.xml
Does anybody know how to transform absolute pathes to relative pathes ?
Thanks
A. ROY
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]