HACK Fix to javadoc generation so GData Server is only attempted when using java1.5

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@414346 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2006-06-14 18:54:28 +00:00
parent 025936b4ae
commit 20ff5539db
1 changed files with 11 additions and 1 deletions

View File

@ -345,6 +345,14 @@
<attribute name="access"/> <attribute name="access"/>
<attribute name="destdir"/> <attribute name="destdir"/>
<sequential> <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 <javadoc
overview="src/java/overview.html" overview="src/java/overview.html"
packagenames="org.apache.lucene.*" packagenames="org.apache.lucene.*"
@ -379,7 +387,8 @@
<packageset dir="contrib/surround/src/java"/> <packageset dir="contrib/surround/src/java"/>
<packageset dir="contrib/swing/src/java"/> <packageset dir="contrib/swing/src/java"/>
<packageset dir="contrib/wordnet/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*"/> <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: Ant" packages="org.apache.lucene.ant*"/>
<group title="contrib: Highlighter" packages="org.apache.lucene.search.highlight*"/> <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: Lucli" packages="lucli*"/>
<group title="contrib: Memory" packages="org.apache.lucene.index.memory*"/> <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*"/> <group title="contrib: Miscellaneous " packages="org.apache.lucene.misc*:org.apache.lucene.queryParser.analyzing*:org.apache.lucene.queryParser.precedence*"/>