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


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

        

Reply via email to