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

Robert Muir updated LUCENE-5593:
--------------------------------

    Attachment: LUCENE-5593.patch

Attached is a patch ensuring javadocs are only built if they are out of date. 
This also ensures they are only built once for each module.

Today imagine the following:
* A/
* B/ depends on A/
* C/ depends on B/

we currently build A 3 times, B twice, and C once. So we do 6 javadocs builds. 
With the patch we only build A once, B once, and C once.

> javadocs generation in release tasks: painfully slow
> ----------------------------------------------------
>
>                 Key: LUCENE-5593
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5593
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-5593.patch
>
>
> Something is wrong here in the way this generation works, I see some of the 
> same javadocs being generated over and over and over again. 
> The current ant tasks seem to have a O(n!) runtime with respect to how many 
> modules we have: its obnoxiously slow on a non-beast computer. There is a bug 
> here...



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to