« Return to Thread: Leap Year Bug in Ant 1.7.0 FTP task?

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

by Shay Thompson :: Rate this Message:

Reply to Author | View in Thread


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@...]
> Sent: Thursday, March 06, 2008 8:08 AM
> To: Ant Users List; jukka.uusisalo@...
> 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@...>
> wrote:
>
>  
>>> -----Original Message-----
>>> From: Francis Brennan [mailto:fbrennan@...]
>>> Sent: 5. maaliskuuta 2008 23:48
>>> To: user@...
>>> 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@...
>> For additional commands, e-mail:
>>    
> user-help@...
>
>
>
>  
> ________________________________________________________________________
> ____________
> 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@...
> For additional commands, e-mail: user-help@...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@...
> For additional commands, e-mail: user-help@...
>
>
>  

 « Return to Thread: Leap Year Bug in Ant 1.7.0 FTP task?