lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1614066 - in /lucene/dev/branches/branch_4x: ./ lucene/ lucene/analysis/ lucene/benchmark/ lucene/classification/ lucene/core/ lucene/demo/ lucene/expressions/ lucene/facet/ lucene/grouping/ lucene/highlighter/ lucene/join/ lucene/querypar...
Date Mon, 28 Jul 2014 16:06:17 GMT
Author: rmuir
Date: Mon Jul 28 16:06:16 2014
New Revision: 1614066

URL: http://svn.apache.org/r1614066
Log:
LUCENE-5593: speed up javadocs generation in build

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/lucene/   (props changed)
    lucene/dev/branches/branch_4x/lucene/analysis/   (props changed)
    lucene/dev/branches/branch_4x/lucene/analysis/analysis-module-build.xml
    lucene/dev/branches/branch_4x/lucene/benchmark/   (props changed)
    lucene/dev/branches/branch_4x/lucene/benchmark/build.xml
    lucene/dev/branches/branch_4x/lucene/classification/   (props changed)
    lucene/dev/branches/branch_4x/lucene/classification/build.xml   (contents, props changed)
    lucene/dev/branches/branch_4x/lucene/common-build.xml   (contents, props changed)
    lucene/dev/branches/branch_4x/lucene/core/   (props changed)
    lucene/dev/branches/branch_4x/lucene/core/build.xml
    lucene/dev/branches/branch_4x/lucene/demo/   (props changed)
    lucene/dev/branches/branch_4x/lucene/demo/build.xml
    lucene/dev/branches/branch_4x/lucene/expressions/   (props changed)
    lucene/dev/branches/branch_4x/lucene/expressions/build.xml
    lucene/dev/branches/branch_4x/lucene/facet/   (props changed)
    lucene/dev/branches/branch_4x/lucene/facet/build.xml
    lucene/dev/branches/branch_4x/lucene/grouping/   (props changed)
    lucene/dev/branches/branch_4x/lucene/grouping/build.xml
    lucene/dev/branches/branch_4x/lucene/highlighter/   (props changed)
    lucene/dev/branches/branch_4x/lucene/highlighter/build.xml
    lucene/dev/branches/branch_4x/lucene/join/   (props changed)
    lucene/dev/branches/branch_4x/lucene/join/build.xml
    lucene/dev/branches/branch_4x/lucene/module-build.xml   (contents, props changed)
    lucene/dev/branches/branch_4x/lucene/queryparser/   (props changed)
    lucene/dev/branches/branch_4x/lucene/queryparser/build.xml
    lucene/dev/branches/branch_4x/lucene/replicator/   (props changed)
    lucene/dev/branches/branch_4x/lucene/replicator/build.xml
    lucene/dev/branches/branch_4x/lucene/spatial/   (props changed)
    lucene/dev/branches/branch_4x/lucene/spatial/build.xml
    lucene/dev/branches/branch_4x/lucene/suggest/   (props changed)
    lucene/dev/branches/branch_4x/lucene/suggest/build.xml
    lucene/dev/branches/branch_4x/lucene/test-framework/   (props changed)
    lucene/dev/branches/branch_4x/lucene/test-framework/build.xml
    lucene/dev/branches/branch_4x/solr/   (props changed)
    lucene/dev/branches/branch_4x/solr/common-build.xml   (contents, props changed)
    lucene/dev/branches/branch_4x/solr/contrib/   (props changed)
    lucene/dev/branches/branch_4x/solr/contrib/dataimporthandler-extras/build.xml
    lucene/dev/branches/branch_4x/solr/contrib/map-reduce/build.xml
    lucene/dev/branches/branch_4x/solr/contrib/morphlines-cell/build.xml
    lucene/dev/branches/branch_4x/solr/contrib/morphlines-core/build.xml
    lucene/dev/branches/branch_4x/solr/core/   (props changed)
    lucene/dev/branches/branch_4x/solr/core/build.xml
    lucene/dev/branches/branch_4x/solr/solrj/   (props changed)
    lucene/dev/branches/branch_4x/solr/solrj/build.xml
    lucene/dev/branches/branch_4x/solr/test-framework/   (props changed)
    lucene/dev/branches/branch_4x/solr/test-framework/build.xml

