You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by dirk kredler <di...@computication.net> on 2001/09/29 16:43:31 UTC

problem with and , emacs

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







Re: problem with and , emacs

Posted by Shyam Koppikar <vk...@tds.net>.
----- Original Message -----
From: "Shyam Koppikar" <vk...@tds.net>
To: <an...@jakarta.apache.org>; "dirk kredler" <di...@computication.net>
Sent: Sunday, September 30, 2001 11:21 AM
Subject: Re: problem with <delete> and <fileset> , emacs


>
> ----- Original Message -----
> From: "Erik Hatcher" <ja...@ehatchersolutions.com>
> To: <an...@jakarta.apache.org>; "dirk kredler" <di...@computication.net>
> Sent: Saturday, September 29, 2001 9:26 AM
> Subject: Re: problem with <delete> and <fileset> , emacs
>
>
> > You need to add:
> >     defaultexcludes="no"
> >
> > See the documentation at the bottom of this page:
> > http://jakarta.apache.org/ant/manual/dirtasks.html
> >
> >     Erik
> >
> >
> > ----- Original Message -----
> > From: "dirk kredler" <di...@computication.net>
> > To: <an...@jakarta.apache.org>
> > Sent: Saturday, September 29, 2001 7:43 AM
> > Subject: problem with <delete> and <fileset> , emacs
> >
> >
> > > 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
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
>


Re: problem with and , emacs

Posted by Shyam Koppikar <vk...@tds.net>.
----- Original Message -----
From: "Shyam Koppikar" <vk...@tds.net>
To: <an...@jakarta.apache.org>; "dirk kredler" <di...@computication.net>
Sent: Sunday, September 30, 2001 11:21 AM
Subject: Re: problem with <delete> and <fileset> , emacs


>
> ----- Original Message -----
> From: "Erik Hatcher" <ja...@ehatchersolutions.com>
> To: <an...@jakarta.apache.org>; "dirk kredler" <di...@computication.net>
> Sent: Saturday, September 29, 2001 9:26 AM
> Subject: Re: problem with <delete> and <fileset> , emacs
>
>
> > You need to add:
> >     defaultexcludes="no"
> >
> > See the documentation at the bottom of this page:
> > http://jakarta.apache.org/ant/manual/dirtasks.html
> >
> >     Erik
> >
> >
> > ----- Original Message -----
> > From: "dirk kredler" <di...@computication.net>
> > To: <an...@jakarta.apache.org>
> > Sent: Saturday, September 29, 2001 7:43 AM
> > Subject: problem with <delete> and <fileset> , emacs
> >
> >
> > > 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
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
>


Re: problem with and , emacs

Posted by Shyam Koppikar <vk...@tds.net>.
----- Original Message -----
From: "Erik Hatcher" <ja...@ehatchersolutions.com>
To: <an...@jakarta.apache.org>; "dirk kredler" <di...@computication.net>
Sent: Saturday, September 29, 2001 9:26 AM
Subject: Re: problem with <delete> and <fileset> , emacs


> You need to add:
>     defaultexcludes="no"
>
> See the documentation at the bottom of this page:
> http://jakarta.apache.org/ant/manual/dirtasks.html
>
>     Erik
>
>
> ----- Original Message -----
> From: "dirk kredler" <di...@computication.net>
> To: <an...@jakarta.apache.org>
> Sent: Saturday, September 29, 2001 7:43 AM
> Subject: problem with <delete> and <fileset> , emacs
>
>
> > 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
> >
> >
> >
> >
> >
> >
> >
>


Re: problem with and , emacs

Posted by dirk kredler <di...@computication.net>.
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



Re: problem with and , emacs

Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
You need to add:
    defaultexcludes="no"

See the documentation at the bottom of this page:
http://jakarta.apache.org/ant/manual/dirtasks.html

    Erik


----- Original Message -----
From: "dirk kredler" <di...@computication.net>
To: <an...@jakarta.apache.org>
Sent: Saturday, September 29, 2001 7:43 AM
Subject: problem with <delete> and <fileset> , emacs


> 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
>
>
>
>
>
>
>