ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dirk kredler" <d...@computication.net>
Subject Re: problem with <delete> and <fileset> , emacs
Date Sat, 29 Sep 2001 23:26:03 GMT
hi erik,

thank you very much - that solved my problem;
simply adding the

defaultexcludes="no"

attribute to the <fileset> element.

> You need to add:
>     defaultexcludes="no"
>
> See the documentation at the bottom of this page:
> http://jakarta.apache.org/ant/manual/dirtasks.html
>
>     Erik
>
> > hi list,
> >
> > as a user of ant (1.4) (binaries distirbution) under nt and linux,
> > is have the following problem:
> >
> > i like to get rid periodcally from the automatically created emacs
"java~"
> > backup files;
> > so i thought its easy to do this job with ant:
> >
> > i included the following directive in my build.xml:
> > ...
> > <delete>
> >        <fileset dir="." includes="**/*.java~"/>
> >  </delete>
> > ...
> >
> > but i doesn't works. all *.java~ files are still present.
> > if i try the same with:
> >
> >   <delete>
> >        <fileset dir="." includes="**/*.bak"/>
> >     </delete>
> >
> > all .bak files gone.
> >
> > so, where is the point to get it working with *.java~
> > files ?
> >
> > thx,
> >
> > dirk



Mime
View raw message