You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Randy Nott (JIRA)" <ji...@apache.org> on 2008/11/01 01:45:48 UTC

[jira] Commented: (IVY-959) Listing of URL's under a given URL does not handle fully specified URL's

    [ https://issues.apache.org/jira/browse/IVY-959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644475#action_12644475 ] 

Randy Nott commented on IVY-959:
--------------------------------

This works as desired, thank you.


> Listing of URL's under a given URL does not handle fully specified URL's
> ------------------------------------------------------------------------
>
>                 Key: IVY-959
>                 URL: https://issues.apache.org/jira/browse/IVY-959
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0-RC1
>            Reporter: Randy Nott
>            Assignee: Maarten Coene
>             Fix For: trunk
>
>         Attachments: ApacheURLLister.patch
>
>
> Listing of URL's under a given URL does not handle fully specified URL's thus failing resolution of dynamic versions with certain repositories. The following example is a directory listing returned by the Sonatype Nexus repository manager:
> <html>
>   <head>
>     <title>Index of /nexus/content/repositories/releases/myorganization/mymodule/</title>
>   </head>
>   <body>
>     <h1>Index of /nexus/content/repositories/releases/myorganization/mymodule/</h1>
>     <table cellspacing="10">
>       <tr>
>         <th align="left">Name</th>
>         <th>Last Modified</th>
>         <th>Size</th>
>         <th>Description</th>
>       </tr>
>       <tr>
>         <td>
>           <a href="http://example.com/nexus/content/repositories/releases/myorganization/">Parent Directory
> </a>
>         </td>
>       </tr>
>                   <tr>
>             <td>
>                               <a href="http://example.com/nexus/content/repositories/releases/myorganization/mymodule/1.0/">1.0/</a>
>                           </td>
>             <td align="center">
>               Tue Oct 28 00:41:33 PDT 2008
>             </td>
>             <td align="center">
>                               -
>                           </td>
>           </tr>
>             </table>
>   </body>
> </html>
> The current implementation fails as it only supports the URL as a path (no protocol or server/port).
> A patch to add support for full URL's is attached.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.