Hello, I have to copy a self-built lib from one project to another and before that I want to delete all previous versions of that file that might exist (the version number is contained within the filename).
Therefore, I wanted to use this: <!-- remove old versions first --> <echo message="${external.libfolder}${jar.prefix}-*.jar"/> <!-- outputs: ../app_client/lib/jaf-*.jar --> <delete file="${external.libfolder}${jar.prefix}-*.jar" verbose="true"/> The above does not delete the file, while this does the job: <delete verbose="true"> <fileset file="${external.libfolder}${jar.prefix}-*.jar"> </fileset> </delete> Is this supposed to be this way or what am I doing wrong? Lars --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]