Thanks Diane -- I'm not restricted to 1.4.1. I checked the 1.5 beta task and directory task documentation but didn't find the <date> selector. I did find selectors in the JavaDoc and I think that the DateSelector will fit the bill. However, I can't find any documentation about what to use the selector with. I grepped all the doc directories for "selector" and had no hits. Perhaps I'm overlooking the obvious!? Do I use it in a PatternSet? If you can just point me to the right documentation, I can figure the rest out.
thanks, --dk > -----Original Message----- > From: Diane Holt [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 09, 2002 5:21 PM > To: Ant Users List > Subject: Re: date filtering tar > > > --- David Knox <[EMAIL PROTECTED]> wrote: > > I require functionality from the tar task that will work like > > "tar --newer=DATE". I've looked over Filesets, etc. and don't see an > > obvious existing way to do this. Before I begin writing any code, > > I want to make sure that my conclusion is correct. Does anyone know of > > an alternative way using Ant? (Ant 1.4.1). > > Are you restricted to running 1.4.1? If you aren't, you can use the new > selector <date> tag -- otherwise, you'll need to write code (or a <script> > [I posted one not long ago that did that, so that might save you some > time]). > > Diane > > ===== > ([EMAIL PROTECTED]) > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Shopping - Mother's Day is May 12th! > http://shopping.yahoo.com > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
