ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Monsees" <>
Subject Deleting file does not work?
Date Thu, 19 Oct 2006 14:06:01 GMT

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"

The above does not delete the file, while this does the job:
	<delete verbose="true">

Is this supposed to be this way or what am I doing wrong?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message