mirror of https://github.com/apache/lucene.git
build: fix javadoc targets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1080647 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c79738d50f
commit
fb15b2b0e4
|
@ -157,7 +157,13 @@
|
||||||
</solr-javac>
|
</solr-javac>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="javadoc-solrj" depends="compile-solrj" description="Generates solrj javadoc documentation.">
|
<target name="javadoc-dep">
|
||||||
|
<copy failonerror="false" todir="${build.docs}">
|
||||||
|
<fileset dir="site" />
|
||||||
|
</copy>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="javadoc-solrj" depends="compile-solrj,javadoc-dep" description="Generates solrj javadoc documentation.">
|
||||||
<sequential>
|
<sequential>
|
||||||
<mkdir dir="${build.javadoc}/solrj"/>
|
<mkdir dir="${build.javadoc}/solrj"/>
|
||||||
|
|
||||||
|
@ -176,7 +182,7 @@
|
||||||
</sequential>
|
</sequential>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="javadoc-core" depends="compile" description="Generates javadoc documentation for core.">
|
<target name="javadoc-core" depends="compile,javadoc-dep" description="Generates javadoc documentation for core.">
|
||||||
|
|
||||||
<sequential>
|
<sequential>
|
||||||
<mkdir dir="${build.javadoc}/solr"/>
|
<mkdir dir="${build.javadoc}/solr"/>
|
||||||
|
@ -199,7 +205,7 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
<target name="javadoc-all" description="Generate javadoc for core, client and contrib">
|
<target name="javadoc-all" depends="compile,javadoc-dep" description="Generate javadoc for core, client and contrib">
|
||||||
<sequential>
|
<sequential>
|
||||||
<mkdir dir="${build.javadoc}"/>
|
<mkdir dir="${build.javadoc}"/>
|
||||||
|
|
||||||
|
@ -235,12 +241,12 @@
|
||||||
</sequential>
|
</sequential>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="javadoc-contrib" description="Generate javadoc for contrib classes" depends="build-contrib">
|
<target name="javadoc-contrib" description="Generate javadoc for contrib classes" depends="build-contrib,javadoc-dep">
|
||||||
<contrib-crawl target="javadoc"
|
<contrib-crawl target="javadoc"
|
||||||
failonerror="true"/>
|
failonerror="true"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="javadoc" depends="javadoc-core, javadoc-contrib, javadoc-solrj, javadoc-all">
|
<target name="javadoc" depends="javadoc-contrib, javadoc-solrj, javadoc-all">
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="stub-factories" depends="dist-jar"
|
<target name="stub-factories" depends="dist-jar"
|
||||||
|
@ -850,10 +856,6 @@
|
||||||
depends="dist, example, javadoc">
|
depends="dist, example, javadoc">
|
||||||
<mkdir dir="${package.dir}"/>
|
<mkdir dir="${package.dir}"/>
|
||||||
|
|
||||||
<copy failonerror="false" todir="${build.docs}">
|
|
||||||
<fileset dir="site" />
|
|
||||||
</copy>
|
|
||||||
|
|
||||||
<delete includeemptydirs="true">
|
<delete includeemptydirs="true">
|
||||||
<fileset dir="${example}/work" includes="**/*"/>
|
<fileset dir="${example}/work" includes="**/*"/>
|
||||||
</delete>
|
</delete>
|
||||||
|
|
Loading…
Reference in New Issue