2004-04-08 20:34:31 -04:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
2008-05-01 06:34:50 -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.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<project name="highlighter" default="default">
|
2004-04-08 20:34:31 -04:00
|
|
|
|
|
|
|
<description>
|
2008-05-14 01:29:57 -04:00
|
|
|
Hits highlighter
|
2004-04-08 20:34:31 -04:00
|
|
|
</description>
|
|
|
|
|
2005-05-01 20:11:11 -04:00
|
|
|
<import file="../contrib-build.xml"/>
|
2008-04-29 18:07:18 -04:00
|
|
|
|
2008-05-01 06:34:50 -04:00
|
|
|
<property name="memory.jar" location="${common.dir}/build/contrib/memory/lucene-memory-${version}.jar"/>
|
2008-05-14 01:29:57 -04:00
|
|
|
<available property="memory.jar.present" type="file" file="${memory.jar}"/>
|
2009-10-29 12:41:04 -04:00
|
|
|
|
|
|
|
<property name="regex.jar" location="${common.dir}/build/contrib/regex/lucene-regex-${version}.jar"/>
|
|
|
|
<available property="regex.jar.present" type="file" file="${regex.jar}"/>
|
2008-04-29 18:07:18 -04:00
|
|
|
|
|
|
|
<path id="classpath">
|
2008-05-14 01:29:57 -04:00
|
|
|
<pathelement path="${lucene.jar}"/>
|
|
|
|
<pathelement path="${memory.jar}"/>
|
2009-10-29 12:41:04 -04:00
|
|
|
<pathelement path="${regex.jar}"/>
|
2008-05-14 01:29:57 -04:00
|
|
|
<pathelement path="${project.classpath}"/>
|
2008-04-29 18:07:18 -04:00
|
|
|
</path>
|
|
|
|
|
2009-10-29 12:41:04 -04:00
|
|
|
<target name="compile-core" depends="build-memory, build-regex, common.compile-core" />
|
2008-04-29 18:07:18 -04:00
|
|
|
|
2008-05-01 06:34:50 -04:00
|
|
|
<target name="build-memory" unless="memory.jar.present">
|
|
|
|
<echo>Highlighter building dependency ${memory.jar}</echo>
|
2008-10-25 06:19:30 -04:00
|
|
|
<ant antfile="../memory/build.xml" target="default" inheritall="false" dir="../memory" />
|
2008-04-29 18:07:18 -04:00
|
|
|
</target>
|
2009-10-29 12:41:04 -04:00
|
|
|
|
|
|
|
<target name="build-regex" unless="regex.jar.present">
|
|
|
|
<echo>Highlighter building dependency ${regex.jar}</echo>
|
|
|
|
<ant antfile="../regex/build.xml" target="default" inheritall="false" dir="../regex" />
|
|
|
|
</target>
|
2004-04-08 20:34:31 -04:00
|
|
|
</project>
|