Modified: lucene/dev/branches/branch_4x/lucene/analysis/analysis-module-build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/analysis/analysis-module-build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/analysis/analysis-module-build.xml (original)
+++ lucene/dev/branches/branch_4x/lucene/analysis/analysis-module-build.xml Mon Jul 28 16:06:16
2014
@@ -32,7 +32,8 @@
 
   <import file="../module-build.xml"/>
 
-  <target name="javadocs" depends="javadocs-analyzers-common, compile-core">
+  <target name="javadocs" depends="javadocs-analyzers-common, compile-core, check-javadocs-uptodate"
+          unless="javadocs-uptodate-${name}">
     <invoke-module-javadoc>
       <links>
         <link href="../analyzers-common"/>

Modified: lucene/dev/branches/branch_4x/lucene/benchmark/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/benchmark/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/benchmark/build.xml (original)
+++ lucene/dev/branches/branch_4x/lucene/benchmark/build.xml Mon Jul 28 16:06:16 2014
@@ -184,7 +184,8 @@
     </path>
 
     <target name="javadocs" depends="javadocs-memory,javadocs-highlighter,javadocs-analyzers-common,
-      javadocs-queryparser,javadocs-facet,javadocs-spatial,compile-core">
+      javadocs-queryparser,javadocs-facet,javadocs-spatial,compile-core,check-javadocs-uptodate"

+            unless="javadocs-uptodate-${name}">
     <invoke-module-javadoc>
       <links>
         <link href="../memory"/>

Modified: lucene/dev/branches/branch_4x/lucene/classification/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/classification/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/classification/build.xml (original)
+++ lucene/dev/branches/branch_4x/lucene/classification/build.xml Mon Jul 28 16:06:16 2014
@@ -39,7 +39,8 @@
 
   <target name="jar-core" depends="common.jar-core" />
 
-  <target name="javadocs" depends="javadocs-queries,compile-core">
+  <target name="javadocs" depends="javadocs-queries,compile-core,check-javadocs-uptodate"
+          unless="javadocs-uptodate-${name}">
     <invoke-module-javadoc>
       <links>
         <link href="../queries"/>

