2011-06-29 17:02:07 -04: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.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<project name="facet" default="default">
|
|
|
|
|
|
|
|
<description>
|
|
|
|
Faceted search module
|
|
|
|
</description>
|
|
|
|
|
|
|
|
<property name="build.dir" location="build/" />
|
|
|
|
<property name="dist.dir" location="dist/" />
|
2011-10-25 17:54:05 -04:00
|
|
|
<property name="maven.dist.dir" location="../dist/maven" />
|
|
|
|
|
|
|
|
<import file="../../lucene/contrib/contrib-build.xml"/>
|
2011-06-29 17:02:07 -04:00
|
|
|
|
2011-09-25 05:20:59 -04:00
|
|
|
<property name="examples.dir" location="src/examples"/>
|
|
|
|
|
|
|
|
<path id="classpath">
|
|
|
|
<path refid="base.classpath" />
|
|
|
|
<pathelement location="${build.dir}/classes/java" />
|
|
|
|
<pathelement location="${build.dir}/classes/examples" />
|
|
|
|
</path>
|
|
|
|
|
2011-06-29 17:02:07 -04:00
|
|
|
<path id="examples.classpath">
|
|
|
|
<path refid="classpath" />
|
|
|
|
<pathelement location="${build.dir}/classes/java" />
|
|
|
|
<pathelement path="${analyzers-common.jar}" />
|
|
|
|
</path>
|
|
|
|
|
|
|
|
<path id="test.classpath">
|
|
|
|
<path refid="test.base.classpath" />
|
|
|
|
<pathelement location="${build.dir}/classes/examples" />
|
2011-07-28 00:02:09 -04:00
|
|
|
<!-- TODO, cut over tests to MockAnalyzer etc and nuke this dependency -->
|
2011-06-29 17:02:07 -04:00
|
|
|
<pathelement path="${analyzers-common.jar}" />
|
|
|
|
</path>
|
|
|
|
|
|
|
|
<path id="classpath">
|
2011-07-28 00:02:09 -04:00
|
|
|
<!-- TODO, cut over tests to MockAnalyzer etc and nuke this dependency -->
|
2011-06-29 17:02:07 -04:00
|
|
|
<pathelement path="${analyzers-common.jar}" />
|
|
|
|
<path refid="base.classpath"/>
|
|
|
|
</path>
|
|
|
|
|
|
|
|
<target name="compile-examples" description="Compiles Facets examples">
|
2011-09-25 05:20:59 -04:00
|
|
|
<compile srcdir="${examples.dir}" destdir="${build.dir}/classes/examples">
|
2011-06-29 17:02:07 -04:00
|
|
|
<classpath refid="examples.classpath" />
|
|
|
|
</compile>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="jar-examples" depends="compile-examples">
|
|
|
|
<jarify basedir="${build.dir}/classes/examples"
|
|
|
|
destfile="${build.dir}/${final.name}-examples.jar"
|
2011-11-28 03:21:21 -05:00
|
|
|
title="Lucene Search Engine: ${ant.project.name}-examples">
|
|
|
|
<fileset dir="src/examples" />
|
|
|
|
</jarify>
|
2011-06-29 17:02:07 -04:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="compile-core" depends="jar-analyzers-common,common.compile-core,compile-examples" description="Compiles facet classes" />
|
|
|
|
|
|
|
|
<target name="jar-core" depends="common.jar-core,jar-examples" />
|
2011-09-25 05:20:59 -04:00
|
|
|
|
2011-06-29 17:02:07 -04:00
|
|
|
</project>
|