ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: How to delete .# files with Ant
Date Mon, 31 Dec 2001 15:46:57 GMT
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" <dsmiley@mitre.org>
To: <ant-user@jakarta.apache.org>
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:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


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


Mime
View raw message