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
|
|
|
|
2005-05-01 20:11:11 -04:00
|
|
|
<!-- Import tests for deprecation compliance.
|
|
|
|
This will be removed for Lucene 2.0
|
|
|
|
-->
|
|
|
|
<import file="build-deprecated.xml"/>
|
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"/>
|
2002-09-19 22:17:14 -04:00
|
|
|
<fileset dir="lib">
|
2003-09-18 12:56:18 -04:00
|
|
|
<include name="*.jar"/>
|
2002-09-19 22:17:14 -04:00
|
|
|
</fileset>
|
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/,"
|
2005-05-01 21:06:14 -04:00
|
|
|
excludes="contrib/*/lib/"
|
|
|
|
/>
|
|
|
|
<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">
|
2005-06-03 05:47:25 -04:00
|
|
|
<ant dir="site" inheritAll="false"/>
|
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-01-25 16:45:56 -05:00
|
|
|
<target name="package" depends="jar-core, javadocs, war-demo, build-contrib">
|
2005-05-01 20:51:18 -04:00
|
|
|
<mkdir dir="${dist.dir}"/>
|
|
|
|
</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 -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- Packages the sources with zip -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- -->
|
|
|
|
<!-- ================================================================== -->
|
2003-09-20 13:45:32 -04:00
|
|
|
<target name="package-zip-src" depends="init"
|
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 -->
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- -->
|
|
|
|
<!-- ================================================================== -->
|
2003-09-20 13:45:32 -04:00
|
|
|
<target name="package-tgz-src" depends="init"
|
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"/>
|
|
|
|
<include name="demo/org/apache/lucene/demo/html/HTMLParser.java"/>
|
|
|
|
</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>
|
|
|
|
<javadoc
|
|
|
|
overview="src/java/overview.html"
|
|
|
|
packagenames="org.apache.lucene.*"
|
|
|
|
destdir="@{destdir}"
|
|
|
|
access="@{access}"
|
|
|
|
encoding="${build.encoding}"
|
|
|
|
author="true"
|
|
|
|
version="true"
|
|
|
|
use="true"
|
|
|
|
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 -->
|
|
|
|
<packageset dir="src/java"/>
|
|
|
|
<packageset dir="contrib/analyzers/src/java"/>
|
2005-05-09 21:19:03 -04:00
|
|
|
<packageset dir="contrib/wordnet/src/java"/>
|
2005-05-01 20:11:11 -04:00
|
|
|
<packageset dir="contrib/highlighter/src/java"/>
|
|
|
|
<packageset dir="contrib/similarity/src/java"/>
|
|
|
|
<packageset dir="contrib/spellchecker/src/java"/>
|
|
|
|
<packageset dir="contrib/snowball/src/java" excludes="net/"/>
|
|
|
|
<packageset dir="contrib/swing/src/java"/>
|
2005-05-02 06:00:44 -04:00
|
|
|
<packageset dir="contrib/memory/src/java"/>
|
2005-05-01 20:11:11 -04:00
|
|
|
|
|
|
|
<group title="Core" packages="org.apache.*:org.apache.lucene.analysis:org.apache.lucene.analysis.standard*"/>
|
|
|
|
<group title="Analysis" packages="org.apache.lucene.analysis.*"/>
|
|
|
|
<group title="Snowball" packages="org.apache.lucene.analysis.snowball*"/>
|
|
|
|
<group title="Highlighter" packages="org.apache.lucene.search.highlight*"/>
|
|
|
|
<group title="MoreLikeThis" packages="org.apache.lucene.search.similar*"/>
|
|
|
|
<group title="SpellChecker" packages="org.apache.lucene.search.spell*"/>
|
|
|
|
<group title="WordNet" packages="org.apache.lucene.wordnet*"/>
|
|
|
|
<group title="Swing" packages="org.apache.lucene.swing*"/>
|
2005-05-02 06:00:44 -04:00
|
|
|
<group title="Memory" packages="org.apache.lucene.index.memory*"/>
|
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>
|