Modified: lucene/dev/branches/branch_4x/lucene/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/common-build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/common-build.xml (original)
+++ lucene/dev/branches/branch_4x/lucene/common-build.xml Mon Jul 28 16:06:16 2014
@@ -2012,6 +2012,15 @@ ${ant.project.name}.test.dependencies=${
     </sequential>
   </macrodef>
 
+  <target name="check-javadocs-uptodate">
+    <uptodate property="javadocs-uptodate-${name}" targetfile="${build.dir}/${final.name}-javadoc.jar">
+      <srcfiles dir="${src.dir}">
+        <include name="**/*.java"/>
+        <include name="**/*.html"/>
+      </srcfiles>
+    </uptodate>
+  </target>
+
   <macrodef name="modules-crawl">
     <attribute name="target" default=""/>
     <attribute name="failonerror" default="true"/>

Modified: lucene/dev/branches/branch_4x/lucene/core/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/core/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/core/build.xml (original)
+++ lucene/dev/branches/branch_4x/lucene/core/build.xml Mon Jul 28 16:06:16 2014
@@ -58,8 +58,9 @@
   <target name="test-core" depends="common.test"/>
 
   <target name="javadocs-core" depends="javadocs"/>
-  <target name="javadocs" description="Generate javadoc for core classes">
-  	<sequential>
+  <target name="javadocs" description="Generate javadoc for core classes" 
+          depends="check-javadocs-uptodate" unless="javadocs-uptodate-${name}">
+     <sequential>
       <mkdir dir="${javadoc.dir}/core"/>
       <invoke-javadoc destdir="${javadoc.dir}/core" title="${Name} ${version} core API">
         <sources>

Modified: lucene/dev/branches/branch_4x/lucene/demo/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/demo/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/demo/build.xml (original)
+++ lucene/dev/branches/branch_4x/lucene/demo/build.xml Mon Jul 28 16:06:16 2014
@@ -40,7 +40,8 @@
    <fileset dir="lib"/>
   </path>
 
-  <target name="javadocs" depends="javadocs-analyzers-common,javadocs-queryparser,javadocs-facet,javadocs-expressions,compile-core">
+  <target name="javadocs" depends="javadocs-analyzers-common,javadocs-queryparser,javadocs-facet,javadocs-expressions,compile-core,check-javadocs-uptodate"
+          unless="javadocs-uptodate-${name}">
     <!-- we link the example source in the javadocs, as its ref'ed elsewhere -->
     <invoke-module-javadoc linksource="yes">
       <links>

Modified: lucene/dev/branches/branch_4x/lucene/expressions/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/expressions/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/expressions/build.xml (original)
+++ lucene/dev/branches/branch_4x/lucene/expressions/build.xml Mon Jul 28 16:06:16 2014
@@ -40,7 +40,7 @@
 
   <target name="compile-core" depends="jar-queries,common.compile-core" />
 
-  <target name="javadocs" depends="javadocs-queries,compile-core">
+  <target name="javadocs" depends="javadocs-queries,compile-core,check-javadocs-uptodate"
unless="javadocs-uptodate-${name}">
     <invoke-module-javadoc>
       <links>
         <link href="../queries"/>

Modified: lucene/dev/branches/branch_4x/lucene/facet/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/facet/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/facet/build.xml (original)
+++ lucene/dev/branches/branch_4x/lucene/facet/build.xml Mon Jul 28 16:06:16 2014
@@ -36,7 +36,8 @@
 
   <target name="compile-core" depends="jar-queries,common.compile-core" />
 
-  <target name="javadocs" depends="javadocs-queries,compile-core">
+  <target name="javadocs" depends="javadocs-queries,compile-core,check-javadocs-uptodate"
+          unless="javadocs-uptodate-${name}">
     <invoke-module-javadoc>
       <links>
         <link href="../queries"/>

Modified: lucene/dev/branches/branch_4x/lucene/grouping/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/grouping/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/grouping/build.xml (original)
+++ lucene/dev/branches/branch_4x/lucene/grouping/build.xml Mon Jul 28 16:06:16 2014
@@ -37,7 +37,8 @@
 
     <target name="init" depends="module-build.init,jar-queries"/>
 
-    <target name="javadocs" depends="javadocs-queries,compile-core">
+    <target name="javadocs" depends="javadocs-queries,compile-core,check-javadocs-uptodate"
+            unless="javadocs-uptodate-${name}">
       <invoke-module-javadoc>
         <links>
           <link href="../queries"/>

Modified: lucene/dev/branches/branch_4x/lucene/highlighter/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/highlighter/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/highlighter/build.xml (original)
+++ lucene/dev/branches/branch_4x/lucene/highlighter/build.xml Mon Jul 28 16:06:16 2014
@@ -35,7 +35,8 @@
   </path>
 
   <target name="compile-core" depends="jar-memory, common.compile-core" />
-  <target name="javadocs" depends="javadocs-memory,compile-core">
+  <target name="javadocs" depends="javadocs-memory,compile-core,check-javadocs-uptodate"
+          unless="javadocs-uptodate-${name}">
     <invoke-module-javadoc>
       <links>
         <link href="../memory"/>

Modified: lucene/dev/branches/branch_4x/lucene/join/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/join/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/join/build.xml (original)
+++ lucene/dev/branches/branch_4x/lucene/join/build.xml Mon Jul 28 16:06:16 2014
@@ -36,7 +36,8 @@
 
   <target name="init" depends="module-build.init,jar-grouping"/>
 
-  <target name="javadocs" depends="javadocs-grouping,compile-core">
+  <target name="javadocs" depends="javadocs-grouping,compile-core,check-javadocs-uptodate"
+          unless="javadocs-uptodate-${name}">
     <invoke-module-javadoc>
       <links>
         <link href="../grouping"/>

Modified: lucene/dev/branches/branch_4x/lucene/module-build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/module-build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/module-build.xml (original)
+++ lucene/dev/branches/branch_4x/lucene/module-build.xml Mon Jul 28 16:06:16 2014
@@ -60,9 +60,10 @@
     <antcall target="common.test" inheritRefs="true" />
   </target>
   <target name="build-artifacts-and-tests" depends="jar, compile-test" />
-	
+
   <!-- TODO: why does this previous depend on compile-core? -->
-  <target name="javadocs" depends="compile-core,javadocs-lucene-core">
+  <target name="javadocs" depends="compile-core,javadocs-lucene-core,check-javadocs-uptodate"
+                          unless="javadocs-uptodate-${name}">
     <invoke-module-javadoc/>
   </target>	
 

Modified: lucene/dev/branches/branch_4x/lucene/queryparser/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/queryparser/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/queryparser/build.xml (original)
+++ lucene/dev/branches/branch_4x/lucene/queryparser/build.xml Mon Jul 28 16:06:16 2014
@@ -35,7 +35,8 @@
 
   <target name="compile-core" depends="jar-queries,jar-sandbox,common.compile-core"/>
 
-  <target name="javadocs" depends="javadocs-queries,javadocs-sandbox,compile-core">
+  <target name="javadocs" depends="javadocs-queries,javadocs-sandbox,compile-core,check-javadocs-uptodate"
+          unless="javadocs-uptodate-${name}">
     <invoke-module-javadoc>
       <links>
         <link href="../queries"/>

Modified: lucene/dev/branches/branch_4x/lucene/replicator/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/replicator/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/replicator/build.xml (original)
+++ lucene/dev/branches/branch_4x/lucene/replicator/build.xml Mon Jul 28 16:06:16 2014
@@ -38,7 +38,8 @@
 
   <target name="init" depends="module-build.init,jar-facet"/>
 
-  <target name="javadocs" depends="javadocs-facet,compile-core">
+  <target name="javadocs" depends="javadocs-facet,compile-core,check-javadocs-uptodate"
+          unless="javadocs-uptodate-${name}">
     <invoke-module-javadoc>
       <links>
         <link href="../facet"/>

Modified: lucene/dev/branches/branch_4x/lucene/spatial/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/spatial/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/spatial/build.xml (original)
+++ lucene/dev/branches/branch_4x/lucene/spatial/build.xml Mon Jul 28 16:06:16 2014
@@ -42,7 +42,8 @@
 
   <target name="compile-core" depends="jar-queries,common.compile-core" />
 
-  <target name="javadocs" depends="javadocs-queries,compile-core">
+  <target name="javadocs" depends="javadocs-queries,compile-core,check-javadocs-uptodate"
+          unless="javadocs-uptodate-${name}">
     <invoke-module-javadoc>
       <links>
         <link href="../queries"/>

Modified: lucene/dev/branches/branch_4x/lucene/suggest/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/suggest/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/suggest/build.xml (original)
+++ lucene/dev/branches/branch_4x/lucene/suggest/build.xml Mon Jul 28 16:06:16 2014
@@ -35,7 +35,8 @@
     <path refid="base.classpath"/>
   </path>
 
-  <target name="javadocs" depends="javadocs-queries,javadocs-misc,compile-core">
+  <target name="javadocs" depends="javadocs-queries,javadocs-misc,compile-core,check-javadocs-uptodate"
+          unless="javadocs-uptodate-${name}">
     <invoke-module-javadoc>
       <links>
         <link href="../analyzers-common"/>

Modified: lucene/dev/branches/branch_4x/lucene/test-framework/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/test-framework/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/test-framework/build.xml (original)
+++ lucene/dev/branches/branch_4x/lucene/test-framework/build.xml Mon Jul 28 16:06:16 2014
@@ -54,7 +54,8 @@
   <target name="-check-forbidden-rue"/>
 
   <target name="javadocs-core" depends="javadocs"/>
-  <target name="javadocs" depends="init,javadocs-lucene-core,javadocs-lucene-codecs">
+  <target name="javadocs" depends="init,javadocs-lucene-core,javadocs-lucene-codecs,check-javadocs-uptodate"
+          unless="javadocs-uptodate-${name}">
     <sequential>
       <mkdir dir="${javadoc.dir}/test-framework"/>
       <invoke-javadoc overview="${src.dir}/overview.html"

Modified: lucene/dev/branches/branch_4x/solr/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/common-build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/common-build.xml (original)
+++ lucene/dev/branches/branch_4x/solr/common-build.xml Mon Jul 28 16:06:16 2014
@@ -238,7 +238,7 @@
   <target name="lucene-javadocs" depends="javadocs-lucene-core,javadocs-analyzers-common,javadocs-analyzers-icu,javadocs-analyzers-kuromoji,javadocs-analyzers-phonetic,javadocs-analyzers-smartcn,javadocs-analyzers-morfologik,javadocs-analyzers-stempel,javadocs-analyzers-uima,javadocs-codecs,javadocs-expressions,javadocs-suggest,javadocs-grouping,javadocs-queries,javadocs-queryparser,javadocs-highlighter,javadocs-memory,javadocs-misc,javadocs-spatial,javadocs-test-framework"/>
 
   <!-- create javadocs for the current module -->
-  <target name="javadocs" depends="compile-core,define-lucene-javadoc-url,lucene-javadocs,javadocs-solr-core">
+  <target name="javadocs" depends="compile-core,define-lucene-javadoc-url,lucene-javadocs,javadocs-solr-core,check-javadocs-uptodate"
unless="javadocs-uptodate-${name}">
    	<sequential>
       <mkdir dir="${javadoc.dir}/${name}"/>
       <solr-invoke-javadoc>

Modified: lucene/dev/branches/branch_4x/solr/contrib/dataimporthandler-extras/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/contrib/dataimporthandler-extras/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/contrib/dataimporthandler-extras/build.xml (original)
+++ lucene/dev/branches/branch_4x/solr/contrib/dataimporthandler-extras/build.xml Mon Jul
28 16:06:16 2014
@@ -67,7 +67,7 @@
   </path>
 
   <!-- TODO: make this nicer like lucene? -->
-  <target name="javadocs" depends="compile-core,define-lucene-javadoc-url,lucene-javadocs,javadocs-solr-core,javadocs-dataimporthandler">
+  <target name="javadocs" depends="compile-core,define-lucene-javadoc-url,lucene-javadocs,javadocs-solr-core,javadocs-dataimporthandler,check-javadocs-uptodate"
unless="javadocs-uptodate-${name}">
         <sequential>
       <mkdir dir="${javadoc.dir}/${name}"/>
       <solr-invoke-javadoc>

Modified: lucene/dev/branches/branch_4x/solr/contrib/map-reduce/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/contrib/map-reduce/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/contrib/map-reduce/build.xml (original)
+++ lucene/dev/branches/branch_4x/solr/contrib/map-reduce/build.xml Mon Jul 28 16:06:16 2014
@@ -107,7 +107,7 @@
   </path>
   
   <!-- TODO: make this nicer like lucene? -->
-  <target name="javadocs" depends="compile-core,define-lucene-javadoc-url,lucene-javadocs,javadocs-solr-core,javadocs-extraction,javadocs-morphlines-core,javadocs-morphlines-cell">
+  <target name="javadocs" depends="compile-core,define-lucene-javadoc-url,lucene-javadocs,javadocs-solr-core,javadocs-extraction,javadocs-morphlines-core,javadocs-morphlines-cell,check-javadocs-uptodate"
unless="javadocs-uptodate-${name}">
         <sequential>
       <mkdir dir="${javadoc.dir}/${name}"/>
       <solr-invoke-javadoc>

Modified: lucene/dev/branches/branch_4x/solr/contrib/morphlines-cell/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/contrib/morphlines-cell/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/contrib/morphlines-cell/build.xml (original)
+++ lucene/dev/branches/branch_4x/solr/contrib/morphlines-cell/build.xml Mon Jul 28 16:06:16
2014
@@ -109,7 +109,7 @@
   </path>
   
   <!-- TODO: make this nicer like lucene? -->
-  <target name="javadocs" depends="compile-core,define-lucene-javadoc-url,lucene-javadocs,javadocs-solr-core,javadocs-extraction,javadocs-morphlines-core">
+  <target name="javadocs" depends="compile-core,define-lucene-javadoc-url,lucene-javadocs,javadocs-solr-core,javadocs-extraction,javadocs-morphlines-core,check-javadocs-uptodate"
unless="javadocs-uptodate-${name}">
         <sequential>
       <mkdir dir="${javadoc.dir}/${name}"/>
       <solr-invoke-javadoc>

Modified: lucene/dev/branches/branch_4x/solr/contrib/morphlines-core/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/contrib/morphlines-core/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/contrib/morphlines-core/build.xml (original)
+++ lucene/dev/branches/branch_4x/solr/contrib/morphlines-core/build.xml Mon Jul 28 16:06:16
2014
@@ -68,7 +68,7 @@
   </path>
   
   <!-- TODO: make this nicer like lucene? -->
-  <target name="javadocs" depends="compile-core,define-lucene-javadoc-url,lucene-javadocs,javadocs-solr-core,javadocs-extraction">
+  <target name="javadocs" depends="compile-core,define-lucene-javadoc-url,lucene-javadocs,javadocs-solr-core,javadocs-extraction,check-javadocs-uptodate"
unless="javadocs-uptodate-${name}"> 
         <sequential>
       <mkdir dir="${javadoc.dir}/${name}"/>
       <solr-invoke-javadoc>

Modified: lucene/dev/branches/branch_4x/solr/core/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/core/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/core/build.xml (original)
+++ lucene/dev/branches/branch_4x/solr/core/build.xml Mon Jul 28 16:06:16 2014
@@ -43,7 +43,7 @@
   </path>
 
   <!-- specialized to ONLY depend on solrj -->
-  <target name="javadocs" depends="compile-core,define-lucene-javadoc-url,lucene-javadocs,javadocs-solrj">
+  <target name="javadocs" depends="compile-core,define-lucene-javadoc-url,lucene-javadocs,javadocs-solrj,check-javadocs-uptodate"
unless="javadocs-uptodate-${name}">
     <sequential>
       <mkdir dir="${javadoc.dir}/${name}"/>
       <solr-invoke-javadoc>

Modified: lucene/dev/branches/branch_4x/solr/solrj/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/solrj/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/solrj/build.xml (original)
+++ lucene/dev/branches/branch_4x/solr/solrj/build.xml Mon Jul 28 16:06:16 2014
@@ -51,7 +51,8 @@
   </target>
 
   <!-- Specialized to depend on nothing -->
-  <target name="javadocs" depends="compile-core,define-lucene-javadoc-url">
+  <target name="javadocs" depends="compile-core,define-lucene-javadoc-url,check-javadocs-uptodate"
+          unless="javadocs-uptodate-${name}">
     <sequential>
       <mkdir dir="${javadoc.dir}/${name}"/>
       <solr-invoke-javadoc>

Modified: lucene/dev/branches/branch_4x/solr/test-framework/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/test-framework/build.xml?rev=1614066&r1=1614065&r2=1614066&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/test-framework/build.xml (original)
+++ lucene/dev/branches/branch_4x/solr/test-framework/build.xml Mon Jul 28 16:06:16 2014
@@ -59,7 +59,7 @@
   <!-- Override common-solr.javadocs to include JUnit links -->
   <!-- and to copy the built javadocs to ${dest}/docs/api/test-framework -->
   <target name="javadocs"
-          depends="compile-core,jar-test-framework,lucene-javadocs,javadocs-test-framework,define-lucene-javadoc-url">
+          depends="compile-core,jar-test-framework,lucene-javadocs,javadocs-test-framework,define-lucene-javadoc-url,check-javadocs-uptodate"
unless="javadocs-uptodate-${name}">
     <sequential>
       <mkdir dir="${javadoc.dir}/${name}"/>
       <!-- NOTE: explicitly not using solr-invoke-javadoc, or attempting to 



Mime
View raw message