annotate src/nutch-cc/build.xml @ 192:4275eb6484da

maybe triggers jdb on tests with -DdebugTest=true on command line
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 25 Sep 2024 13:51:15 +0100
parents b5904d0bdfd4
children 5f3c36e4fd6d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
191
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1 <?xml version="1.0"?>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
2 <!--
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
3 Licensed to the Apache Software Foundation (ASF) under one or more
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
4 contributor license agreements. See the NOTICE file distributed with
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
5 this work for additional information regarding copyright ownership.
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
6 The ASF licenses this file to You under the Apache License, Version 2.0
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
7 (the "License"); you may not use this file except in compliance with
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
8 the License. You may obtain a copy of the License at
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
9
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
10 http://www.apache.org/licenses/LICENSE-2.0
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
11
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
12 Unless required by applicable law or agreed to in writing, software
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
13 distributed under the License is distributed on an "AS IS" BASIS,
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
15 See the License for the specific language governing permissions and
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
16 limitations under the License.
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
17 -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
18 <project name="${name}" default="runtime" xmlns:ivy="antlib:org.apache.ivy.ant" xmlns:artifact="antlib:org.apache.maven.artifact.ant">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
19
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
20 <!-- Load all the default properties, and any the user wants -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
21 <!-- to contribute (without having to type -D or edit this file -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
22 <property file="${user.home}/build.properties" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
23 <property file="${basedir}/build.properties" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
24 <property file="${basedir}/default.properties" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
25 <property name="release.dir" value="${build.dir}/release"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
26
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
27 <!-- define Maven coordinates, repository url and artifacts name etc -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
28 <property name="groupId" value="org.apache.nutch" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
29 <property name="artifactId" value="nutch" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
30 <property name="maven-repository-url" value="https://repository.apache.org/service/local/staging/deploy/maven2" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
31 <property name="maven-repository-id" value="apache.releases.https" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
32 <property name="maven-jar" value="${release.dir}/${artifactId}-${version}.jar" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
33 <property name="maven-javadoc-jar" value="${release.dir}/${artifactId}-${version}-javadoc.jar" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
34 <property name="maven-sources-jar" value="${release.dir}/${artifactId}-${version}-sources.jar" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
35
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
36
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
37 <!-- the normal classpath -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
38 <path id="classpath">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
39 <pathelement location="${build.classes}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
40 <fileset dir="${build.lib.dir}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
41 <include name="*.jar" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
42 </fileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
43 </path>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
44
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
45 <dirname property="plugins.classpath.dir" file="${build.plugins}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
46
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
47 <!-- the unit test classpath -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
48 <path id="test.classpath">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
49 <pathelement location="${test.build.classes}" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
50 <pathelement location="${conf.dir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
51 <pathelement location="${test.src.dir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
52 <pathelement location="${plugins.classpath.dir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
53 <path refid="classpath"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
54 <pathelement location="${build.dir}/${final.name}.job" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
55 <fileset dir="${build.lib.dir}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
56 <include name="*.jar" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
57 </fileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
58 <fileset dir="${test.build.lib.dir}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
59 <include name="*.jar" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
60 </fileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
61 </path>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
62
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
63 <presetdef name="javac">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
64 <javac includeantruntime="false" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
65 </presetdef>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
66
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
67 <!-- ====================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
68 <!-- Stuff needed by all targets -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
69 <!-- ====================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
70 <target name="init" depends="ivy-init" description="--> stuff required by all targets">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
71 <mkdir dir="${build.dir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
72 <mkdir dir="${build.classes}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
73 <mkdir dir="${release.dir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
74
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
75 <mkdir dir="${test.build.dir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
76 <mkdir dir="${test.build.classes}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
77 <mkdir dir="${test.build.lib.dir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
78
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
79 <touch datetime="01/25/1971 2:00 pm">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
80 <fileset dir="${conf.dir}" includes="**/*.template"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
81 </touch>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
82
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
83 <copy todir="${conf.dir}" verbose="true">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
84 <fileset dir="${conf.dir}" includes="**/*.template"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
85 <mapper type="glob" from="*.template" to="*"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
86 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
87 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
88
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
89 <!-- ====================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
90 <!-- Compile the Java files -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
91 <!-- ====================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
92 <target name="compile" depends="compile-core, compile-plugins" description="--> compile all Java files"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
93
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
94 <target name="compile-core" depends="init, resolve-default" description="--> compile core Java files only">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
95 <javac
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
96 encoding="${build.encoding}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
97 srcdir="${src.dir}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
98 includes="org/apache/nutch/**/*.java org/commoncrawl/**/*.java"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
99 destdir="${build.classes}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
100 debug="${javac.debug}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
101 optimize="${javac.optimize}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
102 target="${javac.version}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
103 source="${javac.version}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
104 deprecation="${javac.deprecation}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
105 <compilerarg value="-Xlint:-path"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
106 <classpath refid="classpath"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
107 </javac>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
108 <copy todir="${build.classes}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
109 <fileset dir="${src.dir}" includes="**/*.html" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
110 <fileset dir="${src.dir}" includes="**/*.css" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
111 <fileset dir="${src.dir}" includes="**/*.properties" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
112 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
113 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
114
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
115 <target name="compile-plugins" depends="init, resolve-default" description="--> compile plugins only">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
116 <ant dir="src/plugin" target="deploy" inheritAll="false"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
117 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
118
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
119 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
120 <!-- Make nutch.jar -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
121 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
122 <!-- -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
123 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
124 <target name="jar" depends="compile-core" description="--> make nutch.jar">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
125 <copy file="${conf.dir}/nutch-default.xml"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
126 todir="${build.classes}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
127 <copy file="${conf.dir}/nutch-site.xml"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
128 todir="${build.classes}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
129 <jar jarfile="${build.dir}/${final.name}.jar"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
130 basedir="${build.classes}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
131 <manifest>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
132 </manifest>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
133 </jar>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
134 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
135
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
136 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
137 <!-- Make Maven Central Release -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
138 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
139 <!-- -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
140 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
141 <target name="release" depends="compile-core" description="--> generate the release distribution">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
142 <copy file="${conf.dir}/nutch-default.xml"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
143 todir="${build.classes}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
144 <copy file="${conf.dir}/nutch-site.xml"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
145 todir="${build.classes}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
146
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
147 <!-- build the main artifact -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
148 <jar jarfile="${maven-jar}" basedir="${build.classes}" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
149
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
150 <fail message="Unsupported Java version: ${java.version}. Javadoc requires Java version 7u25 or greater. See https://issues.apache.org/jira/browse/NUTCH-1590">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
151 <condition>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
152 <or>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
153 <matches string="${java.version}" pattern="1.7.0_2[01234].+" casesensitive="false" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
154 <matches string="${java.version}" pattern="1.7.0_1.+" casesensitive="false" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
155 <equals arg1="${ant.java.version}" arg2="1.6" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
156 <equals arg1="${ant.java.version}" arg2="1.5" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
157 </or>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
158 </condition>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
159 </fail>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
160
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
161 <!-- build the javadoc artifact -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
162 <javadoc
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
163 destdir="${release.dir}/javadoc"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
164 overview="${src.dir}/overview.html"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
165 author="true"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
166 version="true"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
167 use="true"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
168 windowtitle="${name} ${version} API"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
169 doctitle="${name} ${version} API"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
170 bottom="Copyright &amp;copy; ${year} The Apache Software Foundation"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
171 >
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
172 <arg value="${javadoc.proxy.host}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
173 <arg value="${javadoc.proxy.port}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
174
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
175 <packageset dir="${src.dir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
176 <packageset dir="${plugins.dir}/any23/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
177 <packageset dir="${plugins.dir}/creativecommons/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
178 <packageset dir="${plugins.dir}/feed/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
179 <packageset dir="${plugins.dir}/headings/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
180 <packageset dir="${plugins.dir}/exchange-jexl/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
181 <packageset dir="${plugins.dir}/index-anchor/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
182 <packageset dir="${plugins.dir}/index-basic/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
183 <packageset dir="${plugins.dir}/index-geoip/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
184 <packageset dir="${plugins.dir}/index-jexl-filter/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
185 <packageset dir="${plugins.dir}/index-links/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
186 <packageset dir="${plugins.dir}/index-metadata/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
187 <packageset dir="${plugins.dir}/index-more/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
188 <packageset dir="${plugins.dir}/index-replace/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
189 <packageset dir="${plugins.dir}/index-static/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
190 <packageset dir="${plugins.dir}/indexer-cloudsearch/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
191 <packageset dir="${plugins.dir}/indexer-csv/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
192 <packageset dir="${plugins.dir}/indexer-dummy/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
193 <packageset dir="${plugins.dir}/indexer-elastic-rest/src/java/"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
194 <packageset dir="${plugins.dir}/indexer-elastic/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
195 <packageset dir="${plugins.dir}/indexer-kafka/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
196 <packageset dir="${plugins.dir}/indexer-rabbit/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
197 <packageset dir="${plugins.dir}/indexer-solr/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
198 <packageset dir="${plugins.dir}/language-identifier/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
199 <packageset dir="${plugins.dir}/lib-htmlunit/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
200 <packageset dir="${plugins.dir}/lib-http/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
201 <packageset dir="${plugins.dir}/lib-rabbitmq/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
202 <packageset dir="${plugins.dir}/lib-regex-filter/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
203 <packageset dir="${plugins.dir}/lib-selenium/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
204 <packageset dir="${plugins.dir}/microformats-reltag/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
205 <packageset dir="${plugins.dir}/mimetype-filter/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
206 <packageset dir="${plugins.dir}/parse-ext/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
207 <packageset dir="${plugins.dir}/parse-html/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
208 <packageset dir="${plugins.dir}/parse-js/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
209 <packageset dir="${plugins.dir}/parse-metatags/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
210 <packageset dir="${plugins.dir}/parse-swf/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
211 <packageset dir="${plugins.dir}/parse-tika/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
212 <packageset dir="${plugins.dir}/parse-zip/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
213 <packageset dir="${plugins.dir}/parsefilter-naivebayes/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
214 <packageset dir="${plugins.dir}/parsefilter-regex/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
215 <packageset dir="${plugins.dir}/protocol-file/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
216 <packageset dir="${plugins.dir}/protocol-ftp/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
217 <packageset dir="${plugins.dir}/protocol-htmlunit/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
218 <packageset dir="${plugins.dir}/protocol-http/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
219 <packageset dir="${plugins.dir}/protocol-httpclient/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
220 <packageset dir="${plugins.dir}/protocol-interactiveselenium/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
221 <packageset dir="${plugins.dir}/protocol-okhttp/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
222 <packageset dir="${plugins.dir}/protocol-selenium/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
223 <packageset dir="${plugins.dir}/publish-rabbitmq/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
224 <packageset dir="${plugins.dir}/scoring-adaptive/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
225 <packageset dir="${plugins.dir}/scoring-depth/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
226 <packageset dir="${plugins.dir}/scoring-link/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
227 <packageset dir="${plugins.dir}/scoring-opic/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
228 <packageset dir="${plugins.dir}/scoring-orphan/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
229 <packageset dir="${plugins.dir}/scoring-similarity/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
230 <packageset dir="${plugins.dir}/subcollection/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
231 <packageset dir="${plugins.dir}/tld/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
232 <packageset dir="${plugins.dir}/urlfilter-automaton/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
233 <packageset dir="${plugins.dir}/urlfilter-domain/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
234 <packageset dir="${plugins.dir}/urlfilter-domainblacklist/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
235 <packageset dir="${plugins.dir}/urlfilter-fast/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
236 <packageset dir="${plugins.dir}/urlfilter-ignoreexempt/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
237 <packageset dir="${plugins.dir}/urlfilter-prefix/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
238 <packageset dir="${plugins.dir}/urlfilter-regex/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
239 <packageset dir="${plugins.dir}/urlfilter-suffix/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
240 <packageset dir="${plugins.dir}/urlfilter-validator/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
241 <packageset dir="${plugins.dir}/urlmeta/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
242 <packageset dir="${plugins.dir}/urlnormalizer-ajax/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
243 <packageset dir="${plugins.dir}/urlnormalizer-basic/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
244 <packageset dir="${plugins.dir}/urlnormalizer-host/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
245 <packageset dir="${plugins.dir}/urlnormalizer-pass/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
246 <packageset dir="${plugins.dir}/urlnormalizer-protocol/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
247 <packageset dir="${plugins.dir}/urlnormalizer-querystring/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
248 <packageset dir="${plugins.dir}/urlnormalizer-regex/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
249 <packageset dir="${plugins.dir}/urlnormalizer-slash/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
250
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
251 <link href="${javadoc.link.java}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
252 <link href="${javadoc.link.hadoop}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
253 <link href="${javadoc.link.lucene.core}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
254 <link href="${javadoc.link.lucene.analyzers-common}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
255 <link href="${javadoc.link.solr-solrj}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
256
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
257 <classpath refid="classpath"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
258 <classpath>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
259 <fileset dir="${plugins.dir}" >
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
260 <include name="**/*.jar"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
261 </fileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
262 </classpath>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
263
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
264 <group title="Core" packages="org.apache.nutch.*"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
265 <group title="Plugins API" packages="${plugins.api}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
266 <group title="Protocol Plugins" packages="${plugins.protocol}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
267 <group title="URL Filter Plugins" packages="${plugins.urlfilter}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
268 <group title="URL Normalizer Plugins" packages="${plugins.urlnormalizer}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
269 <group title="Scoring Plugins" packages="${plugins.scoring}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
270 <group title="Parse Plugins" packages="${plugins.parse}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
271 <group title="Parse Filter Plugins" packages="${plugins.parsefilter}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
272 <group title="Publisher Plugins" packages="${plugins.publisher}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
273 <group title="Exchange Plugins" packages="${plugins.exchange}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
274 <group title="Indexing Filter Plugins" packages="${plugins.index}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
275 <group title="Indexer Plugins" packages="${plugins.indexer}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
276 <group title="Misc. Plugins" packages="${plugins.misc}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
277 </javadoc>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
278 <jar jarfile="${maven-javadoc-jar}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
279 <fileset dir="${release.dir}/javadoc" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
280 </jar>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
281
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
282 <!-- build the sources artifact -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
283 <jar jarfile="${maven-sources-jar}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
284 <fileset dir="${src.dir}" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
285 </jar>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
286 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
287
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
288 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
289 <!-- Deploy to Apache Nexus -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
290 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
291 <!-- -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
292 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
293 <target name="deploy" depends="release" description="--> deploy to Apache Nexus">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
294
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
295 <!-- generate a pom file -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
296 <ivy:makepom ivyfile="${ivy.file}" pomfile="${basedir}/pom.xml" templatefile="ivy/mvn.template">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
297 <mapping conf="default" scope="compile"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
298 <mapping conf="runtime" scope="runtime"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
299 </ivy:makepom>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
300
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
301 <!-- sign and deploy the main artifact -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
302 <artifact:mvn>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
303 <arg value="org.apache.maven.plugins:maven-gpg-plugin:1.5:sign-and-deploy-file" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
304 <arg value="-Durl=${maven-repository-url}" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
305 <arg value="-DrepositoryId=${maven-repository-id}" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
306 <arg value="-DpomFile=pom.xml" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
307 <arg value="-Dfile=${maven-jar}" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
308 <arg value="-Papache-release" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
309 </artifact:mvn>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
310
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
311 <!-- sign and deploy the sources artifact -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
312 <artifact:mvn>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
313 <arg value="org.apache.maven.plugins:maven-gpg-plugin:1.5:sign-and-deploy-file" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
314 <arg value="-Durl=${maven-repository-url}" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
315 <arg value="-DrepositoryId=${maven-repository-id}" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
316 <arg value="-DpomFile=pom.xml" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
317 <arg value="-Dfile=${maven-sources-jar}" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
318 <arg value="-Dclassifier=sources" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
319 <arg value="-Papache-release" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
320 </artifact:mvn>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
321
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
322 <!-- sign and deploy the javadoc artifact -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
323 <artifact:mvn>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
324 <arg value="org.apache.maven.plugins:maven-gpg-plugin:1.5:sign-and-deploy-file" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
325 <arg value="-Durl=${maven-repository-url}" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
326 <arg value="-DrepositoryId=${maven-repository-id}" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
327 <arg value="-DpomFile=pom.xml" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
328 <arg value="-Dfile=${maven-javadoc-jar}" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
329 <arg value="-Dclassifier=javadoc" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
330 <arg value="-Papache-release" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
331 </artifact:mvn>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
332 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
333
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
334 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
335 <!-- Generate REST API Documentation with Miredot -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
336 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
337 <target name="restdocs" description="--> generate REST API Documentation with Miredot">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
338
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
339 <!-- generate a pom file -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
340 <ivy:makepom ivyfile="${ivy.file}" pomfile="${basedir}/pom.xml" templatefile="ivy/mvn.template">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
341 <mapping conf="default" scope="compile"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
342 <mapping conf="runtime" scope="runtime"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
343 </ivy:makepom>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
344
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
345 <!--artifact:dependencies pathId="dependency.classpath">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
346 <dependency groupId="log4j" artifactId="log4j" version="1.2.15" >
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
347 <exclusion groupId="javax.jms" artifactId="jms" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
348 <exclusion groupId="com.sun.jdmk" artifactId="jmxtools" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
349 <exclusion groupId="com.sun.jmx" artifactId="jmxri" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
350 </dependency>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
351 </artifact:dependencies-->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
352
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
353 <artifact:mvn>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
354 <arg value="test"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
355 <arg value="-e"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
356 <arg value="-o"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
357 <!-- run offline (-o): must not download dependencies as this is
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
358 done from http://repo1.maven.org/ hardwired in
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
359 maven-ant-tasks-2.1.3.jar, see NUTCH-2722.
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
360
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
361 Dependencies and plugins need to be resolved and cached locally beforehand
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
362 by running
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
363 `mvn dependency:resolve`
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
364 resp.
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
365 `mvn dependency:resolve-plugins`
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
366 after the pom.xml has been generated. -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
367 </artifact:mvn>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
368 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
369
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
370 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
371 <!-- Make job jar -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
372 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
373 <!-- -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
374 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
375 <target name="job" depends="compile" description="--> make nutch.job jar">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
376 <jar jarfile="${build.dir}/${final.name}.job">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
377 <!-- If the build.classes has the nutch config files because the jar
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
378 command command has run, exclude them. The conf directory has
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
379 them.
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
380 -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
381 <zipfileset dir="${build.classes}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
382 excludes="nutch-default.xml,nutch-site.xml"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
383 <zipfileset dir="${conf.dir}" excludes="*.template,hadoop*.*"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
384 <zipfileset dir="${build.lib.dir}" prefix="lib"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
385 includes="**/*.jar" excludes="hadoop-*.jar,slf4j*.jar,log4j*.jar"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
386 <zipfileset dir="${build.plugins}" prefix="classes/plugins"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
387 </jar>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
388 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
389
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
390 <target name="runtime" depends="jar, job" description="--> default target for running Nutch">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
391 <mkdir dir="${runtime.dir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
392 <mkdir dir="${runtime.local}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
393 <mkdir dir="${runtime.deploy}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
394 <!-- deploy area -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
395 <copy file="${build.dir}/${final.name}.job"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
396 todir="${runtime.deploy}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
397 <copy todir="${runtime.deploy}/bin">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
398 <fileset dir="src/bin"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
399 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
400 <chmod perm="ugo+x" type="file">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
401 <fileset dir="${runtime.deploy}/bin"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
402 </chmod>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
403 <!-- local area -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
404 <copy file="${build.dir}/${final.name}.jar"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
405 todir="${runtime.local}/lib"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
406 <copy todir="${runtime.local}/lib/native">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
407 <fileset dir="lib/native"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
408 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
409 <copy todir="${runtime.local}/conf">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
410 <fileset dir="${conf.dir}" excludes="*.template"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
411 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
412 <copy todir="${runtime.local}/bin">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
413 <fileset dir="src/bin"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
414 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
415 <chmod perm="ugo+x" type="file">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
416 <fileset dir="${runtime.local}/bin"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
417 </chmod>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
418 <copy todir="${runtime.local}/lib">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
419 <fileset dir="${build.dir}/lib"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
420 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
421 <copy todir="${runtime.local}/plugins">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
422 <fileset dir="${build.dir}/plugins"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
423 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
424 <copy todir="${runtime.local}/test">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
425 <fileset dir="${build.dir}/test"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
426 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
427 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
428
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
429 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
430 <!-- Compile test code -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
431 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
432 <target name="compile-core-test" depends="init, compile-core, resolve-test" description="--> compile test code">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
433 <javac
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
434 encoding="${build.encoding}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
435 srcdir="${test.src.dir}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
436 includes="org/apache/nutch/**/*.java org/commoncrawl/**/*.java"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
437 destdir="${test.build.classes}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
438 debug="${javac.debug}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
439 optimize="${javac.optimize}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
440 target="${javac.version}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
441 source="${javac.version}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
442 deprecation="${javac.deprecation}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
443 <compilerarg value="-Xlint:-path"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
444 <classpath refid="test.classpath"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
445 </javac>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
446 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
447
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
448 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
449 <!-- Run Nutch proxy -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
450 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
451
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
452 <target name="proxy" depends="compile-core-test, job" description="--> run nutch proxy">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
453 <java classname="org.apache.nutch.tools.proxy.ProxyTestbed" fork="true">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
454 <classpath refid="test.classpath"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
455 <arg value="-fake"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
456 <!--
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
457 <arg value="-delay"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
458 <arg value="-200"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
459 -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
460 <jvmarg line="-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
461 </java>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
462 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
463
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
464 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
465 <!-- Run Nutch benchmarking analysis -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
466 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
467
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
468 <target name="benchmark" description="--> run nutch benchmarking analysis">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
469 <java classname="org.apache.nutch.tools.Benchmark" fork="true">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
470 <classpath refid="test.classpath"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
471 <jvmarg line="-Xmx512m -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
472 <arg value="-maxPerHost"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
473 <arg value="10"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
474 <arg value="-seeds"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
475 <arg value="1"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
476 <arg value="-depth"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
477 <arg value="5"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
478 </java>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
479 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
480
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
481 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
482 <!-- Run unit tests -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
483 <!-- ================================================================== -->
192
4275eb6484da maybe triggers jdb on tests with -DdebugTest=true on command line
Henry S. Thompson <ht@inf.ed.ac.uk>
parents: 191
diff changeset
484 <property name="debugTest" value="false"/>
4275eb6484da maybe triggers jdb on tests with -DdebugTest=true on command line
Henry S. Thompson <ht@inf.ed.ac.uk>
parents: 191
diff changeset
485
191
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
486 <target name="test" depends="test-core, test-plugins" description="--> run JUnit tests"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
487
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
488 <target name="test-core" depends="compile-core-test, job" description="--> run core JUnit tests only">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
489
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
490 <delete dir="${test.build.data}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
491 <mkdir dir="${test.build.data}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
492 <!--
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
493 copy resources needed in junit tests
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
494 -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
495 <copy todir="${test.build.data}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
496 <fileset dir="src/testresources" includes="**/*"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
497 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
498
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
499 <copy file="${test.src.dir}/log4j.properties"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
500 todir="${test.build.classes}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
501
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
502 <copy file="${test.src.dir}/crawl-tests.xml"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
503 todir="${test.build.classes}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
504
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
505 <copy file="${test.src.dir}/domain-urlfilter.txt"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
506 todir="${test.build.classes}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
507
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
508 <copy file="${test.src.dir}/filter-all.txt"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
509 todir="${test.build.classes}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
510
192
4275eb6484da maybe triggers jdb on tests with -DdebugTest=true on command line
Henry S. Thompson <ht@inf.ed.ac.uk>
parents: 191
diff changeset
511 <condition property="debugJvmArgs"
4275eb6484da maybe triggers jdb on tests with -DdebugTest=true on command line
Henry S. Thompson <ht@inf.ed.ac.uk>
parents: 191
diff changeset
512 value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8787"
4275eb6484da maybe triggers jdb on tests with -DdebugTest=true on command line
Henry S. Thompson <ht@inf.ed.ac.uk>
parents: 191
diff changeset
513 else="-ea">
4275eb6484da maybe triggers jdb on tests with -DdebugTest=true on command line
Henry S. Thompson <ht@inf.ed.ac.uk>
parents: 191
diff changeset
514 <istrue value="${debugTest}"/>
4275eb6484da maybe triggers jdb on tests with -DdebugTest=true on command line
Henry S. Thompson <ht@inf.ed.ac.uk>
parents: 191
diff changeset
515 </condition>
191
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
516 <junit printsummary="yes" haltonfailure="no" fork="yes"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
517 forkmode="once" dir="${basedir}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
518 errorProperty="tests.failed" failureProperty="tests.failed"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
519 maxmemory="1000m">
192
4275eb6484da maybe triggers jdb on tests with -DdebugTest=true on command line
Henry S. Thompson <ht@inf.ed.ac.uk>
parents: 191
diff changeset
520 <jvmarg value="${debugJvmArgs}"/>
191
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
521 <sysproperty key="test.build.data" value="${test.build.data}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
522 <sysproperty key="test.src.dir" value="${test.src.dir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
523 <sysproperty key="javax.xml.parsers.DocumentBuilderFactory" value="com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
524 <classpath refid="test.classpath"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
525 <formatter type="${test.junit.output.format}" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
526 <batchtest todir="${test.build.dir}" unless="testcase">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
527 <fileset dir="${test.src.dir}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
528 includes="**/Test*.java" excludes="**/${test.exclude}.java" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
529 </batchtest>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
530 <batchtest todir="${test.build.dir}" if="testcase">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
531 <fileset dir="${test.src.dir}" includes="**/${testcase}.java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
532 </batchtest>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
533 </junit>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
534
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
535 <fail if="tests.failed">Tests failed!</fail>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
536
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
537 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
538
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
539 <target name="test-plugins" depends="resolve-test, compile" description="--> run plugin JUnit tests only">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
540 <ant dir="src/plugin" target="test" inheritAll="false"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
541 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
542
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
543 <target name="test-plugin" depends="resolve-test, compile" description="--> run a single plugin's JUnit tests">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
544 <ant dir="src/plugin" target="test-single" inheritAll="false"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
545 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
546
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
547 <target name="nightly" depends="test, tar-src, zip-src" description="--> run the nightly target build">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
548 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
549
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
550 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
551 <!-- Ivy targets -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
552 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
553
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
554 <!-- target: resolve ================================================= -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
555 <target name="resolve-default" depends="clean-default-lib, init" description="--> resolve and retrieve dependencies with ivy">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
556 <ivy:resolve file="${ivy.file}" conf="default" log="download-only"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
557 <ivy:retrieve pattern="${build.lib.dir}/[artifact]-[revision].[ext]" symlink="false" log="quiet"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
558 <antcall target="copy-libs"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
559 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
560
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
561 <target name="resolve-test" depends="clean-test-lib, init" description="--> resolve and retrieve dependencies with ivy">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
562 <ivy:resolve file="${ivy.file}" conf="test" log="download-only"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
563 <ivy:retrieve pattern="${test.build.lib.dir}/[artifact]-[revision].[ext]" symlink="false" log="quiet"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
564 <antcall target="copy-libs"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
565 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
566
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
567 <target name="copy-libs" description="--> copy the libs in lib, which are not ivy enabled">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
568 <!-- copy the libs in lib, which are not ivy enabled-->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
569 <copy todir="${build.lib.dir}/" failonerror="false">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
570 <fileset dir="${lib.dir}" includes="**/*.jar"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
571 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
572 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
573
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
574 <!-- target: publish-local =========================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
575 <target name="publish-local" depends="jar" description="--> publish this project in the local ivy repository">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
576 <ivy:publish artifactspattern="${build.dir}/[artifact]-${version}.[ext]"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
577 resolver="local"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
578 pubrevision="${version}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
579 pubdate="${now}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
580 status="integration"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
581 forcedeliver="true"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
582 overwrite="true"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
583 />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
584 <echo message="project ${ant.project.name} published locally with version ${version}" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
585 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
586
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
587 <!-- target: report ================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
588 <target name="report" depends="resolve-test" description="--> generates a report of dependencies">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
589 <ivy:report todir="${build.dir}" xml="true"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
590 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
591
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
592 <!-- target: 3rd-party licenses report =============================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
593 <target name="report-licenses" depends="resolve-default" description="--> generates a report of licenses of dependencies">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
594 <ivy:report todir="${build.dir}" xml="false" graph="false" xslfile="ivy/ivy-report-license.xsl"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
595 outputpattern="[organisation]-[module]-[conf]-3rd-party-licenses.tsv"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
596 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
597
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
598 <!-- target: ivy-init ================================================ -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
599 <target name="ivy-init" depends="ivy-probe-antlib, ivy-init-antlib" description="--> initialise Ivy settings">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
600 <ivy:settings file="${ivy.dir}/ivysettings.xml" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
601 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
602
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
603 <!-- target: ivy-probe-antlib ======================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
604 <target name="ivy-probe-antlib" description="--> probe the antlib library">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
605 <condition property="ivy.found">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
606 <typefound uri="antlib:org.apache.ivy.ant" name="cleancache" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
607 </condition>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
608 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
609
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
610 <!-- target: ivy-download ============================================ -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
611 <target name="ivy-download" description="--> download ivy">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
612 <available file="${ivy.jar}" property="ivy.jar.found"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
613 <antcall target="ivy-download-unchecked"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
614 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
615
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
616 <!-- target: ivy-download-unchecked ================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
617 <target name="ivy-download-unchecked" unless="ivy.jar.found" description="--> fetch any ivy file">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
618 <get src="${ivy.repo.url}" dest="${ivy.jar}" usetimestamp="true" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
619 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
620
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
621 <!-- target: ivy-init-antlib ========================================= -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
622 <target name="ivy-init-antlib" depends="ivy-download" unless="ivy.found" description="--> attempt to use Ivy with Antlib">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
623 <typedef uri="antlib:org.apache.ivy.ant" onerror="fail" loaderRef="ivyLoader">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
624 <classpath>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
625 <pathelement location="${ivy.jar}" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
626 </classpath>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
627 </typedef>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
628 <fail>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
629 <condition>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
630 <not>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
631 <typefound uri="antlib:org.apache.ivy.ant" name="cleancache" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
632 </not>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
633 </condition>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
634 You need Apache Ivy 2.0 or later from http://ant.apache.org/
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
635 It could not be loaded from ${ivy.repo.url}
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
636 </fail>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
637 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
638
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
639 <!-- Check dependencies for security vulnerabilities -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
640 <!-- requires installation of OWASP dependency check tool, see -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
641 <!-- https://jeremylong.github.io/DependencyCheck/dependency-check-ant/index.html -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
642 <!-- get http://dl.bintray.com/jeremy-long/owasp/dependency-check-ant-3.3.2-release.zip -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
643 <!-- and unzip in directory ./ivy/ -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
644 <property name="dependency-check.home" value="${ivy.dir}/dependency-check-ant/"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
645 <path id="dependency-check.path">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
646 <pathelement location="${dependency-check.home}/dependency-check-ant.jar"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
647 <fileset dir="${dependency-check.home}/lib" erroronmissingdir="false">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
648 <include name="*.jar"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
649 </fileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
650 </path>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
651 <taskdef resource="dependency-check-taskdefs.properties" onerror="ignore">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
652 <classpath refid="dependency-check.path" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
653 </taskdef>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
654 <target name="report-vulnerabilities" description="--> check dependencies for security vulnerabilities">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
655 <dependency-check projectname="${name}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
656 reportoutputdirectory="${build.dir}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
657 reportformat="ALL">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
658 <suppressionfile path="${dependency-check.home}/dependency-check-suppressions.xml" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
659 <retirejsFilter regex="copyright.*jeremy long" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
660 <fileset dir="${build.dir}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
661 <include name="lib/*.jar"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
662 <include name="plugins/*/*.jar"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
663 </fileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
664 </dependency-check>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
665 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
666
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
667 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
668 <!-- Documentation -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
669 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
670 <target name="javadoc" depends="compile" description="--> generate Javadoc">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
671 <fail message="Unsupported Java version: ${java.version}. Javadoc requires Java version 7u25 or greater. See https://issues.apache.org/jira/browse/NUTCH-1590">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
672 <condition>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
673 <or>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
674 <matches string="${java.version}" pattern="1.7.0_2[01234].+" casesensitive="false" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
675 <matches string="${java.version}" pattern="1.7.0_1.+" casesensitive="false" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
676 <equals arg1="${ant.java.version}" arg2="1.6" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
677 <equals arg1="${ant.java.version}" arg2="1.5" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
678 </or>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
679 </condition>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
680 </fail>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
681 <mkdir dir="${build.javadoc}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
682 <javadoc
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
683 overview="${src.dir}/overview.html"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
684 destdir="${build.javadoc}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
685 author="true"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
686 version="true"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
687 use="true"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
688 windowtitle="${name} ${version} API"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
689 doctitle="${name} ${version} API"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
690 bottom="Copyright &amp;copy; ${year} The Apache Software Foundation"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
691 >
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
692 <arg value="${javadoc.proxy.host}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
693 <arg value="${javadoc.proxy.port}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
694
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
695 <packageset dir="${src.dir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
696 <packageset dir="${plugins.dir}/any23/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
697 <packageset dir="${plugins.dir}/creativecommons/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
698 <packageset dir="${plugins.dir}/feed/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
699 <packageset dir="${plugins.dir}/headings/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
700 <packageset dir="${plugins.dir}/exchange-jexl/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
701 <packageset dir="${plugins.dir}/index-anchor/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
702 <packageset dir="${plugins.dir}/index-basic/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
703 <packageset dir="${plugins.dir}/index-geoip/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
704 <packageset dir="${plugins.dir}/index-jexl-filter/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
705 <packageset dir="${plugins.dir}/index-links/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
706 <packageset dir="${plugins.dir}/index-metadata/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
707 <packageset dir="${plugins.dir}/index-more/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
708 <packageset dir="${plugins.dir}/index-replace/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
709 <packageset dir="${plugins.dir}/index-static/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
710 <packageset dir="${plugins.dir}/indexer-cloudsearch/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
711 <packageset dir="${plugins.dir}/indexer-csv/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
712 <packageset dir="${plugins.dir}/indexer-dummy/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
713 <packageset dir="${plugins.dir}/indexer-elastic-rest/src/java/"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
714 <packageset dir="${plugins.dir}/indexer-elastic/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
715 <packageset dir="${plugins.dir}/indexer-kafka/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
716 <packageset dir="${plugins.dir}/indexer-rabbit/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
717 <packageset dir="${plugins.dir}/indexer-solr/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
718 <packageset dir="${plugins.dir}/language-identifier/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
719 <packageset dir="${plugins.dir}/lib-htmlunit/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
720 <packageset dir="${plugins.dir}/lib-http/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
721 <packageset dir="${plugins.dir}/lib-rabbitmq/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
722 <packageset dir="${plugins.dir}/lib-regex-filter/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
723 <packageset dir="${plugins.dir}/lib-selenium/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
724 <packageset dir="${plugins.dir}/microformats-reltag/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
725 <packageset dir="${plugins.dir}/mimetype-filter/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
726 <packageset dir="${plugins.dir}/parse-ext/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
727 <packageset dir="${plugins.dir}/parse-html/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
728 <packageset dir="${plugins.dir}/parse-js/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
729 <packageset dir="${plugins.dir}/parse-metatags/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
730 <packageset dir="${plugins.dir}/parse-swf/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
731 <packageset dir="${plugins.dir}/parse-tika/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
732 <packageset dir="${plugins.dir}/parse-zip/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
733 <packageset dir="${plugins.dir}/parsefilter-naivebayes/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
734 <packageset dir="${plugins.dir}/parsefilter-regex/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
735 <packageset dir="${plugins.dir}/protocol-file/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
736 <packageset dir="${plugins.dir}/protocol-ftp/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
737 <packageset dir="${plugins.dir}/protocol-htmlunit/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
738 <packageset dir="${plugins.dir}/protocol-http/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
739 <packageset dir="${plugins.dir}/protocol-httpclient/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
740 <packageset dir="${plugins.dir}/protocol-interactiveselenium/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
741 <packageset dir="${plugins.dir}/protocol-okhttp/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
742 <packageset dir="${plugins.dir}/protocol-selenium/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
743 <packageset dir="${plugins.dir}/publish-rabbitmq/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
744 <packageset dir="${plugins.dir}/scoring-adaptive/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
745 <packageset dir="${plugins.dir}/scoring-depth/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
746 <packageset dir="${plugins.dir}/scoring-link/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
747 <packageset dir="${plugins.dir}/scoring-opic/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
748 <packageset dir="${plugins.dir}/scoring-orphan/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
749 <packageset dir="${plugins.dir}/scoring-similarity/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
750 <packageset dir="${plugins.dir}/subcollection/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
751 <packageset dir="${plugins.dir}/tld/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
752 <packageset dir="${plugins.dir}/urlfilter-automaton/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
753 <packageset dir="${plugins.dir}/urlfilter-domain/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
754 <packageset dir="${plugins.dir}/urlfilter-domainblacklist/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
755 <packageset dir="${plugins.dir}/urlfilter-fast/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
756 <packageset dir="${plugins.dir}/urlfilter-ignoreexempt/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
757 <packageset dir="${plugins.dir}/urlfilter-prefix/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
758 <packageset dir="${plugins.dir}/urlfilter-regex/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
759 <packageset dir="${plugins.dir}/urlfilter-suffix/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
760 <packageset dir="${plugins.dir}/urlfilter-validator/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
761 <packageset dir="${plugins.dir}/urlmeta/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
762 <packageset dir="${plugins.dir}/urlnormalizer-ajax/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
763 <packageset dir="${plugins.dir}/urlnormalizer-basic/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
764 <packageset dir="${plugins.dir}/urlnormalizer-host/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
765 <packageset dir="${plugins.dir}/urlnormalizer-pass/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
766 <packageset dir="${plugins.dir}/urlnormalizer-protocol/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
767 <packageset dir="${plugins.dir}/urlnormalizer-querystring/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
768 <packageset dir="${plugins.dir}/urlnormalizer-regex/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
769 <packageset dir="${plugins.dir}/urlnormalizer-slash/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
770
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
771 <link href="${javadoc.link.java}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
772 <link href="${javadoc.link.hadoop}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
773 <link href="${javadoc.link.lucene.core}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
774 <link href="${javadoc.link.lucene.analyzers-common}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
775 <link href="${javadoc.link.solr-solrj}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
776
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
777 <classpath refid="classpath"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
778 <classpath>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
779 <fileset dir="${plugins.dir}" >
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
780 <include name="**/*.jar"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
781 </fileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
782 </classpath>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
783
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
784 <group title="Core" packages="org.apache.nutch.*"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
785 <group title="Plugins API" packages="${plugins.api}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
786 <group title="Protocol Plugins" packages="${plugins.protocol}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
787 <group title="URL Filter Plugins" packages="${plugins.urlfilter}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
788 <group title="URL Normalizer Plugins" packages="${plugins.urlnormalizer}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
789 <group title="Scoring Plugins" packages="${plugins.scoring}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
790 <group title="Parse Plugins" packages="${plugins.parse}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
791 <group title="Parse Filter Plugins" packages="${plugins.parsefilter}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
792 <group title="Publisher Plugins" packages="${plugins.publisher}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
793 <group title="Exchange Plugins" packages="${plugins.exchange}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
794 <group title="Indexing Filter Plugins" packages="${plugins.index}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
795 <group title="Indexer Plugins" packages="${plugins.indexer}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
796 <group title="Misc. Plugins" packages="${plugins.misc}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
797 </javadoc>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
798 <!-- Copy the plugin.dtd file to the plugin doc-files dir -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
799 <copy file="${plugins.dir}/plugin.dtd"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
800 todir="${build.javadoc}/org/apache/nutch/plugin/doc-files"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
801 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
802
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
803 <target name="default-doc" description="--> generate default Nutch documentation">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
804 <style basedir="${conf.dir}" destdir="${docs.dir}"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
805 includes="nutch-default.xml" style="conf/nutch-conf.xsl"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
806 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
807
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
808 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
809 <!-- D I S T R I B U T I O N -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
810 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
811 <!-- -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
812 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
813 <target name="package-src" depends="runtime, javadoc" description="--> generate source distribution package">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
814 <mkdir dir="${dist.dir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
815 <mkdir dir="${src.dist.version.dir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
816 <mkdir dir="${src.dist.version.dir}/lib"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
817 <mkdir dir="${src.dist.version.dir}/docs"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
818 <mkdir dir="${src.dist.version.dir}/docs/api"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
819 <mkdir dir="${src.dist.version.dir}/ivy"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
820
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
821 <copy todir="${src.dist.version.dir}/lib" includeEmptyDirs="false">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
822 <fileset dir="lib"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
823 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
824
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
825 <copy todir="${src.dist.version.dir}/conf">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
826 <fileset dir="${conf.dir}" excludes="**/*.template"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
827 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
828
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
829 <copy todir="${src.dist.version.dir}/docs/api">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
830 <fileset dir="${build.javadoc}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
831 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
832
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
833 <copy todir="${src.dist.version.dir}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
834 <fileset dir=".">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
835 <include name="*.txt" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
836 <!--<include name="KEYS" />-->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
837 </fileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
838 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
839
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
840 <copy todir="${src.dist.version.dir}/src" includeEmptyDirs="true">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
841 <fileset dir="src"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
842 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
843
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
844 <copy todir="${src.dist.version.dir}/ivy" includeEmptyDirs="true">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
845 <fileset dir="ivy"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
846 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
847
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
848 <copy todir="${src.dist.version.dir}/" file="build.xml"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
849 <copy todir="${src.dist.version.dir}/" file="default.properties"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
850
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
851 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
852
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
853 <target name="package-bin" depends="runtime, javadoc" description="--> generate binary distribution package">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
854 <mkdir dir="${dist.dir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
855 <mkdir dir="${bin.dist.version.dir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
856 <mkdir dir="${bin.dist.version.dir}/lib"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
857 <mkdir dir="${bin.dist.version.dir}/bin"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
858 <mkdir dir="${bin.dist.version.dir}/conf"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
859 <mkdir dir="${bin.dist.version.dir}/docs"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
860 <mkdir dir="${bin.dist.version.dir}/docs/api"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
861 <mkdir dir="${bin.dist.version.dir}/plugins"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
862
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
863 <copy todir="${bin.dist.version.dir}/lib" includeEmptyDirs="false">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
864 <fileset dir="runtime/local/lib"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
865 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
866
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
867 <copy todir="${bin.dist.version.dir}/bin">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
868 <fileset dir="runtime/local/bin"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
869 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
870
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
871 <chmod perm="ugo+x" type="file">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
872 <fileset dir="${bin.dist.version.dir}/bin"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
873 </chmod>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
874
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
875 <copy todir="${bin.dist.version.dir}/conf">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
876 <fileset dir="runtime/local/conf" excludes="**/*.template"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
877 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
878
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
879 <copy todir="${bin.dist.version.dir}/docs/api">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
880 <fileset dir="${build.javadoc}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
881 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
882
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
883 <copy todir="${bin.dist.version.dir}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
884 <fileset dir=".">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
885 <include name="*.txt" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
886 </fileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
887 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
888
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
889 <copy todir="${bin.dist.version.dir}/plugins" includeEmptyDirs="true">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
890 <fileset dir="runtime/local/plugins"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
891 </copy>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
892
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
893 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
894
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
895 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
896 <!-- Make src release tarball -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
897 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
898 <target name="tar-src" depends="package-src" description="--> generate src.tar.gz distribution package">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
899 <tar compression="gzip" longfile="gnu"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
900 destfile="${src.dist.version.dir}.tar.gz">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
901 <tarfileset dir="${src.dist.version.dir}" mode="664" prefix="${final.name}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
902 <exclude name="src/bin/*" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
903 <include name="**" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
904 </tarfileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
905 <tarfileset dir="${src.dist.version.dir}" mode="755" prefix="${final.name}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
906 <include name="src/bin/*" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
907 </tarfileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
908 </tar>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
909 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
910
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
911 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
912 <!-- Make bin release tarball -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
913 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
914 <target name="tar-bin" depends="package-bin" description="--> generate bin.tar.gz distribution package">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
915 <tar compression="gzip" longfile="gnu"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
916 destfile="${bin.dist.version.dir}.tar.gz">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
917 <tarfileset dir="${bin.dist.version.dir}" mode="664" prefix="${final.name}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
918 <exclude name="bin/*" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
919 <include name="**" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
920 </tarfileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
921 <tarfileset dir="${bin.dist.version.dir}" mode="755" prefix="${final.name}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
922 <include name="bin/*" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
923 </tarfileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
924 </tar>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
925 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
926
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
927 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
928 <!-- Make src release zip -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
929 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
930 <target name="zip-src" depends="package-src" description="--> generate src.zip distribution package">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
931 <zip compress="true" casesensitive="yes"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
932 destfile="${src.dist.version.dir}.zip">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
933 <zipfileset dir="${src.dist.version.dir}" filemode="664" prefix="${final.name}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
934 <exclude name="src/bin/*" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
935 <include name="**" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
936 </zipfileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
937 <zipfileset dir="${src.dist.version.dir}" filemode="755" prefix="${final.name}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
938 <include name="src/bin/*" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
939 </zipfileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
940 </zip>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
941 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
942
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
943 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
944 <!-- Make bin release zip -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
945 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
946 <target name="zip-bin" depends="package-bin" description="--> generate bin.zip distribution package">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
947 <zip compress="true" casesensitive="yes"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
948 destfile="${bin.dist.version.dir}.zip">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
949 <zipfileset dir="${bin.dist.version.dir}" filemode="664" prefix="${final.name}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
950 <exclude name="bin/*" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
951 <include name="**" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
952 </zipfileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
953 <zipfileset dir="${bin.dist.version.dir}" filemode="755" prefix="${final.name}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
954 <include name="bin/*" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
955 </zipfileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
956 </zip>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
957 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
958
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
959 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
960 <!-- Clean. Delete the build files, and their directories -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
961 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
962
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
963 <!-- target: clean =================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
964 <target name="clean" depends="clean-build, clean-lib, clean-dist, clean-runtime" description="--> clean the project" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
965
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
966 <!-- target: clean-eclipse ============================================ -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
967 <target name="clean-eclipse" depends="clean-build, clean-lib, clean-dist" description="--> cleans the eclipse project"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
968
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
969 <!-- target: clean-local ============================================= -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
970 <target name="clean-local" depends=""
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
971 description="--> cleans the local repository for the current module">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
972 <delete dir="${ivy.local.default.root}/${ivy.organisation}/${ivy.module}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
973 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
974
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
975 <!-- target: clean-lib =============================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
976 <target name="clean-lib" depends="clean-default-lib, clean-test-lib"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
977 description="--> clean the project libraries directories (dependencies: default + test)">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
978 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
979 <!-- target: clean-default-lib =============================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
980 <target name="clean-default-lib" description="--> clean the project libraries directory (dependencies)">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
981 <delete includeemptydirs="true" dir="${build.lib.dir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
982 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
983 <!-- target: clean-test-lib =============================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
984 <target name="clean-test-lib" description="--> clean the project test libraries directory (dependencies)">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
985 <delete includeemptydirs="true" dir="${test.build.lib.dir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
986 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
987
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
988 <!-- target: clean-build ============================================= -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
989 <target name="clean-build" description="--> clean the project built files">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
990 <delete includeemptydirs="true" dir="${build.dir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
991 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
992
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
993 <!-- target: clean-dist ============================================= -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
994 <target name="clean-dist" description="--> clean the project dist files">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
995 <delete includeemptydirs="true" dir="${dist.dir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
996 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
997
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
998 <!-- target: clean-cache ============================================= -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
999 <target name="clean-cache" depends=""
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1000 description="--> delete ivy cache">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1001 <ivy:cleancache />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1002 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1003
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1004 <target name="clean-runtime" description="--> clean the project runtime area">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1005 <delete includeemptydirs="true" dir="${runtime.dir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1006 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1007
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1008 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1009 <!-- RAT targets -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1010 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1011 <target name="rat-sources-typedef" description="--> run RAT antlib task">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1012 <typedef resource="org/apache/rat/anttasks/antlib.xml" >
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1013 <classpath>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1014 <fileset dir="." includes="rat*.jar"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1015 </classpath>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1016 </typedef>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1017 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1018
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1019 <target name="rat-sources" depends="rat-sources-typedef"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1020 description="--> runs RAT tasks over src/java">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1021 <rat:report xmlns:rat="antlib:org.apache.rat.anttasks">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1022 <fileset dir="src">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1023 <include name="java/**/*"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1024 <include name="plugin/**/src/**/*"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1025 </fileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1026 </rat:report>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1027 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1028
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1029
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1030 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1031 <!-- Eclipse targets -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1032 <!-- ================================================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1033
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1034 <!-- classpath for generating eclipse project -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1035 <path id="eclipse.classpath">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1036 <fileset dir="${build.lib.dir}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1037 <include name="*.jar" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1038 <exclude name="ant-eclipse-1.0-jvm1.2.jar" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1039 </fileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1040 <fileset dir="${build.plugins}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1041 <include name="**/*.jar" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1042 </fileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1043 <fileset dir="${test.build.lib.dir}">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1044 <include name="*.jar" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1045 </fileset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1046 </path>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1047
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1048 <!-- target: ant-eclipse-download =================================== -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1049 <target name="ant-eclipse-download" description="--> downloads the ant-eclipse binary.">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1050 <get src="https://downloads.sourceforge.net/project/ant-eclipse/ant-eclipse/1.0/ant-eclipse-1.0.bin.tar.bz2"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1051 dest="${build.dir}/ant-eclipse-1.0.bin.tar.bz2" usetimestamp="false" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1052
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1053 <untar src="${build.dir}/ant-eclipse-1.0.bin.tar.bz2"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1054 dest="${build.dir}" compression="bzip2">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1055 <patternset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1056 <include name="lib/ant-eclipse-1.0-jvm1.2.jar"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1057 </patternset>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1058 </untar>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1059
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1060 <delete file="${build.dir}/ant-eclipse-1.0.bin.tar.bz2" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1061 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1062
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1063 <!-- target: eclipse ================================================ -->
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1064 <target name="eclipse"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1065 depends="clean-eclipse,init,resolve-test,job,ant-eclipse-download"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1066 description="--> create eclipse project files">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1067
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1068 <pathconvert property="eclipse.project">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1069 <path path="${basedir}"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1070 <regexpmapper from="^.*/([^/]+)$$" to="\1" handledirsep="yes"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1071 </pathconvert>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1072
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1073 <taskdef name="eclipse"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1074 classname="prantl.ant.eclipse.EclipseTask"
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1075 classpath="${build.dir}/lib/ant-eclipse-1.0-jvm1.2.jar" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1076 <eclipse updatealways="true">
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1077 <project name="${eclipse.project}" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1078 <classpath>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1079 <library path="${conf.dir}" exported="false" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1080 <library path="${basedir}/src/bin" exported="false" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1081 <library pathref="eclipse.classpath" exported="false" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1082
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1083 <source path="${basedir}/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1084 <source path="${basedir}/src/test/" output="build/test/classes" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1085
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1086 <source path="${plugins.dir}/any23/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1087 <source path="${plugins.dir}/any23/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1088 <source path="${plugins.dir}/creativecommons/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1089 <source path="${plugins.dir}/creativecommons/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1090 <source path="${plugins.dir}/feed/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1091 <source path="${plugins.dir}/feed/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1092 <source path="${plugins.dir}/headings/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1093 <source path="${plugins.dir}/headings/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1094 <source path="${plugins.dir}/exchange-jexl/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1095 <source path="${plugins.dir}/index-anchor/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1096 <source path="${plugins.dir}/index-anchor/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1097 <source path="${plugins.dir}/index-basic/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1098 <source path="${plugins.dir}/index-basic/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1099 <source path="${plugins.dir}/index-geoip/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1100 <source path="${plugins.dir}/index-jexl-filter/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1101 <source path="${plugins.dir}/index-jexl-filter/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1102 <source path="${plugins.dir}/index-links/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1103 <source path="${plugins.dir}/index-links/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1104 <source path="${plugins.dir}/index-metadata/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1105 <source path="${plugins.dir}/index-more/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1106 <source path="${plugins.dir}/index-more/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1107 <source path="${plugins.dir}/index-replace/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1108 <source path="${plugins.dir}/index-replace/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1109 <source path="${plugins.dir}/index-static/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1110 <source path="${plugins.dir}/index-static/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1111 <source path="${plugins.dir}/indexer-cloudsearch/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1112 <source path="${plugins.dir}/indexer-csv/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1113 <source path="${plugins.dir}/indexer-csv/src/test"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1114 <source path="${plugins.dir}/indexer-dummy/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1115 <source path="${plugins.dir}/indexer-elastic-rest/src/java/"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1116 <source path="${plugins.dir}/indexer-elastic/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1117 <source path="${plugins.dir}/indexer-kafka/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1118 <source path="${plugins.dir}/indexer-rabbit/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1119 <source path="${plugins.dir}/indexer-solr/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1120 <source path="${plugins.dir}/language-identifier/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1121 <source path="${plugins.dir}/language-identifier/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1122 <source path="${plugins.dir}/lib-htmlunit/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1123 <source path="${plugins.dir}/lib-http/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1124 <source path="${plugins.dir}/lib-http/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1125 <source path="${plugins.dir}/lib-rabbitmq/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1126 <source path="${plugins.dir}/lib-regex-filter/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1127 <source path="${plugins.dir}/lib-regex-filter/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1128 <source path="${plugins.dir}/lib-selenium/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1129 <source path="${plugins.dir}/microformats-reltag/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1130 <source path="${plugins.dir}/mimetype-filter/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1131 <source path="${plugins.dir}/mimetype-filter/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1132 <source path="${plugins.dir}/parse-ext/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1133 <source path="${plugins.dir}/parse-ext/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1134 <source path="${plugins.dir}/parse-html/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1135 <source path="${plugins.dir}/parse-html/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1136 <source path="${plugins.dir}/parse-js/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1137 <source path="${plugins.dir}/parse-js/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1138 <source path="${plugins.dir}/parse-metatags/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1139 <source path="${plugins.dir}/parse-metatags/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1140 <source path="${plugins.dir}/parse-swf/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1141 <source path="${plugins.dir}/parse-swf/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1142 <source path="${plugins.dir}/parse-tika/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1143 <source path="${plugins.dir}/parse-tika/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1144 <source path="${plugins.dir}/parse-zip/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1145 <source path="${plugins.dir}/parse-zip/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1146 <source path="${plugins.dir}/parsefilter-naivebayes/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1147 <source path="${plugins.dir}/parsefilter-regex/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1148 <source path="${plugins.dir}/parsefilter-regex/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1149 <source path="${plugins.dir}/protocol-file/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1150 <source path="${plugins.dir}/protocol-file/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1151 <source path="${plugins.dir}/protocol-ftp/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1152 <source path="${plugins.dir}/protocol-htmlunit/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1153 <source path="${plugins.dir}/protocol-http/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1154 <source path="${plugins.dir}/protocol-http/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1155 <source path="${plugins.dir}/protocol-httpclient/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1156 <source path="${plugins.dir}/protocol-httpclient/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1157 <source path="${plugins.dir}/protocol-interactiveselenium/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1158 <source path="${plugins.dir}/protocol-okhttp/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1159 <source path="${plugins.dir}/protocol-okhttp/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1160 <source path="${plugins.dir}/protocol-selenium/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1161 <source path="${plugins.dir}/publish-rabbitmq/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1162 <source path="${plugins.dir}/scoring-adaptive/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1163 <source path="${plugins.dir}/scoring-depth/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1164 <source path="${plugins.dir}/scoring-link/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1165 <source path="${plugins.dir}/scoring-opic/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1166 <source path="${plugins.dir}/scoring-orphan/src/java"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1167 <source path="${plugins.dir}/scoring-orphan/src/test"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1168 <source path="${plugins.dir}/scoring-similarity/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1169 <source path="${plugins.dir}/subcollection/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1170 <source path="${plugins.dir}/subcollection/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1171 <source path="${plugins.dir}/tld/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1172 <source path="${plugins.dir}/urlfilter-automaton/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1173 <source path="${plugins.dir}/urlfilter-automaton/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1174 <source path="${plugins.dir}/urlfilter-domain/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1175 <source path="${plugins.dir}/urlfilter-domain/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1176 <source path="${plugins.dir}/urlfilter-domainblacklist/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1177 <source path="${plugins.dir}/urlfilter-domainblacklist/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1178 <source path="${plugins.dir}/urlfilter-fast/src/java/"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1179 <source path="${plugins.dir}/urlfilter-fast/src/test/"/>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1180 <source path="${plugins.dir}/urlfilter-ignoreexempt/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1181 <source path="${plugins.dir}/urlfilter-prefix/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1182 <source path="${plugins.dir}/urlfilter-prefix/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1183 <source path="${plugins.dir}/urlfilter-regex/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1184 <source path="${plugins.dir}/urlfilter-regex/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1185 <source path="${plugins.dir}/urlfilter-suffix/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1186 <source path="${plugins.dir}/urlfilter-suffix/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1187 <source path="${plugins.dir}/urlfilter-validator/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1188 <source path="${plugins.dir}/urlfilter-validator/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1189 <source path="${plugins.dir}/urlmeta/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1190 <source path="${plugins.dir}/urlnormalizer-ajax/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1191 <source path="${plugins.dir}/urlnormalizer-ajax/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1192 <source path="${plugins.dir}/urlnormalizer-basic/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1193 <source path="${plugins.dir}/urlnormalizer-basic/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1194 <source path="${plugins.dir}/urlnormalizer-host/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1195 <source path="${plugins.dir}/urlnormalizer-host/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1196 <source path="${plugins.dir}/urlnormalizer-pass/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1197 <source path="${plugins.dir}/urlnormalizer-pass/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1198 <source path="${plugins.dir}/urlnormalizer-protocol/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1199 <source path="${plugins.dir}/urlnormalizer-protocol/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1200 <source path="${plugins.dir}/urlnormalizer-querystring/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1201 <source path="${plugins.dir}/urlnormalizer-querystring/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1202 <source path="${plugins.dir}/urlnormalizer-regex/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1203 <source path="${plugins.dir}/urlnormalizer-regex/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1204 <source path="${plugins.dir}/urlnormalizer-slash/src/java/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1205 <source path="${plugins.dir}/urlnormalizer-slash/src/test/" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1206
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1207 <output path="${build.classes}" />
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1208 </classpath>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1209 </eclipse>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1210 </target>
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1211
b5904d0bdfd4 orig, more or less
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1212 </project>