You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Eugene Koontz (Updated) (JIRA)" <ji...@apache.org> on 2012/02/03 20:17:53 UTC

[jira] [Updated] (ZOOKEEPER-1386) avoid flaky URL redirection in "ant javadoc" : replace "http://java.sun.com/javase/6/docs/api/package-list" with "http://download.oracle.com/javase/6/docs/api/"

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eugene Koontz updated ZOOKEEPER-1386:
-------------------------------------

    Attachment: ZOOKEEPER-1386.patch
    
> avoid flaky URL redirection in "ant javadoc" : replace "http://java.sun.com/javase/6/docs/api/package-list" with "http://download.oracle.com/javase/6/docs/api/" 
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1386
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1386
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Eugene Koontz
>            Assignee: Eugene Koontz
>            Priority: Minor
>         Attachments: ZOOKEEPER-1386.patch
>
>
> It seems that the current javadoc.link.java value, http://java.sun.com/javase/6/docs/api/, redirects (via HTTP 301) to http://download.oracle.com/javase/6/docs/api/. This redirect does not always work apparently, causing the URL fetch to fail. This causes an additional javadoc warning: 
> javadoc: warning - Error fetching URL: http://java.sun.com/javase/6/docs/api/package-list
> which can in turn cause Jenkins to give a -1 to an otherwise OK build (see e.g. https://issues.apache.org/jira/browse/ZOOKEEPER-1373?focusedCommentId=13199456&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13199456). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira