RE: Using mappers with delete task

2005-11-09 Thread Juergen Hermann
On Wed, 9 Nov 2005 16:17:01 -0600, Brown, Carlton wrote: >I'm working from 2 print references and neither mentions that the present selector supports mappers. Obviously you've got better information, do you mind sharing a link to it? The HTML docs that are on the homepage and in the distribu

RE: Using mappers with delete task

2005-11-09 Thread Brown, Carlton
nesday, November 09, 2005 3:44 PM > To: Ant Users List; Brown, Carlton > Subject: RE: Using mappers with delete task > > On Wed, 9 Nov 2005 15:03:27 -0600, Brown, Carlton wrote: > > You need to tell if you want us to narrate the docs: > > The tag supports the use of a conta

RE: Using mappers with delete task

2005-11-09 Thread Juergen Hermann
. >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, November 09, 2005 2:24 PM >> To: Ant Users List; Brown, Carlton >> Subject: Re: Using mappers with delete task >> >> On Wed, 9 Nov 2005 12:46:27 -0600, Brown, Carlton

RE: Using mappers with delete task

2005-11-09 Thread Brown, Carlton
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 09, 2005 2:24 PM > To: Ant Users List; Brown, Carlton > Subject: Re: Using mappers with delete task > > On Wed, 9 Nov 2005 12:46:27 -0600, Brown, Carlton wrote: >

Re: Using mappers with delete task

2005-11-09 Thread Juergen Hermann
On Wed, 9 Nov 2005 12:46:27 -0600, Brown, Carlton wrote: >To accomplish this, I tried using a mapper with the delete task, but I >got an error saying the delete doesn't support the use of mappers. >Without a mapper, I can't see how this would be done. use delete with a fileset and a present selec

RE: Using mappers with delete task

2005-11-09 Thread RADEMAKERS Tanguy
you could use a nested fileset with an excludes attribute. something like: /t >-Original Message- >From: Brown, Carlton [mailto:[EMAIL PROTECTED] >Sent: Wednesday, November 09, 2005 7:46 PM >To: Ant Users List >Subject: Using mappers with delete task > &

Using mappers with delete task

2005-11-09 Thread Brown, Carlton
If I have a number of files in /src with a suffix of .foo, then how can I specify to delete the un-suffixed files in /build ? For example, if I have files /src/Script1.foo and /src/Script2.foo, files to be deleted would be /build/Script1 and /build/Script2 To accomplish this, I tried us

Re: using mappers

2004-11-03 Thread Matt Benson
--- D Sledge <[EMAIL PROTECTED]> wrote: > Found the culprit! Don't use the "dir" and "file" > attributes simultaneously in the > element. > > > > Change it to: > > > Actually, would have been the correct way historically, but the file attribute was added fairly recently to sim

Re: using mappers

2004-11-02 Thread D Sledge
Found the culprit! Don't use the "dir" and "file" attributes simultaneously in the element. Change it to: and all is well in the realm of D Sledge. Thanks a million for your help! D Sledge __ Do you Yahoo!? Check out the ne

Re: using mappers

2004-11-02 Thread Matt Benson
--- D Sledge <[EMAIL PROTECTED]> wrote: > Wait... so if a target file doesn't exist ("XA" for > instance), it's considered up to date? > No, the example I'm working with is structured a little differently from yours, but I wanted to go ahead and get the merge problem out of the way. > Here's what

Re: using mappers

2004-11-02 Thread D Sledge
--- Matt Benson <[EMAIL PROTECTED]> wrote: > I created a self-contained buildfile to test this and > have noticed a problem when I ran ant with debug > logging. You should be using a merge mapper for this > example; the glob mapper isn't behaving as you expect > when you specify from with ONLY "*"

Re: using mappers

2004-11-02 Thread Matt Benson
--- D Sledge <[EMAIL PROTECTED]> wrote: (a bunch of stuff) I created a self-contained buildfile to test this and have noticed a problem when I ran ant with debug logging. You should be using a merge mapper for this example; the glob mapper isn't behaving as you expect when you specify from with O

Re: using mappers

2004-11-02 Thread D Sledge
--- Matt Benson <[EMAIL PROTECTED]> wrote: > --- D Sledge <[EMAIL PROTECTED]> wrote: > > It might be good to show what I have so far: > > > > > > > > > > > > > > > > > > Looks pretty good so far. What is the exact error > message? Now t

Re: using mappers

2004-11-02 Thread Matt Benson
--- D Sledge <[EMAIL PROTECTED]> wrote: > It might be good to show what I have so far: > > > > > > > > Looks pretty good so far. What is the exact error message? -Matt __ Do you Yahoo!?

Re: using mappers

2004-11-02 Thread D Sledge
--- Matt Benson <[EMAIL PROTECTED]> wrote: > --- D Sledge <[EMAIL PROTECTED]> wrote: > > File A is the source file for files X, Y, and Z. > > How do I set up my uptodate element so that it > > checks to see if X, Y, and Z are up to date? I've > > tried using a composite mapper, but ant keeps > >

Re: using mappers

2004-11-02 Thread D Sledge
--- Matt Benson <[EMAIL PROTECTED]> wrote: > --- D Sledge <[EMAIL PROTECTED]> wrote: > > File A is the source file for files X, Y, and Z. > > How do I set up my uptodate element so that it > > checks to see if X, Y, and Z are up to date? I've > > tried using a composite mapper, but ant keeps > >

Re: using mappers

2004-11-01 Thread Matt Benson
--- D Sledge <[EMAIL PROTECTED]> wrote: > File A is the source file for files X, Y, and Z. > How do I set up my uptodate element so that it > checks to see if X, Y, and Z are up to date? I've > tried using a composite mapper, but ant keeps > telling me that doesn't support a nested > composite m

using mappers

2004-11-01 Thread D Sledge
Here's the scenario: File A is the source file for files X, Y, and Z. How do I set up my uptodate element so that it checks to see if X, Y, and Z are up to date? I've tried using a composite mapper, but ant keeps telling me that doesn't support a nested composite mapper. Thanks, D