You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2012/04/23 17:08:27 UTC

svn commit: r1329272 - in /lucene/dev/trunk: dev-tools/scripts/checkJavadocLinks.py solr/build.xml

Author: rmuir
Date: Mon Apr 23 15:08:27 2012
New Revision: 1329272

URL: http://svn.apache.org/viewvc?rev=1329272&view=rev
Log:
LUCENE-4011: work around javadoc bug and enable javadocs-lint for solr

Modified:
    lucene/dev/trunk/dev-tools/scripts/checkJavadocLinks.py
    lucene/dev/trunk/solr/build.xml

Modified: lucene/dev/trunk/dev-tools/scripts/checkJavadocLinks.py
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/scripts/checkJavadocLinks.py?rev=1329272&r1=1329271&r2=1329272&view=diff
==============================================================================
--- lucene/dev/trunk/dev-tools/scripts/checkJavadocLinks.py (original)
+++ lucene/dev/trunk/dev-tools/scripts/checkJavadocLinks.py Mon Apr 23 15:08:27 2012
@@ -186,6 +186,10 @@ def checkAll(dirName):
       elif link.startswith('javascript:'):
         # ok...?
         pass
+      elif 'org/apache/solr/client/solrj/beans/Field.html' in link:
+        # see LUCENE-4011: this is a javadocs bug for constants 
+        # on annotations it seems?
+        pass
       elif link not in allFiles:
         # We only load HTML... so if the link is another resource (eg
         # SweetSpotSimilarity refs

Modified: lucene/dev/trunk/solr/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/build.xml?rev=1329272&r1=1329271&r2=1329272&view=diff
==============================================================================
--- lucene/dev/trunk/solr/build.xml (original)
+++ lucene/dev/trunk/solr/build.xml Mon Apr 23 15:08:27 2012
@@ -546,7 +546,7 @@
   <!-- TODO: does solr have any other docs we should check? -->
   <!-- TODO: also integrate checkJavaDocs.py, which does more checks -->
   <target name="javadocs-lint" depends="javadocs">
-    <!-- TODO: enable <check-broken-links dir="build/docs"/> -->
+    <check-broken-links dir="build/docs"/>
   </target>
  
   <target name="generate-maven-artifacts" depends="install-maven-tasks">