File: build.xml

package info (click to toggle)
lucene-solr 3.6.2%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 91,080 kB
  • sloc: java: 465,499; xml: 24,959; ruby: 3,453; jsp: 2,637; sh: 1,659; python: 1,619; perl: 1,407; cpp: 305; makefile: 51
file content (108 lines) | stat: -rw-r--r-- 3,192 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?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="analyzers" default="default">

  <description>
    Additional Analyzers
      - common:	Additional Analyzers
      - kuromoji:       Japanese Morphological Analyzer
      - smartcn:	Smart Analyzer for Simplified Chinese Text
      - stempel:	Algorithmic Stemmer for Polish
  </description>

  <!-- we dont import contrib-build.xml here, as this file only delegates to the real build files -->

  <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>

  <target name="common">
    <ant dir="common" />
  </target>

  <target name="kuromoji">
    <ant dir="kuromoji" />
  </target>

  <target name="phonetic">
    <ant dir="phonetic" />
  </target>

  <target name="smartcn">
    <ant dir="smartcn" />
  </target>

  <target name="stempel">
    <ant dir="stempel" />
  </target>

  <target name="default" depends="common,kuromoji,phonetic,smartcn,stempel" />

  <target name="clean">
    <forall-analyzers target="clean"/>
  </target>
  <target name="resolve">
    <forall-analyzers target="resolve"/>
  </target>
  <target name="validate">
    <forall-analyzers target="validate"/>
  </target>
  <target name="compile-core">
    <forall-analyzers target="compile-core"/>
  </target>
  <target name="compile-test">
    <forall-analyzers target="compile-test"/>
  </target>
  <target name="test">
    <forall-analyzers target="test"/>
  </target>

  <target name="build-artifacts-and-tests" depends="default,compile-test" />

  <target name="dist-maven" depends="default">
    <forall-analyzers target="dist-maven"/>
  </target>  	

  <target name="javadocs">
    <forall-analyzers target="javadocs"/>
  </target>  	

  <target name="javadocs-index.html">
    <forall-analyzers target="javadocs-index.html"/>
  </target>

  <target name="rat-sources">
    <forall-analyzers target="rat-sources"/>
  </target>
	
</project>