You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2012/07/20 18:49:38 UTC

[Lucene-java Wiki] Update of "HowToGenerateNiceJavadocs" by RobertMuir

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.

The "HowToGenerateNiceJavadocs" page has been changed by RobertMuir:
http://wiki.apache.org/lucene-java/HowToGenerateNiceJavadocs?action=diff&rev1=1&rev2=2

Comment:
add option to build javadocs index for the website

     {{{rm -rf solr/build/docs/api}}}
     {{{rm -rf lucene/build/docs/api}}}
   1. next put a java7 compiler in your JAVA_HOME and $JAVA_HOME/bin in the front of your path.
-  1. under lucene: {{{ant -Dversion=X.Y.Z -Dbootclasspath=/path/to/the/minimum/java/jre/lib/rt.jar javadocs}}}
+  1. under lucene: {{{ant -Dversion=X.Y.Z -Djavadoc.noindex=false -Dbootclasspath=/path/to/the/minimum/java/jre/lib/rt.jar javadocs}}}
-  1. under solr: {{{ant -Dversion=X.Y.Z -Dspecversion=X.Y.Z -Dbootclasspath=/path/to/the/minimum/java/jre/lib/rt.jar javadocs}}}
+  1. under solr: {{{ant -Dversion=X.Y.Z -Djavadoc.noindex=false -Dspecversion=X.Y.Z -Dbootclasspath=/path/to/the/minimum/java/jre/lib/rt.jar javadocs}}}
   1. now you have fancy javadocs under lucene/build/docs/api and solr/build/docs/api, that otherwise link to the correct java versions and APIs, just look (hopefully) nicer.
   1. deploy these to the website instead of the ones from the RC. (someone could always volunteer to do that after the release really at any time)