set defaultexcludes="false" Ant has a builtin list of exclusions that apply to all filesets unless explicitly turned off, and the pattern you have trouble with is one of these.
See http://jakarta.apache.org/ant/manual/dirtasks.html for more details. Erik ----- Original Message ----- From: "David Smiley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 31, 2001 10:35 AM Subject: How to delete .# files with Ant > I tried searching the list for an answer beforehand but had difficulty > becuase I can't search for ".#". > > I made patternset that should select all junk temp files in my project. > Here it is: > > <!-- specify junk --> > <patternset id="junk" > > > <include name="temp/**"/> > <!-- generated by Resin --> > <include name="WEB-INF/work/**"/> > <include name="WEB-INF/tmp/**"/> > <!-- generated by CVS --> > <include name="**/.#*"/> > <!-- misc --> > <include name="**/*.log"/> > <include name="**/*.bak"/> > </patternset> > > Unfortunately, the <include name="**/.#*"/> does not work at all. I have > all these .# files littered around that are named something like: > ".#portlet.jsp.1.19" for example. I think CVS is generating them. What is > wrong here? > > Thanks. > > ~ Dave Smiley > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
