ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul J. Lucas" <p...@lucasmail.org>
Subject Re: Deleting .svn directories example doesn't work
Date Thu, 21 May 2009 00:47:33 GMT
On May 20, 2009, at 2:34 PM, Paul J. Lucas wrote:

> I'm trying to use the "deleting subversion directories" example from  
> the manual:
>
> 	<delete includeemptydirs="true">
> 	  <fileset dir="${DIR}" includes="**/.svn" defaultexcludes="false"/>
> 	</delete>
>
> and it does nothing.  How can this be made to work?

It turns out the ant manual is wrong.  The includes needs to be:

	includes="**/.svn/"

Note the trailing slash.

- Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message