It works great! Thank you very much Jo
--- "Rebhan, Gilbert" <[EMAIL PROTECTED]> ha scritto: > > Hi, > > following snippet works here with ant 1.6.5 on > Win2k, jdk 1.4.2_08 > > <delete includeemptydirs="yes"> > <fileset dir="T:\test\Foobar" > defaultexcludes="no"> > <include name ="**/CVS/**"/> > </fileset> > </delete> > > recursive deleting all CVS folders under /Foobar > > works only with defaultexcludes="no" > > Regards, Gilbert > > > > -----Original Message----- > From: Giovanni Mesturini [mailto:[EMAIL PROTECTED] > Sent: Friday, March 03, 2006 11:50 AM > To: Ant Users List > Subject: RE: Delete a dir set > > Unfortunally the defaultexcludes are deprecated in > 1.6.5. Ant manual suggests using <fileset> instead > of > defaultexludes, and this is the first try I made: > > > <delete> > > <fileset dir="${cvs-module}" includes="**/CVS"/> > > </delete> > > playing with includes doesn't override the default > exclusions. trying on, if I will solve it I will > share > solution with community. > > thanks very much > Jo > > --- bill/wilandra <[EMAIL PROTECTED]> ha scritto: > > > From the Ant Manual <fileset> section: > > > > "There are a set of definitions that are excluded > by > > default from all > > directory-based tasks. They are: > > > > **/*~ > > **/#*# > > **/.#* > > **/%*% > > **/._* > > **/CVS > > **/CVS/** > > **/.cvsignore > > **/SCCS > > **/SCCS/** > > **/vssver.scc > > **/.svn > > **/.svn/** > > **/.DS_Store > > > > If you do not want these default excludes applied, > > you may disable them with > > the defaultexcludes="no" attribute. > > > > This is the default list, note that you can modify > > the list of default > > excludes by using the defaultexcludes task." > > > > Try that and see if it works better for you. > > > > HTH Bill > > > > -----Original Message----- > > From: Giovanni Mesturini > [mailto:[EMAIL PROTECTED] > > Sent: Thursday, March 02, 2006 8:10 AM > > To: [email protected] > > Subject: Delete a dir set > > > > Hi Community, > > > > I have to remove all CVS references from a tree. > > I've tried this: > > > > <delete> > > <fileset dir="${cvs-module}" includes="**/CVS"/> > > </delete> > > > > in order to delete all CVS directories from my > local > > module, but it doesn't > > work. > > > > How can I delete all CVS dirs spread inside my > > dir-tree? > > > > thanks very much > > Jo > > > > > > > > > > > > > > ___________________________________ > > Yahoo! Mail: gratis 1GB per i messaggi e allegati > da > > 10MB > > http://mail.yahoo.it > > > > > --------------------------------------------------------------------- > > 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] > > > > > > > > > > > > ___________________________________ > Yahoo! Mail: gratis 1GB per i messaggi e allegati da > 10MB > http://mail.yahoo.it > > --------------------------------------------------------------------- > 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] > > ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
