You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2011/04/01 19:43:25 UTC

svn commit: r1087830 - in /lucene/dev/trunk/modules: analysis/icu/build.xml benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/WriteLineDocTask.java

Author: sarowe
Date: Fri Apr  1 17:43:24 2011
New Revision: 1087830

URL: http://svn.apache.org/viewvc?rev=1087830&view=rev
Log:
LUCENE-3006: die javadoc warnings die (modules/ edition)

Modified:
    lucene/dev/trunk/modules/analysis/icu/build.xml
    lucene/dev/trunk/modules/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/WriteLineDocTask.java

Modified: lucene/dev/trunk/modules/analysis/icu/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/modules/analysis/icu/build.xml?rev=1087830&r1=1087829&r2=1087830&view=diff
==============================================================================
--- lucene/dev/trunk/modules/analysis/icu/build.xml (original)
+++ lucene/dev/trunk/modules/analysis/icu/build.xml Fri Apr  1 17:43:24 2011
@@ -137,4 +137,28 @@ are part of the ICU4C package. See http:
     <m2-deploy-with-pom-template pom.xml="lib/lucene-icu4j-pom.xml.template"
                                  jar.file="lib/icu4j-4_6.jar" />
   </target>
+
+  <target name="javadocs" depends="compile-core">
+   	<sequential>
+       <mkdir dir="${javadoc.dir}/contrib-${name}"/>
+       <path id="javadoc.classpath">
+         <path refid="classpath"/>
+         <pathelement location="${ant.home}/lib/ant.jar"/>
+         <fileset dir=".">
+           <exclude name="build/**/*.jar"/>
+           <include name="**/lib/*.jar"/>
+         </fileset>
+       </path>
+       <invoke-javadoc
+         destdir="${javadoc.dir}/contrib-${name}"
+       	 title="${Name} ${version} contrib-${name} API">
+         <sources>
+           <link href="../contrib-analyzers-common"/>
+           <link href=""/>
+           <packageset dir="${src.dir}"/>
+        </sources>
+      </invoke-javadoc>
+      <jarify basedir="${javadoc.dir}/contrib-${name}" destfile="${build.dir}/${final.name}-javadoc.jar"/>
+    </sequential>
+  </target>	
 </project>

Modified: lucene/dev/trunk/modules/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/WriteLineDocTask.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/modules/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/WriteLineDocTask.java?rev=1087830&r1=1087829&r2=1087830&view=diff
==============================================================================
--- lucene/dev/trunk/modules/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/WriteLineDocTask.java (original)
+++ lucene/dev/trunk/modules/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/WriteLineDocTask.java Fri Apr  1 17:43:24 2011
@@ -43,7 +43,8 @@ import org.apache.lucene.document.Field;
  * <p>
  * The format of the output is set according to the output file extension.
  * Compression is recommended when the output file is expected to be large.
- * See info on file extensions in {@link StreamUtils.Type}
+ * See info on file extensions in
+ * {@link org.apache.lucene.benchmark.byTask.utils.StreamUtils.Type}
  * <p> 
  * Supports the following parameters:
  * <ul>