2001-09-18 12:31:24 -04:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
2005-05-06 19:43:54 -04:00
|
|
|
<project name="core" default="default" basedir=".">
|
2003-09-20 13:45:32 -04:00
|
|
|
|
2005-05-12 14:11:04 -04:00
|
|
|
<property name="junit.includes" value="**/Test*.java"/>
|
2003-09-20 13:45:32 -04:00
|
|
|
|
2005-05-01 20:11:11 -04:00
|
|
|
<import file="common-build.xml"/>
|
2003-09-20 13:45:32 -04:00
|
|
|
|
2006-03-21 10:36:32 -05:00
|
|
|
|
2003-09-10 21:51:33 -04:00
|
|
|
|
2005-05-06 19:43:54 -04:00
|
|
|
<property name="demo.name" value="lucene-demos-${version}"/>
|
2005-05-01 20:11:11 -04:00
|
|
|
<property name="demo.war.name" value="luceneweb"/>
|
|
|
|
<property name="javadoc.link" value="http://java.sun.com/j2se/1.4/docs/api/"/>
|
2003-09-20 13:45:32 -04:00
|
|
|
|
2002-09-19 22:17:14 -04:00
|
|
|
<!-- Build classpath -->
|
|
|
|
<path id="classpath">
|
2003-09-20 13:45:32 -04:00
|
|
|
<pathelement location="${build.dir}/classes/java"/>
|
2002-09-19 22:17:14 -04:00
|
|
|
</path>
|
|
|
|
|
2002-11-07 12:31:27 -05:00
|
|
|
<path id="demo.classpath">
|
|
|
|
<path refid="classpath"/>
|
2003-09-20 13:45:32 -04:00
|
|
|
<pathelement location="${build.dir}/classes/demo"/>
|
2002-11-07 12:31:27 -05:00
|
|
|
</path>
|
|
|
|
|
|
|
|
<path id="test.classpath">
|
|
|
|
<path refid="demo.classpath"/>
|
2003-09-20 13:45:32 -04:00
|
|
|
<pathelement location="${build.dir}/classes/test"/>
|
2002-11-07 12:31:27 -05:00
|
|
|
</path>
|
|
|
|
|
2004-12-05 13:24:35 -05:00
|
|
|
|
2002-09-19 22:17:14 -04:00
|
|
|
<path id="junit.classpath">
|
2003-09-20 13:45:32 -04:00
|
|
|
<pathelement location="${build.dir}/classes/test"/>
|
|
|
|
<pathelement location="${build.dir}/classes/java"/>
|
2003-09-25 17:23:18 -04:00
|
|
|
<pathelement location="${build.dir}/classes/demo"/>
|
2003-09-18 12:56:18 -04:00
|
|
|
<pathelement path="${java.class.path}"/>
|
2002-09-19 22:17:14 -04:00
|
|
|
</path>
|
|
|
|
|
2005-05-01 21:06:14 -04:00
|
|
|
<patternset id="src.dist.patterns"
|
2005-05-02 06:00:44 -04:00
|
|
|
includes="src/,build.xml,*build*.xml,docs/,*.txt,contrib/,"
|
2006-12-20 22:32:42 -05:00
|
|
|
excludes="contrib/*/lib/,src/site/build/"
|
2005-05-01 21:06:14 -04:00
|
|
|
/>
|
|
|
|
<patternset id="binary.build.dist.patterns"
|
|
|
|
includes="${final.name}.jar,${demo.war.name}.war,${demo.name}.jar,docs/,contrib/*/*.jar"
|
|
|
|
/>
|
|
|
|
<patternset id="binary.root.dist.patterns"
|
|
|
|
includes="src/demo/,src/jsp/,build.xml,docs/,*.txt"
|
|
|
|
/>
|
|
|
|
|
2004-12-05 13:24:35 -05:00
|
|
|
|
2002-09-19 22:17:14 -04:00
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- Prepares the build directory -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
|
2005-05-01 20:11:11 -04:00
|
|
|
<!-- Overrides common.compile-core to add rmic -->
|
|
|
|
<target name="compile-core" depends="common.compile-core"
|
|
|
|
description="Compiles core classes, including rmic">
|
2002-09-19 22:17:14 -04:00
|
|
|
<rmic classname="org.apache.lucene.search.RemoteSearchable"
|
2005-11-22 05:07:42 -05:00
|
|
|
base="${build.dir}/classes/java" stubversion="1.2">
|
2002-09-19 22:17:14 -04:00
|
|
|
<classpath refid="classpath"/>
|
|
|
|
</rmic>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- J A R -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
|
2003-09-18 13:42:35 -04:00
|
|
|
<target name="jar-demo" depends="compile-demo">
|
2002-09-19 22:17:14 -04:00
|
|
|
<jar
|
2003-09-20 13:45:32 -04:00
|
|
|
destfile="${build.dir}/${demo.name}.jar"
|
|
|
|
basedir="${build.dir}/classes/demo"
|
2002-09-19 22:17:14 -04:00
|
|
|
excludes="**/*.java"
|
2003-09-18 12:56:18 -04:00
|
|
|
/>
|
2002-09-19 22:17:14 -04:00
|
|
|
</target>
|
|
|
|
|
2003-09-18 13:42:35 -04:00
|
|
|
<target name="war-demo" depends="jar-core,jar-demo">
|
2003-12-28 11:05:53 -05:00
|
|
|
<war destfile="${build.dir}/${demo.war.name}.war"
|
|
|
|
webxml="src/jsp/WEB-INF/web.xml">
|
|
|
|
<fileset dir="src/jsp" excludes="WEB-INF/web.xml"/>
|
|
|
|
<lib dir="${build.dir}" includes="${demo.name}.jar"/>
|
|
|
|
<lib dir="${build.dir}" includes="${final.name}.jar"/>
|
|
|
|
</war>
|
2002-09-19 22:17:14 -04:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- B U I L D D E M O -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- -->
|
|
|
|
<!-- ================================================================== -->
|
2003-09-18 13:42:35 -04:00
|
|
|
<target name="compile-demo" depends="compile-core">
|
2003-09-20 13:45:32 -04:00
|
|
|
<mkdir dir="${build.dir}/classes/demo"/>
|
2002-09-19 22:17:14 -04:00
|
|
|
|
2005-04-22 06:21:15 -04:00
|
|
|
<compile
|
2003-09-20 13:45:32 -04:00
|
|
|
srcdir="src/demo"
|
2005-04-22 06:21:15 -04:00
|
|
|
destdir="${build.dir}/classes/demo">
|
2002-11-07 12:31:27 -05:00
|
|
|
<classpath refid="demo.classpath"/>
|
2005-04-22 06:21:15 -04:00
|
|
|
</compile>
|
2002-09-19 22:17:14 -04:00
|
|
|
</target>
|
|
|
|
|
2004-09-20 14:16:50 -04:00
|
|
|
<!-- GCJ -->
|
|
|
|
<target name="gcj" depends="jar,jar-demo">
|
|
|
|
<exec executable="make" dir="src/gcj" failonerror="true"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
|
2005-05-01 20:11:11 -04:00
|
|
|
<!-- TODO: Remove dependency on demo from test -->
|
|
|
|
<target name="compile-test" depends="compile-demo,common.compile-test"/>
|
2002-09-19 22:17:14 -04:00
|
|
|
|
|
|
|
|
2003-09-18 14:09:28 -04:00
|
|
|
|
2002-09-19 22:17:14 -04:00
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- D O C U M E N T A T I O N -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- -->
|
|
|
|
<!-- ================================================================== -->
|
2005-10-08 07:01:09 -04:00
|
|
|
<target name="docs" description="Build the website">
|
2006-11-26 19:11:16 -05:00
|
|
|
<echo>DEPRECATED - Doing Nothing. See http://wiki.apache.org/jakarta-lucene/HowToUpdateTheWebsite</echo>
|
2002-09-19 22:17:14 -04:00
|
|
|
</target>
|
|
|
|
|
2005-10-08 07:01:09 -04:00
|
|
|
<target name="javadocs" description="Generate javadoc">
|
2003-09-20 13:45:32 -04:00
|
|
|
<mkdir dir="${build.dir}/docs/api"/>
|
2005-04-19 20:38:57 -04:00
|
|
|
<invoke-javadoc
|
2005-04-20 15:46:10 -04:00
|
|
|
access="protected"
|
2003-09-20 13:45:32 -04:00
|
|
|
destdir="${build.dir}/docs/api"
|
2005-04-19 20:38:57 -04:00
|
|
|
/>
|
2002-09-19 22:17:14 -04:00
|
|
|
</target>
|
|
|
|
|
2004-08-17 16:38:46 -04:00
|
|
|
<target name="javadocs-internal">
|
|
|
|
<mkdir dir="${build.dir}/docs/api-internal"/>
|
2005-04-19 20:38:57 -04:00
|
|
|
<invoke-javadoc
|
2005-04-20 15:46:10 -04:00
|
|
|
access="package"
|
2004-08-17 16:38:46 -04:00
|
|
|
destdir="${build.dir}/docs/api-internal"
|
2005-04-19 20:38:57 -04:00
|
|
|
/>
|
2004-08-17 16:38:46 -04:00
|
|
|
</target>
|
|
|
|
|
2005-05-01 20:11:11 -04:00
|
|
|
|
2002-09-19 22:17:14 -04:00
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- D I S T R I B U T I O N -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- -->
|
|
|
|
<!-- ================================================================== -->
|
2006-12-20 22:14:02 -05:00
|
|
|
<target name="package" depends="jar-core, javadocs, war-demo, build-contrib, init-dist">
|
|
|
|
|
2005-05-01 20:51:18 -04:00
|
|
|
</target>
|
2002-09-19 22:17:14 -04:00
|
|
|
|
2006-01-25 16:45:56 -05:00
|
|
|
<target name="nightly" depends="test, package-tgz">
|
|
|
|
</target>
|
|
|
|
|
2002-09-19 22:17:14 -04:00
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- Packages the distribution with zip -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<target name="package-zip" depends="package"
|
2003-09-18 12:56:18 -04:00
|
|
|
description="--> Generates the Lucene distribution as .zip">
|
2002-09-19 22:17:14 -04:00
|
|
|
|
2005-05-06 19:43:54 -04:00
|
|
|
<delete file="${dist.dir}/lucene-${version}.zip"/>
|
|
|
|
<zip destfile="${dist.dir}/lucene-${version}.zip">
|
|
|
|
<zipfileset prefix="lucene-${version}" dir=".">
|
2005-05-01 21:06:14 -04:00
|
|
|
<patternset refid="binary.root.dist.patterns"/>
|
|
|
|
</zipfileset>
|
2005-05-06 19:43:54 -04:00
|
|
|
<zipfileset prefix="lucene-${version}" dir="${build.dir}">
|
2005-05-01 21:06:14 -04:00
|
|
|
<patternset refid="binary.build.dist.patterns"/>
|
|
|
|
</zipfileset>
|
2003-09-20 13:45:32 -04:00
|
|
|
</zip>
|
2002-09-19 22:17:14 -04:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- packages the distribution with tar-gzip -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<target name="package-tgz" depends="package"
|
|
|
|
description="--> Generates the lucene distribution as .tar.gz">
|
|
|
|
|
2005-05-06 19:43:54 -04:00
|
|
|
<delete file="${build.dir}/lucene-${version}.tar"/>
|
|
|
|
<delete file="${dist.dir}/lucene-${version}.tar.gz"/>
|
|
|
|
<tar tarfile="${build.dir}/lucene-${version}.tar">
|
|
|
|
<tarfileset prefix="lucene-${version}" dir=".">
|
2005-05-01 21:06:14 -04:00
|
|
|
<patternset refid="binary.root.dist.patterns"/>
|
|
|
|
</tarfileset>
|
2005-05-06 19:43:54 -04:00
|
|
|
<tarfileset prefix="lucene-${version}" dir="${build.dir}">
|
2005-05-01 21:06:14 -04:00
|
|
|
<patternset refid="binary.build.dist.patterns"/>
|
|
|
|
</tarfileset>
|
2003-09-20 13:45:32 -04:00
|
|
|
</tar>
|
|
|
|
|
2005-05-06 19:43:54 -04:00
|
|
|
<gzip zipfile="${dist.dir}/lucene-${version}.tar.gz"
|
|
|
|
src="${build.dir}/lucene-${version}.tar"
|
2003-09-18 12:56:18 -04:00
|
|
|
/>
|
2002-09-19 22:17:14 -04:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- packages the distribution with zip and tar-gzip -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- -->
|
|
|
|
<!-- ================================================================== -->
|
2003-09-20 13:45:32 -04:00
|
|
|
<target name="package-all-binary" depends="package-zip, package-tgz"
|
|
|
|
description="--> Generates the .tar.gz and .zip distributions"/>
|
2002-09-19 22:17:14 -04:00
|
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- same as package-all. it is just here for compatibility. -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- -->
|
|
|
|
<!-- ================================================================== -->
|
2003-09-20 13:45:32 -04:00
|
|
|
<target name="dist" depends="package-all-binary"/>
|
2002-09-19 22:17:14 -04:00
|
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- S O U R C E D I S T R I B U T I O N -->
|
|
|
|
<!-- ================================================================== -->
|
2006-12-20 22:14:02 -05:00
|
|
|
<target name="init-dist" >
|
2006-12-20 22:32:42 -05:00
|
|
|
|
2006-12-20 22:14:02 -05:00
|
|
|
<!-- Package is not called first if packaging src standalone, so the dist.dir may not exist -->
|
2006-12-20 22:32:42 -05:00
|
|
|
<mkdir dir="${build.dir}"/>
|
2006-12-20 22:14:02 -05:00
|
|
|
<mkdir dir="${dist.dir}"/>
|
|
|
|
</target>
|
2002-09-19 22:17:14 -04:00
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- Packages the sources with zip -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- -->
|
|
|
|
<!-- ================================================================== -->
|
2006-12-20 22:14:02 -05:00
|
|
|
<target name="package-zip-src" depends="init, init-dist"
|
2003-09-18 12:56:18 -04:00
|
|
|
description="--> Generates the Lucene sources as .zip">
|
2005-05-06 19:43:54 -04:00
|
|
|
<zip destfile="${dist.dir}/lucene-${version}-src.zip">
|
|
|
|
<zipfileset prefix="lucene-${version}" dir=".">
|
2005-05-01 21:06:14 -04:00
|
|
|
<patternset refid="src.dist.patterns"/>
|
|
|
|
</zipfileset>
|
2003-09-20 13:45:32 -04:00
|
|
|
</zip>
|
2002-09-19 22:17:14 -04:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- Packages the sources with tar-gzip -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- -->
|
|
|
|
<!-- ================================================================== -->
|
2006-12-20 22:14:02 -05:00
|
|
|
<target name="package-tgz-src" depends="init, init-dist"
|
2003-09-18 12:56:18 -04:00
|
|
|
description="--> Generates the Lucene distribution as .tar.gz">
|
2002-09-19 22:17:14 -04:00
|
|
|
|
2005-05-06 19:43:54 -04:00
|
|
|
<delete file="${build.dir}/lucene-${version}-src.tar"/>
|
|
|
|
<delete file="${dist.dir}/lucene-${version}-src.tar.gz"/>
|
|
|
|
<tar tarfile="${build.dir}/lucene-${version}-src.tar">
|
|
|
|
<tarfileset prefix="lucene-${version}" dir=".">
|
2005-05-01 21:06:14 -04:00
|
|
|
<patternset refid="src.dist.patterns"/>
|
|
|
|
</tarfileset>
|
2003-09-20 13:45:32 -04:00
|
|
|
</tar>
|
2002-09-19 22:17:14 -04:00
|
|
|
|
2005-05-06 19:43:54 -04:00
|
|
|
<gzip zipfile="${dist.dir}/lucene-${version}-src.tar.gz"
|
|
|
|
src="${build.dir}/lucene-${version}-src.tar"
|
2005-05-01 21:06:14 -04:00
|
|
|
/>
|
2002-09-19 22:17:14 -04:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- Packages the sources with zip and tar-gzip -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<target name="package-all-src" depends="package-zip-src, package-tgz-src"
|
2003-09-18 13:42:35 -04:00
|
|
|
description="--> Generates the .tar.gz and .zip source distributions"/>
|
2002-09-19 22:17:14 -04:00
|
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- same as package-all-src. it is just here for compatibility. -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- -->
|
|
|
|
<!-- ================================================================== -->
|
2003-09-18 13:42:35 -04:00
|
|
|
<target name="dist-src" depends="package-all-src"/>
|
2002-09-19 22:17:14 -04:00
|
|
|
|
2003-09-20 13:45:32 -04:00
|
|
|
<target name="dist-all" depends="dist, dist-src"/>
|
|
|
|
|
2003-09-18 12:56:18 -04:00
|
|
|
<!-- ================================================================== -->
|
2003-10-13 10:15:14 -04:00
|
|
|
<!-- Build the JavaCC files into the source tree -->
|
2003-09-18 12:56:18 -04:00
|
|
|
<!-- ================================================================== -->
|
2005-03-07 11:08:02 -05:00
|
|
|
<target name="jjdoc">
|
|
|
|
<mkdir dir="${build.dir}/docs/grammars"/>
|
|
|
|
<jjdoc target="src/java/org/apache/lucene/queryParser/QueryParser.jj"
|
|
|
|
outputfile="${build.dir}/docs/grammars/QueryParser.html"
|
|
|
|
javacchome="${javacc.home}"
|
|
|
|
/>
|
|
|
|
<jjdoc target="src/java/org/apache/lucene/analysis/standard/StandardTokenizer.jj"
|
|
|
|
outputfile="${build.dir}/docs/grammars/StandardTokenizer.html"
|
|
|
|
javacchome="${javacc.home}"
|
|
|
|
/>
|
|
|
|
<jjdoc target="src/demo/org/apache/lucene/demo/html/HTMLParser.jj"
|
|
|
|
outputfile="${build.dir}/docs/grammars/HTMLParser.html"
|
|
|
|
javacchome="${javacc.home}"
|
|
|
|
/>
|
|
|
|
</target>
|
|
|
|
|
2005-03-07 15:28:25 -05:00
|
|
|
<target name="clean-javacc">
|
|
|
|
<delete>
|
|
|
|
<fileset dir="src">
|
|
|
|
<include name="java/org/apache/lucene/analysis/standard/StandardTokenizer.java"/>
|
|
|
|
<include name="java/org/apache/lucene/queryParser/QueryParser.java"/>
|
2006-10-27 02:17:24 -04:00
|
|
|
<include name="java/org/apache/lucene/queryParser/CharStream.java"/>
|
2005-03-07 15:28:25 -05:00
|
|
|
<include name="demo/org/apache/lucene/demo/html/HTMLParser.java"/>
|
2006-10-27 02:17:24 -04:00
|
|
|
<include name="demo/org/apache/lucene/demo/html/SimpleCharStream.java"/>
|
2005-03-07 15:28:25 -05:00
|
|
|
</fileset>
|
|
|
|
</delete>
|
|
|
|
</target>
|
|
|
|
|
2005-07-18 14:20:30 -04:00
|
|
|
<target name="javacc" depends="clean-javacc,javacc-StandardAnalyzer,javacc-QueryParser,javacc-HTMLParser"/>
|
2005-03-07 11:08:02 -05:00
|
|
|
|
2003-09-18 12:56:18 -04:00
|
|
|
<target name="javacc-StandardAnalyzer" depends="init,javacc-check" if="javacc.present">
|
|
|
|
<!-- generate this in a build directory so we can exclude ParseException -->
|
2003-09-20 13:45:32 -04:00
|
|
|
<mkdir dir="${build.dir}/gen/org/apache/lucene/analysis/standard"/>
|
2005-03-07 11:08:02 -05:00
|
|
|
|
|
|
|
<invoke-javacc target="src/java/org/apache/lucene/analysis/standard/StandardTokenizer.jj"
|
|
|
|
outputDir="${build.dir}/gen/org/apache/lucene/analysis/standard"
|
|
|
|
/>
|
2003-09-20 13:45:32 -04:00
|
|
|
<copy todir="src/java/org/apache/lucene/analysis/standard">
|
|
|
|
<fileset dir="${build.dir}/gen/org/apache/lucene/analysis/standard">
|
2003-09-18 12:56:18 -04:00
|
|
|
<include name="*.java"/>
|
|
|
|
<exclude name="ParseException.java"/>
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="javacc-QueryParser" depends="init,javacc-check" if="javacc.present">
|
2005-03-07 11:08:02 -05:00
|
|
|
<invoke-javacc target="src/java/org/apache/lucene/queryParser/QueryParser.jj"
|
|
|
|
outputDir="src/java/org/apache/lucene/queryParser"
|
|
|
|
/>
|
2003-09-18 12:56:18 -04:00
|
|
|
</target>
|
2005-03-07 11:08:02 -05:00
|
|
|
|
|
|
|
<target name="javacc-HTMLParser" depends="init,javacc-check" if="javacc.present">
|
|
|
|
<invoke-javacc target="src/demo/org/apache/lucene/demo/html/HTMLParser.jj"
|
|
|
|
outputDir="src/demo/org/apache/lucene/demo/html"
|
|
|
|
/>
|
2003-09-18 12:56:18 -04:00
|
|
|
</target>
|
2005-04-26 00:41:54 -04:00
|
|
|
|
2005-05-01 20:11:11 -04:00
|
|
|
<macrodef name="contrib-crawl">
|
|
|
|
<attribute name="target" default=""/>
|
|
|
|
<sequential>
|
2005-05-13 06:21:54 -04:00
|
|
|
<subant target="@{target}" failonerror="false">
|
2005-05-01 20:11:11 -04:00
|
|
|
<fileset dir="."
|
|
|
|
includes="contrib/*/build.xml"
|
|
|
|
/>
|
|
|
|
</subant>
|
|
|
|
</sequential>
|
|
|
|
</macrodef>
|
|
|
|
|
2005-04-26 00:41:54 -04:00
|
|
|
<target name="build-contrib" depends="compile-test">
|
2005-05-01 20:11:11 -04:00
|
|
|
<contrib-crawl/>
|
2005-04-26 00:41:54 -04:00
|
|
|
</target>
|
2003-09-10 21:51:33 -04:00
|
|
|
|
2005-05-12 14:11:04 -04:00
|
|
|
<target name="test-contrib" depends="compile-test">
|
|
|
|
<contrib-crawl target="test"/>
|
|
|
|
</target>
|
|
|
|
|
2005-05-01 20:11:11 -04:00
|
|
|
<macrodef name="invoke-javadoc">
|
|
|
|
<attribute name="access"/>
|
|
|
|
<attribute name="destdir"/>
|
|
|
|
<sequential>
|
2006-06-14 14:54:28 -04:00
|
|
|
|
|
|
|
<condition property="javadoc-1-5-contrib">
|
|
|
|
<equals arg1="1.5" arg2="${ant.java.version}" />
|
|
|
|
</condition>
|
2006-12-14 17:02:03 -05:00
|
|
|
<dirset dir="contrib/gdata-server/src/core/src/java" id="gdata-server-core">
|
2006-06-14 14:54:28 -04:00
|
|
|
<include name="**" if="javadoc-1-5-contrib" />
|
|
|
|
</dirset>
|
2006-12-14 17:02:03 -05:00
|
|
|
<dirset dir="contrib/gdata-server/src/gom/src/java" id="gdata-server-gom">
|
|
|
|
<include name="**" if="javadoc-1-5-contrib" />
|
|
|
|
</dirset>
|
|
|
|
<dirset dir="contrib/gdata-server/src/hivemind/src/java" id="gdata-server-hivemind">
|
|
|
|
<include name="**" if="javadoc-1-5-contrib" />
|
|
|
|
</dirset>
|
|
|
|
|
2005-05-01 20:11:11 -04:00
|
|
|
<javadoc
|
|
|
|
overview="src/java/overview.html"
|
|
|
|
packagenames="org.apache.lucene.*"
|
|
|
|
destdir="@{destdir}"
|
|
|
|
access="@{access}"
|
|
|
|
encoding="${build.encoding}"
|
|
|
|
author="true"
|
|
|
|
version="true"
|
|
|
|
use="true"
|
2006-12-12 15:56:44 -05:00
|
|
|
source="${ant.java.version}"
|
2005-05-01 20:11:11 -04:00
|
|
|
link="${javadoc.link}"
|
|
|
|
windowtitle="${Name} ${version} API"
|
|
|
|
doctitle="${Name} ${version} API"
|
|
|
|
bottom="Copyright &copy; ${year} Apache Software Foundation. All Rights Reserved.">
|
|
|
|
<tag name="todo" description="To Do:"/>
|
|
|
|
|
|
|
|
<!-- TODO: find a dynamic way to do include multiple source roots -->
|
2006-02-27 14:50:18 -05:00
|
|
|
|
2005-05-01 20:11:11 -04:00
|
|
|
<packageset dir="src/java"/>
|
2006-02-27 14:50:18 -05:00
|
|
|
|
|
|
|
<packageset dir="src/demo"/>
|
|
|
|
|
2005-05-01 20:11:11 -04:00
|
|
|
<packageset dir="contrib/analyzers/src/java"/>
|
2006-02-27 14:50:18 -05:00
|
|
|
<packageset dir="contrib/ant/src/java"/>
|
2005-05-01 20:11:11 -04:00
|
|
|
<packageset dir="contrib/highlighter/src/java"/>
|
2006-02-27 14:50:18 -05:00
|
|
|
<packageset dir="contrib/lucli/src/java"/>
|
|
|
|
<packageset dir="contrib/memory/src/java"/>
|
|
|
|
<packageset dir="contrib/miscellaneous/src/java"/>
|
2005-05-01 20:11:11 -04:00
|
|
|
<packageset dir="contrib/similarity/src/java"/>
|
2006-02-27 14:50:18 -05:00
|
|
|
<packageset dir="contrib/regex/src/java"/>
|
2006-02-20 13:11:02 -05:00
|
|
|
<packageset dir="contrib/snowball/src/java"/>
|
2006-02-27 14:50:18 -05:00
|
|
|
<packageset dir="contrib/spellchecker/src/java"/>
|
|
|
|
<packageset dir="contrib/surround/src/java"/>
|
2005-05-01 20:11:11 -04:00
|
|
|
<packageset dir="contrib/swing/src/java"/>
|
2006-02-27 14:50:18 -05:00
|
|
|
<packageset dir="contrib/wordnet/src/java"/>
|
2006-12-12 08:44:09 -05:00
|
|
|
<packageset dir="contrib/benchmark/src/java"/>
|
2006-06-14 14:54:28 -04:00
|
|
|
|
2006-12-14 17:02:03 -05:00
|
|
|
<packageset refid="gdata-server-core" />
|
|
|
|
<packageset refid="gdata-server-gom" />
|
|
|
|
<packageset refid="gdata-server-hivemind" />
|
2005-05-01 20:11:11 -04:00
|
|
|
|
|
|
|
<group title="Core" packages="org.apache.*:org.apache.lucene.analysis:org.apache.lucene.analysis.standard*"/>
|
2006-02-27 14:50:18 -05:00
|
|
|
|
|
|
|
<group title="Demo" packages="org.apache.lucene.demo*"/>
|
|
|
|
|
2006-02-27 14:54:13 -05:00
|
|
|
<group title="contrib: Analysis" packages="org.apache.lucene.analysis.*"/>
|
|
|
|
<group title="contrib: Ant" packages="org.apache.lucene.ant*"/>
|
2006-12-12 08:44:09 -05:00
|
|
|
<group title="contrib: Benchmark" packages="org.apache.lucene.benchmark*"/>
|
2006-02-27 14:54:13 -05:00
|
|
|
<group title="contrib: Highlighter" packages="org.apache.lucene.search.highlight*"/>
|
2006-06-14 14:54:28 -04:00
|
|
|
<group title="contrib: GData Server (Java1.5)" packages="org.apache.lucene.gdata.*"/>
|
2006-02-27 14:54:13 -05:00
|
|
|
<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*"/>
|
|
|
|
<group title="contrib: MoreLikeThis" packages="org.apache.lucene.search.similar*"/>
|
|
|
|
<group title="contrib: RegEx" packages="org.apache.lucene.search.regex*:org.apache.regexp*"/>
|
|
|
|
<group title="contrib: Snowball" packages="org.apache.lucene.analysis.snowball*:net.sf.snowball*"/>
|
2006-12-12 08:44:09 -05:00
|
|
|
|
|
|
|
<group title="contrib: SpellChecker" packages="org.apache.lucene.search.spell*"/>
|
2006-02-27 14:54:13 -05:00
|
|
|
<group title="contrib: Surround Parser" packages="org.apache.lucene.queryParser.surround*"/>
|
|
|
|
<group title="contrib: Swing" packages="org.apache.lucene.swing*"/>
|
|
|
|
<group title="contrib: WordNet" packages="org.apache.lucene.wordnet*"/>
|
2006-02-27 14:50:18 -05:00
|
|
|
|
|
|
|
|
2005-05-01 20:11:11 -04:00
|
|
|
</javadoc>
|
|
|
|
</sequential>
|
|
|
|
</macrodef>
|
|
|
|
|
2003-09-18 13:42:35 -04:00
|
|
|
|
2001-09-11 17:44:36 -04:00
|
|
|
</project>
|