lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hoss...@apache.org
Subject svn commit: r414346 - /lucene/java/trunk/build.xml
Date Wed, 14 Jun 2006 18:54:28 GMT
Author: hossman
Date: Wed Jun 14 11:54:28 2006
New Revision: 414346

URL: http://svn.apache.org/viewvc?rev=414346&view=rev
Log:
HACK Fix to javadoc generation so GData Server is only attempted when using java1.5

Modified:
    lucene/java/trunk/build.xml

Modified: lucene/java/trunk/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/build.xml?rev=414346&r1=414345&r2=414346&view=diff
==============================================================================
--- lucene/java/trunk/build.xml (original)
+++ lucene/java/trunk/build.xml Wed Jun 14 11:54:28 2006
@@ -345,6 +345,14 @@
     <attribute name="access"/>
     <attribute name="destdir"/>
     <sequential>
+    
+      <condition property="javadoc-1-5-contrib">
+        <equals arg1="1.5" arg2="${ant.java.version}" />
+      </condition>
+      <dirset dir="contrib/gdata-server/src/java" id="gdata-server">
+        <include name="**" if="javadoc-1-5-contrib" />
+      </dirset>
+  
       <javadoc
           overview="src/java/overview.html"
           packagenames="org.apache.lucene.*"
@@ -379,7 +387,8 @@
         <packageset dir="contrib/surround/src/java"/>
         <packageset dir="contrib/swing/src/java"/>
         <packageset dir="contrib/wordnet/src/java"/>
-    <packageset dir="contrib/gdata-server/src/java"/> 
+        
+        <packageset refid="gdata-server" />
 
         <group title="Core" packages="org.apache.*:org.apache.lucene.analysis:org.apache.lucene.analysis.standard*"/>
 
@@ -389,6 +398,7 @@
         <group title="contrib: Ant" packages="org.apache.lucene.ant*"/>
 
         <group title="contrib: Highlighter" packages="org.apache.lucene.search.highlight*"/>
+        <group title="contrib: GData Server (Java1.5)" packages="org.apache.lucene.gdata.*"/>
         <group title="contrib: Lucli" packages="lucli*"/>
         <group title="contrib: Memory" packages="org.apache.lucene.index.memory*"/>
         <group title="contrib: Miscellaneous " packages="org.apache.lucene.misc*:org.apache.lucene.queryParser.analyzing*:org.apache.lucene.queryParser.precedence*"/>



Mime
View raw message