commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [ALL] Why does Javadoc take so long?
Date Wed, 17 Nov 2010 00:44:49 GMT
I think I've discovered the cause.

Commons Javadoc uses the URL defined in Commons Parent POM:

http://java.sun.com/javase/6/docs/api/

Using JMeter to download this URL takes at least 200 seconds (if it
even responds) merely to return a redirect to

http://download.oracle.com/javase/6/docs/api/

The redirect takes so long that I get the following error message when
executing mvn javadoc:javadoc
[ERROR] Error fetching link:
http://java.sun.com/javase/6/docs/api/package-list. Ignored it.

No wonder javadoc is so slow - 6 minutes 40 seconds(sun) as opposed to
23 seconds (oracle).

Unfortunately AFAICT one cannot override the <link> property (defined
in commons-parent) on the command-line, nor in settings.xml.
So we need to update commons-parent ASAP.

Note: occaisionally the response is a lot quicker; dunno why that is.

On 11 November 2010 23:18, Adrian Crum <adrianc@hlmksw.com> wrote:
> I usually change the Java source code to a small italic font so the parsing
> will go faster.
>
> -Adrian
>
> On 11/11/2010 3:09 PM, sebb wrote:
>>
>> I've been testing the NET build, and find that the javadoc phases take
>> ages - 5 or 6 minutes each for main and test.
>>
>> Is this normal, or is there something I can do to speed it up?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message