Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Re: Leap Year Bug in Ant 1.7.0 FTP task - Daylight Savings?

Shay Thompson

2008-03-10

Replies: Find Java Web Hosting

Author LoginPost Reply

I noticed today that a few of my servers which run the Ant FTP task
failed on Sunday when they were working on Saturday, almost as if
they're now having a problem with daylight savings. I also noticed that
only the machines running Java 1.5.0_11 are failing while those with
1.5.0_04 are working, which is even more odd. All of these are throwing
NullPointerException's. I also tried touching the folder contents and
the parent folders so nothing had a date of 2/29 and still I see problems.



Francis Brennan wrote:
> You're correct, here is a bug filed against commons-net library that
> described the exact behaviour I observed:
>
> http://issues.apache.org/jira/browse/NET-193
>
> Francis
>
> -----Original Message-----
> From: Matt Benson [mailto:gudnabrsam@(protected)]
> Sent: Thursday, March 06, 2008 8:08 AM
> To: Ant Users List; jukka.uusisalo@(protected)
> Subject: RE: Leap Year Bug in Ant 1.7.0 FTP task?
>
> ALL: Note that Ant's FTP task uses commons-net, which received a flurry
> of bug reports relating to the leap day issue on Feb 29. This says to
> me that there is around a 99% chance that the bug lies in commons-net,
> and that Ant is for the most part powerless.
>
> -Matt
>
> --- Jukka Uusisalo <jukka.uusisalo@(protected)>
> wrote:
>
>  
>>> -----Original Message-----
>>> From: Francis Brennan [mailto:fbrennan@(protected)]
>>> Sent: 5. maaliskuuta 2008 23:48
>>> To: user@(protected)
>>> Subject: Leap Year Bug in Ant 1.7.0 FTP task?
>>>
>>>
>>> Has anyone else run across a bug in the FTP task
>>>    
>> in Ant 1.7.0
>>  
>>> related to
>>> Feb 29th timestamps?.
>>>
>>>    
>> I also run across this one and my workaround was just change
>> file/directory date something else than Feb 29.
>>
>> - Jukka -
>>
>>
>>
>>
>>  
> ---------------------------------------------------------------------
>  
>> To unsubscribe, e-mail:
>> user-unsubscribe@(protected)
>> For additional commands, e-mail:
>>  
> user-help@(protected)
>
>
>
>
> ________________________________________________________________________
> ____________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now.
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>  
©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.