1*e4ed64deSDamjan Jovanovic<?xml version="1.0" encoding="UTF-8"?>
2*e4ed64deSDamjan Jovanovic<!--***********************************************************
3*e4ed64deSDamjan Jovanovic *
4*e4ed64deSDamjan Jovanovic * Licensed to the Apache Software Foundation (ASF) under one
5*e4ed64deSDamjan Jovanovic * or more contributor license agreements.  See the NOTICE file
6*e4ed64deSDamjan Jovanovic * distributed with this work for additional information
7*e4ed64deSDamjan Jovanovic * regarding copyright ownership.  The ASF licenses this file
8*e4ed64deSDamjan Jovanovic * to you under the Apache License, Version 2.0 (the
9*e4ed64deSDamjan Jovanovic * "License"); you may not use this file except in compliance
10*e4ed64deSDamjan Jovanovic * with the License.  You may obtain a copy of the License at
11*e4ed64deSDamjan Jovanovic *
12*e4ed64deSDamjan Jovanovic *   http://www.apache.org/licenses/LICENSE-2.0
13*e4ed64deSDamjan Jovanovic *
14*e4ed64deSDamjan Jovanovic * Unless required by applicable law or agreed to in writing,
15*e4ed64deSDamjan Jovanovic * software distributed under the License is distributed on an
16*e4ed64deSDamjan Jovanovic * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17*e4ed64deSDamjan Jovanovic * KIND, either express or implied.  See the License for the
18*e4ed64deSDamjan Jovanovic * specific language governing permissions and limitations
19*e4ed64deSDamjan Jovanovic * under the License.
20*e4ed64deSDamjan Jovanovic *
21*e4ed64deSDamjan Jovanovic ***********************************************************-->
22*e4ed64deSDamjan Jovanovic
23*e4ed64deSDamjan Jovanovic
24*e4ed64deSDamjan Jovanovic<project name="LuceneHelpWrapper" default="main">
25*e4ed64deSDamjan Jovanovic
26*e4ed64deSDamjan Jovanovic    <property file="../../../ant.properties"/>
27*e4ed64deSDamjan Jovanovic    <import file="${SRC_ROOT}/solenv/ant/aoo-ant.xml"/>
28*e4ed64deSDamjan Jovanovic
29*e4ed64deSDamjan Jovanovic    <target name="init-project">
30*e4ed64deSDamjan Jovanovic
31*e4ed64deSDamjan Jovanovic        <property name="jar.classpath" value="${external.lucene-core.jarclasspath} ${external.lucene-analyzers.jarclasspath}"/>
32*e4ed64deSDamjan Jovanovic        <property name="jar.manifest" value="${SRC_ROOT}/xmlhelp/java/LuceneHelpWrapper/MANIFEST.MF"/>
33*e4ed64deSDamjan Jovanovic
34*e4ed64deSDamjan Jovanovic        <path id="main.classpath">
35*e4ed64deSDamjan Jovanovic            <pathelement location="${OUTDIR}/bin/juh.jar"/>
36*e4ed64deSDamjan Jovanovic            <pathelement location="${OUTDIR}/bin/jurt.jar"/>
37*e4ed64deSDamjan Jovanovic            <pathelement location="${OUTDIR}/bin/ridl.jar"/>
38*e4ed64deSDamjan Jovanovic            <pathelement location="${OUTDIR}/bin/unoil.jar"/>
39*e4ed64deSDamjan Jovanovic            <pathelement location="${external.lucene-core.path}"/>
40*e4ed64deSDamjan Jovanovic            <pathelement location="${external.lucene-analyzers.path}"/>
41*e4ed64deSDamjan Jovanovic            <pathelement location="${OUTDIR}/bin/help"/>
42*e4ed64deSDamjan Jovanovic        </path>
43*e4ed64deSDamjan Jovanovic
44*e4ed64deSDamjan Jovanovic    </target>
45*e4ed64deSDamjan Jovanovic
46*e4ed64deSDamjan Jovanovic
47*e4ed64deSDamjan Jovanovic    <target name="import-helpindexer" extensionOf="pre-compile" depends="prepare">
48*e4ed64deSDamjan Jovanovic
49*e4ed64deSDamjan Jovanovic        <copy todir="${main.build.dir}">
50*e4ed64deSDamjan Jovanovic            <fileset dir="${OUTDIR}/bin/help" includes="**/*.class"/>
51*e4ed64deSDamjan Jovanovic        </copy>
52*e4ed64deSDamjan Jovanovic
53*e4ed64deSDamjan Jovanovic    </target>
54*e4ed64deSDamjan Jovanovic
55*e4ed64deSDamjan Jovanovic</project>
56*e4ed64deSDamjan Jovanovic
57