Rebhan, Gilbert wrote: > >Hi, > >OK then i moved defaultexcludes > > <delete verbose="true" includeemptydirs="true"> > <fileset dir="c:/test" defaultexcludes="no"> > <include name ="**/*"/> > <exclude name="jars"/> > </fileset> > </delete> > >no DEPRECATED anymore, but there are still some dirs remaining >that should be deleted. > >
ok, if u are expecting all directories named jars to be deleted you need to do <exclude name="**/jars"/> gl, Jim Fuller >All that dirs have a /CVS subfolder with cvs metainf > >I'm using Ant 1.6.5 / jdk 1.4.2_05 / Win2000 > >So what's wrong ? > >Gilbert > > >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Thursday, June 09, 2005 2:23 PM >To: user@ant.apache.org; [EMAIL PROTECTED] >Subject: AW: [delete] dir, delete all but one subdir > >As the manual for <delete> sais: > defaultexcludes : Deprecated > >Move that to <fileset> and you should get rid off that message. > > >Jan > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]