RE: Uptodate task not working

2009-01-15 Thread Martin Gainty
necessarily endorse content contained within this transmission. > Date: Thu, 15 Jan 2009 07:55:06 -0800 > From: fadedmaxi...@gmail.com > To: user@ant.apache.org > Subject: Re: Uptodate task not working > > > Looking at the mappers that are provided: identity, fla

Re: Uptodate task not working

2009-01-15 Thread Faded-Maximus
Looking at the mappers that are provided: identity, flatten, glob, merge and regexp, it seems like none of this is what I want. I looked in the ANT section before and it doesn't seem to help unfortunately, since I still don't get it. I based mine off this: [code] [/code] "sets the p

Re: Uptodate task not working

2009-01-15 Thread Brian Stephenson
You need to write a mapper for the srcfiles element, that will present the files as you need them presented to the UpToDate task. What wrappers are and what they do is something difficult to encapsulate in a single message. I usually dislike answers that just deflect someone to another reference,

Re: Uptodate task not working

2009-01-15 Thread Faded-Maximus
Thanks for the reply. I understand what you mean and it makes sense that it's not working. I'm not sure how I would go about implementing what I actually want too though. If the zip file is newer then any file in the unzipped location, I want to unzip the zipped file again so I have the most uptod

Re: Uptodate task not working

2009-01-14 Thread Brian Stephenson
Hope that wasn't a direct cut-and-paste from the XML file, an important typo in there (the double quotes to open the "Required" property name). Nevertheless, I think that your problem relates to your use of the srcfiles element in the uptodate task. As quoted in the ANT manual: "If a eleme