2010-01-10 16:53:13 -05:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
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.
|
|
|
|
-->
|
|
|
|
|
2010-05-05 10:26:59 -04:00
|
|
|
<project name="analyzers-smartcn" default="default">
|
2010-01-10 16:53:13 -05:00
|
|
|
|
|
|
|
<description>
|
|
|
|
Smart Chinese Analyzer
|
|
|
|
</description>
|
|
|
|
|
2010-05-05 10:26:59 -04:00
|
|
|
<property name="build.dir" location="../build/smartcn" />
|
|
|
|
<property name="dist.dir" location="../dist/smartcn" />
|
2010-01-10 16:53:13 -05:00
|
|
|
|
2010-05-05 10:26:59 -04:00
|
|
|
<import file="../../../lucene/contrib/contrib-build.xml"/>
|
2010-05-03 09:54:44 -04:00
|
|
|
|
2010-05-05 10:26:59 -04:00
|
|
|
<module-uptodate name="analysis/common" jarfile="../build/common/lucene-analyzers-common-${version}.jar"
|
2010-05-03 09:54:44 -04:00
|
|
|
property="analyzers-common.uptodate" classpath.property="analyzers-common.jar"/>
|
|
|
|
|
|
|
|
<path id="classpath">
|
|
|
|
<pathelement path="${analyzers-common.jar}"/>
|
|
|
|
<path refid="base.classpath"/>
|
|
|
|
</path>
|
|
|
|
|
2010-01-10 16:53:13 -05:00
|
|
|
<path id="test.classpath">
|
2010-05-03 09:54:44 -04:00
|
|
|
<pathelement path="${analyzers-common.jar}"/>
|
2010-01-10 16:53:13 -05:00
|
|
|
<path refid="classpath"/>
|
2011-02-06 14:48:54 -05:00
|
|
|
<pathelement location="../../../lucene/build/classes/test-framework"/>
|
2010-05-05 10:26:59 -04:00
|
|
|
<pathelement location="../../../lucene/build/classes/test/"/>
|
2010-01-10 16:53:13 -05:00
|
|
|
<path refid="junit-path"/>
|
|
|
|
<pathelement location="${build.dir}/classes/java"/>
|
2010-05-03 09:54:44 -04:00
|
|
|
</path>
|
|
|
|
|
|
|
|
<target name="compile-core" depends="build-analyzers-common, common.compile-core" />
|
|
|
|
|
|
|
|
<target name="build-analyzers-common" unless="analyzers-common.uptodate">
|
2010-05-20 09:23:12 -04:00
|
|
|
<echo>Smartcn building dependency ${analyzers-common.jar}</echo>
|
2011-07-08 02:41:23 -04:00
|
|
|
<ant antfile="../common/build.xml" target="default" inheritall="false" dir="../common">
|
|
|
|
<propertyset refid="uptodate.and.compiled.properties"/>
|
|
|
|
</ant>
|
2010-05-03 09:54:44 -04:00
|
|
|
</target>
|
2010-01-10 16:53:13 -05:00
|
|
|
</project>
|