jastrachan | 30 Apr 09:16 2004
Picon

Re: using date selection in fileset

I'm not sure, we'll have to create a test case to try narrow down this 
bug - could you raise a JIRA issue for this please?

On 29 Apr 2004, at 21:18, Timothy Barreto wrote:

>   ant.zip(destfile:zipfile,update:"true") {
>     fileset(dir:f,includes:"*.log.complete") {
>         date(datetime:"04/22/2004 03:08 PM",when:"before")
>     }
>   };
>
> This doesn't work either, here is the exception.
>
> Caught: groovy.lang.MissingMethodException: No such method: fileset for
> class: test$3 with arguments: [[includes:*.log.complete,
> dir:C:\wget\weblogs\aquariumteacher.com\W3SVC16], test$5@...]
>
> -----Original Message-----
> From: groovy-user-admin@...
> [mailto:groovy-user-admin@...] On Behalf Of
> jastrachan@...
> Sent: Thursday, April 29, 2004 2:54 PM
> To: groovy-user@...
> Subject: Re: [groovy-user] using date selection in fileset
>
>
>
> On 29 Apr 2004, at 20:36, Timothy Barreto wrote:
>> I'm trying to use the date selector with a file set and I'm not sure
>> of the syntax.  This is what I'm trying:
>>  
>>  ant.zip(destfile:zipfile,update:"true") {
>>     fileset(dir:f,includes:"*.log.complete") {
>>         date(datetime:cutofftime,when:"before")
>>      } 
>>   
>> This statement works without the date selector, am I missing something
>> here?
>
> Whats the value of cutofftime?
>
> AFAIK it has to be a String in the right format for the Ant task to
> work, I think.
>
> James
> -------
> http://radio.weblogs.com/0112098/
>
> _______________________________________________
> groovy-user mailing list
> groovy-user@...
> http://lists.codehaus.org/mailman/listinfo/groovy-user
>
> __________ NOD32 1.743 (20040429) Information __________
>
> This message was checked by NOD32 antivirus system. 
> http://www.nod32.com
>
>
> _______________________________________________
> groovy-user mailing list
> groovy-user@...
> http://lists.codehaus.org/mailman/listinfo/groovy-user
>
>

James
-------
http://radio.weblogs.com/0112098/

Gmane