https://issues.apache.org/bugzilla/show_bug.cgi?id=47669

           Summary: Fix build with commons-net 2.0
           Product: Ant
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Optional Tasks
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Alexander Kurtakov <[email protected]> 2009-08-10 
04:33:57 PDT ---
Created an attachment (id=24122)
The patch.

The attached patch fixes compilation with commons-net 2.0. 
This patch is entirely backward-compatible because both constants
IMAGE_FILE_TYPE and BINARY_FILE_TYPE have the same value in commons-net 1.4 but
IMAGE_FILE_TYPE is removed in commons-net 2.0.
This change is needed for Linux distributions shipping ant with system
installed jars (e.g. commons-net) and needing updated commons-net for other
software.
Thanks in advance.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to