comparison src/plugin/build.xml @ 0:3b37d71af924 default tip

iniitial
author dwinter
date Tue, 26 Feb 2013 15:50:30 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:3b37d71af924
1 <?xml version="1.0"?>
2 <!--
3 Licensed to the Apache Software Foundation (ASF) under one or more
4 contributor license agreements. See the NOTICE file distributed with
5 this work for additional information regarding copyright ownership.
6 The ASF licenses this file to You under the Apache License, Version 2.0
7 (the "License"); you may not use this file except in compliance with
8 the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 -->
18 <project name="Nutch" default="deploy-core" basedir=".">
19
20 <target name="deploy-core">
21 <ant target="compile-core" inheritall="false" dir="../.."/>
22 <ant target="deploy"/>
23 </target>
24
25 <!-- ====================================================== -->
26 <!-- Build & deploy all the plugin jars. -->
27 <!-- ====================================================== -->
28 <target name="deploy">
29 <ant dir="creativecommons" target="deploy"/>
30 <ant dir="feed" target="deploy"/>
31 <ant dir="headings" target="deploy"/>
32 <ant dir="index-basic" target="deploy"/>
33 <ant dir="index-anchor" target="deploy"/>
34 <ant dir="index-more" target="deploy"/>
35 <ant dir="index-static" target="deploy"/>
36 <ant dir="index-metadata" target="deploy"/>
37 <ant dir="language-identifier" target="deploy"/>
38 <ant dir="lib-http" target="deploy"/>
39 <ant dir="lib-nekohtml" target="deploy"/>
40 <ant dir="lib-regex-filter" target="deploy"/>
41 <ant dir="lib-xml" target="deploy"/>
42 <ant dir="microformats-reltag" target="deploy"/>
43 <ant dir="nutch-extensionpoints" target="deploy"/>
44 <ant dir="protocol-file" target="deploy"/>
45 <ant dir="protocol-ftp" target="deploy"/>
46 <ant dir="protocol-http" target="deploy"/>
47 <ant dir="protocol-httpclient" target="deploy"/>
48 <ant dir="parse-ext" target="deploy"/>
49 <ant dir="parse-js" target="deploy"/>
50 <ant dir="parse-html" target="deploy"/>
51 <ant dir="parse-metatags" target="deploy"/>
52 <ant dir="parse-swf" target="deploy"/>
53 <ant dir="parse-tika" target="deploy"/>
54 <ant dir="parse-zip" target="deploy"/>
55 <ant dir="scoring-depth" target="deploy"/>
56 <ant dir="scoring-opic" target="deploy"/>
57 <ant dir="scoring-link" target="deploy"/>
58 <ant dir="subcollection" target="deploy"/>
59 <ant dir="tld" target="deploy"/>
60 <ant dir="urlfilter-automaton" target="deploy"/>
61 <ant dir="urlfilter-domain" target="deploy" />
62 <ant dir="urlfilter-domainblacklist" target="deploy" />
63 <ant dir="urlfilter-prefix" target="deploy"/>
64 <ant dir="urlfilter-regex" target="deploy"/>
65 <ant dir="urlfilter-suffix" target="deploy"/>
66 <ant dir="urlfilter-validator" target="deploy"/>
67 <ant dir="urlmeta" target="deploy"/>
68 <ant dir="urlnormalizer-basic" target="deploy"/>
69 <ant dir="urlnormalizer-host" target="deploy"/>
70 <ant dir="urlnormalizer-pass" target="deploy"/>
71 <ant dir="urlnormalizer-regex" target="deploy"/>
72 <ant dir="parse-MPIWG-metaTag" target="deploy"/>
73 <ant dir="parse-mpiwg" target="deploy"/>
74 </target>
75
76 <!-- ====================================================== -->
77 <!-- Test all of the plugins. -->
78 <!-- ====================================================== -->
79 <target name="test">
80 <parallel threadCount="2">
81 <ant dir="creativecommons" target="test"/>
82 <ant dir="index-basic" target="test"/>
83 <ant dir="index-anchor" target="test"/>
84 <ant dir="index-more" target="test"/>
85 <ant dir="index-static" target="test"/>
86 <ant dir="language-identifier" target="test"/>
87 <ant dir="lib-http" target="test"/>
88 <ant dir="protocol-file" target="test"/>
89 <ant dir="protocol-httpclient" target="test"/>
90 <!--ant dir="parse-ext" target="test"/-->
91 <ant dir="feed" target="test"/>
92 <ant dir="parse-html" target="test"/>
93 <ant dir="parse-metatags" target="test"/>
94 <ant dir="parse-swf" target="test"/>
95 <ant dir="parse-tika" target="test"/>
96 <ant dir="parse-zip" target="test"/>
97 <ant dir="subcollection" target="test"/>
98 <ant dir="urlfilter-automaton" target="test"/>
99 <ant dir="urlfilter-domain" target="test"/>
100 <ant dir="urlfilter-domainblacklist" target="test"/>
101 <ant dir="urlfilter-regex" target="test"/>
102 <ant dir="urlfilter-suffix" target="test"/>
103 <ant dir="urlfilter-validator" target="test"/>
104 <ant dir="urlnormalizer-basic" target="test"/>
105 <ant dir="urlnormalizer-host" target="test"/>
106 <ant dir="urlnormalizer-pass" target="test"/>
107 <ant dir="urlnormalizer-regex" target="test"/>
108 <ant dir="parse-MPIWG-metaTag" target="test"/>
109 <ant dir="parse-mpiwg" target="test"/>
110 </parallel>
111 </target>
112
113 <!-- ====================================================== -->
114 <!-- Clean all of the plugins. -->
115 <!-- ====================================================== -->
116 <target name="clean">
117 <ant dir="creativecommons" target="clean"/>
118 <ant dir="feed" target="clean"/>
119 <ant dir="headings" target="clean"/>
120 <ant dir="index-basic" target="clean"/>
121 <ant dir="index-anchor" target="clean"/>
122 <ant dir="index-more" target="clean"/>
123 <ant dir="index-static" target="clean"/>
124 <ant dir="index-metadata" target="clean"/>
125 <ant dir="language-identifier" target="clean"/>
126 <ant dir="lib-commons-httpclient" target="clean"/>
127 <ant dir="lib-http" target="clean"/>
128 <ant dir="lib-lucene-analyzers" target="clean"/>
129 <ant dir="lib-nekohtml" target="clean"/>
130 <ant dir="lib-regex-filter" target="clean"/>
131 <ant dir="lib-xml" target="clean"/>
132 <ant dir="microformats-reltag" target="clean"/>
133 <ant dir="nutch-extensionpoints" target="clean"/>
134 <ant dir="protocol-file" target="clean"/>
135 <ant dir="protocol-ftp" target="clean"/>
136 <ant dir="protocol-http" target="clean"/>
137 <ant dir="protocol-httpclient" target="clean"/>
138 <ant dir="parse-ext" target="clean"/>
139 <ant dir="parse-js" target="clean"/>
140 <ant dir="parse-html" target="clean"/>
141 <ant dir="parse-metatags" target="clean"/>
142 <ant dir="parse-swf" target="clean"/>
143 <ant dir="parse-tika" target="clean"/>
144 <ant dir="parse-zip" target="clean"/>
145 <ant dir="scoring-depth" target="clean"/>
146 <ant dir="scoring-opic" target="clean"/>
147 <ant dir="scoring-link" target="clean"/>
148 <ant dir="subcollection" target="clean"/>
149 <ant dir="tld" target="clean"/>
150 <ant dir="urlfilter-automaton" target="clean"/>
151 <ant dir="urlfilter-domain" target="clean" />
152 <ant dir="urlfilter-domainblacklist" target="clean" />
153 <ant dir="urlfilter-prefix" target="clean"/>
154 <ant dir="urlfilter-regex" target="clean"/>
155 <ant dir="urlfilter-suffix" target="clean"/>
156 <ant dir="urlfilter-validator" target="clean"/>
157 <ant dir="urlmeta" target="clean"/>
158 <ant dir="urlnormalizer-host" target="clean"/>
159 <ant dir="urlnormalizer-basic" target="clean"/>
160 <ant dir="urlnormalizer-pass" target="clean"/>
161 <ant dir="urlnormalizer-regex" target="clean"/>
162 <ant dir="parse-MPIWG-metaTag" target="clean"/>
163 <ant dir="parse-mpiwg" target="clean"/>
164 </target>
165 </project>