2004-01-05 20:03:15 -05:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
2007-06-09 02:09:46 -04:00
|
|
|
<!--
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership.
|
|
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
the "License"); you may not use this file except in compliance with
|
|
|
|
the License. You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
|
2004-01-05 20:03:15 -05:00
|
|
|
<project name="analyzers" default="default">
|
|
|
|
|
|
|
|
<description>
|
|
|
|
Additional Analyzers
|
2009-07-23 13:11:22 -04:00
|
|
|
- common: Additional Analyzers
|
2010-05-20 06:46:00 -04:00
|
|
|
- icu: Analyzers that use functionality from ICU
|
2012-01-12 15:10:48 -05:00
|
|
|
- kuromoji: Japanese Morphological Analyzer
|
|
|
|
- morfologik: Morfologik Stemmer
|
2009-07-23 13:11:22 -04:00
|
|
|
- smartcn: Smart Analyzer for Simplified Chinese Text
|
2010-05-03 08:44:22 -04:00
|
|
|
- stempel: Algorithmic Stemmer for Polish
|
2012-02-14 17:13:34 -05:00
|
|
|
- uima: UIMA Analysis module
|
2004-01-05 20:03:15 -05:00
|
|
|
</description>
|
|
|
|
|
2012-03-30 14:04:43 -04:00
|
|
|
<dirname file="${ant.file.analyzers}" property="analyzers.dir"/>
|
|
|
|
|
|
|
|
<macrodef name="forall-analyzers">
|
|
|
|
<attribute name="target" />
|
|
|
|
<sequential>
|
|
|
|
<subant target="@{target}" inheritall="false" failonerror="true">
|
|
|
|
<propertyset refid="uptodate.and.compiled.properties"/>
|
|
|
|
<fileset dir="${analyzers.dir}" includes="*/build.xml" />
|
|
|
|
</subant>
|
|
|
|
</sequential>
|
|
|
|
</macrodef>
|
|
|
|
|
|
|
|
<propertyset id="uptodate.and.compiled.properties" dynamic="true">
|
|
|
|
<propertyref regex=".*\.uptodate$$"/>
|
|
|
|
<propertyref regex=".*\.compiled$$"/>
|
|
|
|
</propertyset>
|
|
|
|
|
2009-07-23 13:11:22 -04:00
|
|
|
<target name="common">
|
|
|
|
<ant dir="common" />
|
|
|
|
</target>
|
2008-09-11 14:23:18 -04:00
|
|
|
|
2010-05-20 06:46:00 -04:00
|
|
|
<target name="icu">
|
|
|
|
<ant dir="icu" />
|
|
|
|
</target>
|
|
|
|
|
2012-01-12 15:10:48 -05:00
|
|
|
<target name="kuromoji">
|
|
|
|
<ant dir="kuromoji" />
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="morfologik">
|
|
|
|
<ant dir="morfologik" />
|
|
|
|
</target>
|
|
|
|
|
2010-06-23 07:25:17 -04:00
|
|
|
<target name="phonetic">
|
|
|
|
<ant dir="phonetic" />
|
|
|
|
</target>
|
|
|
|
|
2009-07-23 13:11:22 -04:00
|
|
|
<target name="smartcn">
|
|
|
|
<ant dir="smartcn" />
|
|
|
|
</target>
|
|
|
|
|
2010-05-03 08:44:22 -04:00
|
|
|
<target name="stempel">
|
|
|
|
<ant dir="stempel" />
|
|
|
|
</target>
|
|
|
|
|
2012-02-14 17:13:34 -05:00
|
|
|
<target name="uima">
|
|
|
|
<ant dir="uima" />
|
|
|
|
</target>
|
|
|
|
|
2010-05-07 18:51:45 -04:00
|
|
|
<target name="default" depends="compile"/>
|
2012-02-14 17:13:34 -05:00
|
|
|
<target name="compile" depends="common,icu,kuromoji,morfologik,phonetic,smartcn,stempel,uima" />
|
2009-07-23 13:11:22 -04:00
|
|
|
|
2012-03-30 14:04:43 -04:00
|
|
|
<!-- FIXME: these should crawl like contrib-crawl/modules-crawl, passing the
|
|
|
|
propset so we dont install maven-ant-tasks over and over -->
|
2009-07-23 13:11:22 -04:00
|
|
|
<target name="clean">
|
2012-03-30 14:04:43 -04:00
|
|
|
<forall-analyzers target="clean"/>
|
|
|
|
</target>
|
|
|
|
<target name="resolve">
|
|
|
|
<forall-analyzers target="resolve"/>
|
2009-07-23 13:11:22 -04:00
|
|
|
</target>
|
2011-05-30 20:08:14 -04:00
|
|
|
<target name="validate">
|
2012-03-30 14:04:43 -04:00
|
|
|
<forall-analyzers target="validate"/>
|
2011-05-30 20:08:14 -04:00
|
|
|
</target>
|
2009-07-23 13:11:22 -04:00
|
|
|
<target name="compile-core">
|
2012-03-30 14:04:43 -04:00
|
|
|
<forall-analyzers target="compile-core"/>
|
2009-07-23 13:11:22 -04:00
|
|
|
</target>
|
|
|
|
<target name="compile-test">
|
2012-03-30 14:04:43 -04:00
|
|
|
<forall-analyzers target="compile-test"/>
|
2009-07-23 13:11:22 -04:00
|
|
|
</target>
|
|
|
|
<target name="test">
|
2012-03-30 14:04:43 -04:00
|
|
|
<forall-analyzers target="test"/>
|
2009-07-23 13:11:22 -04:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="build-artifacts-and-tests" depends="default,compile-test" />
|
|
|
|
|
2010-08-19 15:58:36 -04:00
|
|
|
<target name="dist-maven" depends="default,javadocs">
|
2012-03-30 14:04:43 -04:00
|
|
|
<forall-analyzers target="dist-maven"/>
|
2009-07-23 13:11:22 -04:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="javadocs">
|
2012-03-30 14:04:43 -04:00
|
|
|
<forall-analyzers target="javadocs"/>
|
2009-07-23 13:11:22 -04:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="javadocs-index.html">
|
2012-03-30 14:04:43 -04:00
|
|
|
<forall-analyzers target="javadocs-index.html"/>
|
2009-07-23 13:11:22 -04:00
|
|
|
</target>
|
|
|
|
|
2004-01-05 20:03:15 -05:00
|
|
|
</project>
|