lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5355) Add more support to validate the -Dbootclasspath given for javadocs generate
Date Tue, 03 Dec 2013 11:41:35 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-5355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13837603#comment-13837603
] 

ASF subversion and git services commented on LUCENE-5355:
---------------------------------------------------------

Commit 1547346 from [~thetaphi] in branch 'dev/trunk'
[ https://svn.apache.org/r1547346 ]

LUCENE-5355: Add support for -Dbootjdk to point to a separate JAVA_HOME that is used to generate
javadocs; validate the -Dbootclasspath to point to a valid rt.jar

> Add more support to validate the -Dbootclasspath given for javadocs generate
> ----------------------------------------------------------------------------
>
>                 Key: LUCENE-5355
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5355
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: general/build
>    Affects Versions: 4.6
>         Environment: MacOSX AppleJDK6
>            Reporter: Uwe Schindler
>             Fix For: 5.0, 4.7
>
>         Attachments: LUCENE-5355.patch
>
>
> When Simon created the nice looking javadocs for LuSolr 4.6, he just copypasted the command
line from http://wiki.apache.org/lucene-java/HowToGenerateNiceJavadocs
> Unfortunately this does not work with AppleJDK6, because it has no rt.jar! The rt.jar
file is there in a completely different directory and is named classes.jar. I had a similar
problem when I wanted to regenerate the Javadocs on my Linux box, but specified {{-Dbootclasspath}}
with shell specials (e.g., {{~}} for homedir).
> This patch will assist the user and will "validate" the given bootclasspath, so it points
to a JAR file that actually contains the runtime. Also to make life easier, instead of {{-Dbootclasspath}}
you can set {{-Dbootjdk}} to the JDK homefolder (same like JAVA_HOME) and ANT will figure
out if it is Apple or Oracle or maybe only a JRE.
> In the meantime, I regenerated the 4.6 Javadocs with correct bootclasspath.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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


Mime
View raw message