ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Scokart" <gscok...@gmail.com>
Subject RE: Leap Year Bug in Ant 1.7.0 FTP task?
Date Thu, 06 Mar 2008 13:44:15 GMT

We came at work with a 29 February bug also.  The bug was actually that we were parsing a
date without specifying the
year : "02/29".  At some step of the parsing the jdk consider the date is be in the year 1970
(which is not a leap
year), which crashed our application.

Regards,

Gilles


> -----Original Message-----
> From: Jukka Uusisalo [mailto:jukka.uusisalo@modultek.com]
> Sent: jeudi 6 mars 2008 14:16
> To: 'Ant Users List'
> Subject: RE: Leap Year Bug in Ant 1.7.0 FTP task?
> 
> > -----Original Message-----
> > From: Francis Brennan [mailto:fbrennan@adobe.com]
> > Sent: 5. maaliskuuta 2008 23:48
> > To: user@ant.apache.org
> > 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@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message