SOLR-2766: Package individual javadoc sites for solrj and test-framework.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171385 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Rowe 2011-09-16 04:47:04 +00:00
parent 90e0977c5a
commit 24695807f3
4 changed files with 26 additions and 4 deletions

View File

@ -357,6 +357,8 @@ Bug Fixes
module to the o.a.s.util package in the Solr core module. module to the o.a.s.util package in the Solr core module.
(David Smiley via Steve Rowe) (David Smiley via Steve Rowe)
* SOLR-2766: Package individual javadoc sites for solrj and test-framework.
(Steve Rowe, Mike McCandless)
================== 3.4.0 ================== ================== 3.4.0 ==================

View File

@ -135,7 +135,8 @@
depends="test-solr-core, test-solrj"/> depends="test-solr-core, test-solrj"/>
<target name="compile-test" description="Compile unit tests." <target name="compile-test" description="Compile unit tests."
depends="compile-solr-test-framework, compile-test-solr-core, compile-test-solrj, compile-test-contrib, test-jsp"/> depends="compile-solr-test-framework, compile-test-solr-core, compile-test-solrj, compile-test-contrib, test-jsp"/>
<target name="javadocs" description="Calls javadocs-all" depends="javadocs-all"/> <target name="javadocs" description="Calls javadocs-all, javadocs-solrj, and javadocs-test-framework"
depends="javadocs-all,javadocs-solrj,javadocs-test-framework"/>
<target name="compile-core" depends="compile-solr-core" unless="solr.core.compiled"/> <target name="compile-core" depends="compile-solr-core" unless="solr.core.compiled"/>
<!-- Solr core targets --> <!-- Solr core targets -->
@ -151,6 +152,11 @@
<propertyset refid="uptodate.and.compiled.properties"/> <propertyset refid="uptodate.and.compiled.properties"/>
</ant> </ant>
</target> </target>
<target name="javadocs-solrj">
<ant dir="solrj" target="javadocs" inheritAll="false">
<propertyset refid="uptodate.and.compiled.properties"/>
</ant>
</target>
<!-- Solr contrib targets --> <!-- Solr contrib targets -->
<target name="test-contrib" description="Run contrib unit tests."> <target name="test-contrib" description="Run contrib unit tests.">
@ -158,7 +164,7 @@
</target> </target>
<!-- test-framework targets --> <!-- test-framework targets -->
<target name="javadocs-test-framework"> <!-- Called from Jenkins build script --> <target name="javadocs-test-framework">
<ant dir="test-framework" target="javadocs" inheritAll="false"> <ant dir="test-framework" target="javadocs" inheritAll="false">
<propertyset refid="uptodate.and.compiled.properties"/> <propertyset refid="uptodate.and.compiled.properties"/>
</ant> </ant>

View File

@ -41,4 +41,11 @@
</fileset> </fileset>
</copy> </copy>
</target> </target>
<target name="javadocs" depends="common-solr.javadocs">
<mkdir dir="${dest}/docs/api/solrj"/>
<copy todir="${dest}/docs/api/solrj">
<fileset dir="${javadoc.dir}"/>
</copy>
</target>
</project> </project>

View File

@ -38,5 +38,12 @@
<classpath refid="test.base.classpath"/> <classpath refid="test.base.classpath"/>
</compile> </compile>
</target> </target>
<target name="javadocs" depends="common-solr.javadocs">
<mkdir dir="${dest}/docs/api/test-framework"/>
<copy todir="${dest}/docs/api/test-framework">
<fileset dir="${javadoc.dir}"/>
</copy>
</target>
</project> </project>