This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 196193 - downloaded javadoc has references to remote netbeans.css
Summary: downloaded javadoc has references to remote netbeans.css
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: API docs (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-02 19:52 UTC by err
Modified: 2011-03-09 05:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description err 2011-03-02 19:52:54 UTC
I was using bits.netbeans.org to reference NB api; but I am unable to access it, so I downloaded netbeans-7.0beta2-201102140001-javadoc.zip. There are files that have
        <link rel="stylesheet"
        href="http://www.netbeans.org/netbeans.css" type="text/css">
which causes problems, in particular when netbeans.org is down or slow. Here's some I've found
        /netbeans-7.0beta2-api/ $ grep -l netbeans.org/netbeans.css */*.html
        org-netbeans-api-xml/apichanges.html
        org-netbeans-modules-diff/apichanges.html
        org-netbeans-modules-editor-fold/apichanges.html
        org-netbeans-modules-javahelp/apichanges.html
        org-netbeans-modules-lexer/apichanges.html
        org-netbeans-modules-javahelp/apichanges.html
Since there are around 100 identical copies of netbeans.css, I'm guessing one of these can be used instead.

(perhaps this should be against www/web-content?)

BTW, at http://bits.netbeans.org/dev/javadoc/index.html I've been getting
    Forbidden
    You don't have permission to access
    /dev/javadoc/index.html on this server.
for a few days. Is this no longer supported?
Comment 1 Jesse Glick 2011-03-02 21:08:14 UTC
(In reply to comment #0)
> I downloaded netbeans-7.0beta2-201102140001-javadoc.zip

BTW easier is to just install "NetBeans API Documentation" from the update center, which also registers it for you.

> Since there are around 100 identical copies of netbeans.css, I'm guessing one
> of these can be used instead.

Yes, I thought it was already using relative links but maybe not.

> perhaps this should be against www/web-content?

It's not web content per se.

> at http://bits.netbeans.org/dev/javadoc/index.html I've been getting
>     Forbidden

Something broke in the release process, I guess. This would be a P1 in the www component.
Comment 2 Jesse Glick 2011-03-08 18:05:25 UTC
core-main #d8d5cfa54563
Comment 3 Quality Engineering 2011-03-09 05:40:05 UTC
Integrated into 'main-golden', will be available in build *201103090000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d8d5cfa54563
User: Jesse Glick <jglick@netbeans.org>
Log: #196193: links to http://www.netbeans.org/netbeans.css from downloaded Javadoc should be forbidden.