You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2012/03/01 01:29:08 UTC
DO NOT REPLY [Bug 52799] New: FTP action get fails on Feb 29th
https://issues.apache.org/bugzilla/show_bug.cgi?id=52799
Bug #: 52799
Summary: FTP action get fails on Feb 29th
Product: Ant
Version: 1.8.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Optional Tasks
AssignedTo: notifications@ant.apache.org
ReportedBy: rcoe@wi.rr.com
Classification: Unclassified
Ant is referencing the jarkata version, which is 1.4.1, and has apparently
been retired. So this isn't specifically an ant problem, but a problem with
the commons-net library installed on the host.
An FTP get task in our ant build fails for for fetching files created on Feb
29.
The failure is caused by
org.apache.commons.net.ftp.parser.UnixFTPEntryParser.parseFTPEntry
in apache-commons-net 1.4.1 and is fixed by apache-commons-net 3.1.
print entry
entry = "drwxr-xr-x 7 tm_build staff 1024 Feb 29 14:28 config"
print datestr
datestr = "Feb 29 14:28"
Version 1.4.1:
168 try
169 {
170 file.setTimestamp(super.parseTimestamp(datestr));
171 }
172 catch (ParseException e)
173 {
174 return null; // this is a parsing failure too.
175 }
is fixed by
184 try
185 {
186 file.setTimestamp(super.parseTimestamp(datestr));
187 }
188 catch (ParseException e)
189 {
190 // intentionally do nothing
191 }
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 52799] FTP action get fails on Feb 29th
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52799
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Stefan Bodewig <bo...@apache.org> 2012-03-01 08:59:08 UTC ---
There isn't anything that would prevent you from using Commons Net 3.x with Ant
1.8.2 AFAIK.
The tasks are compiled against 1.4 but they are supposed to work with later
versions as well. Ant's distribution doesn't bundle any version of Commons
Net, so I don't think this is an issue for Ant.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 52799] FTP action get fails on Feb 29th
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52799
--- Comment #2 from Rich Coe <rc...@wi.rr.com> 2012-03-01 15:16:51 UTC ---
Looks like it was fixed by
https://issues.apache.org/jira/browse/NET-444
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.