You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2013/07/22 17:21:46 UTC

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

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 SteveRowe:
https://wiki.apache.org/lucene-java/HowToGenerateNiceJavadocs?action=diff&rev1=4&rev2=5

Comment:
Remove obsolete Solr -Dspecversion=X.Y.Z from javadoc creation cmds (see SOLR-4677)

      {{{rm -rf solr/build/docs lucene/build/docs}}}
   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 -Djavadoc.noindex=false -Dbootclasspath=/path/to/the/minimum/java/jre/lib/rt.jar documentation}}}
-  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 documentation}}}
+  1. Under {{{solr/}}}: {{{ant -Dversion=X.Y.Z -Djavadoc.noindex=false -Dbootclasspath=/path/to/the/minimum/java/jre/lib/rt.jar documentation}}}
   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)