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

           Summary: get task does not last part of url when redirected
           Product: Ant
           Version: 1.8.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Say you have this redirect url:
https://repository.apache.org/service/local/artifact/maven/redirect?r=releases&g=org.apache.geronimo.ext.tomcat&a=tomcat-parent-6.0.26&v=6.0.26.0&e=tar.gz&c=source-release

It is redirected to:
https://repository.apache.org/content/repositories/releases/org/apache/geronimo/ext/tomcat/tomcat-parent-6.0.26/6.0.26.0/tomcat-parent-6.0.26-6.0.26.0-source-release.tar.gz

The documentation of this task says: The destination file name use the last
part of the path of the source URL unless you also specify a mapper.

This is ignored in the redirect case. The output name is "redirect"

-- 
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