blob: 86f682bd13bdc2b70b5b70081e4550ef95e8ac38 [file] [log] [blame]
Clement Escoffierd85236c2013-04-22 12:12:33 +00001<?xml version="1.0"?>
2
3<!--
4 ~ Licensed to the Apache Software Foundation (ASF) under one
5 ~ or more contributor license agreements. See the NOTICE file
6 ~ distributed with this work for additional information
7 ~ regarding copyright ownership. The ASF licenses this file
8 ~ to you under the Apache License, Version 2.0 (the
9 ~ "License"); you may not use this file except in compliance
10 ~ with the License. You may obtain a copy of the License at
11 ~
12 ~ http://www.apache.org/licenses/LICENSE-2.0
13 ~
14 ~ Unless required by applicable law or agreed to in writing,
15 ~ software distributed under the License is distributed on an
16 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 ~ KIND, either express or implied. See the License for the
18 ~ specific language governing permissions and limitations
19 ~ under the License.
20 -->
21
22<project name="spell.checker.example" default="package" basedir=".">
23
24 <target name="clean">
25 <ant dir="spell.services" target="clean"/>
26 <ant dir="spell.english" target="clean"/>
27 <ant dir="spell.checker" target="clean"/>
28 <ant dir="spell.checker.gui" target="clean"/>
29 <ant dir="solution" target="clean"/>
30 <delete dir="felix-framework-${felix.version}/felix-cache"/>
31 <delete dir="dist"/>
32 </target>
33
34 <target name="package">
35 <ant dir="spell.services" target="package"/>
36 <ant dir="spell.english" target="package"/>
37 <ant dir="spell.checker" target="package"/>
38 <ant dir="spell.checker.gui" target="package"/>
39 <ant dir="solution" target="package"/>
40 </target>
41
42 <target name="dist" depends="clean">
43 <mkdir dir="dist"/>
44 <zip destfile="dist/tutorial.zip">
45 <fileset dir=".">
46 <exclude name="build.xml"/>
47 <exclude name="dist"/>
48 <exclude name=".*"/>
49 <exclude name="*/_*"/>
50 </fileset>
51 </zip>
52 </target>
53
54</project>