1 <?xml version="1.0" encoding="UTF-8"?>
3 #*************************************************************************
5 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
7 Copyright 2000, 2010 Oracle and/or its affiliates.
9 OpenOffice.org - a multi-platform office productivity suite
11 This file is part of OpenOffice.org.
13 OpenOffice.org is free software: you can redistribute it and/or modify
14 it under the terms of the GNU Lesser General Public License version 3
15 only, as published by the Free Software Foundation.
17 OpenOffice.org is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU Lesser General Public License version 3 for more details
21 (a copy is included in the LICENSE file that accompanied this code).
23 You should have received a copy of the GNU Lesser General Public License
24 version 3 along with OpenOffice.org. If not, see
25 <http://www.openoffice.org/license.html>
26 for a copy of the LGPLv3 License.
28 #*************************************************************************
31 <project name="wordsmith" default="all" basedir=".">
33 <property file="../inc/antbuild.properties"/>
36 <pathelement location="${build.dir}/xmerge.jar"/>
41 <mkdir dir="${target.dir}"/>
44 <!-- compile java sources in ${package} -->
45 <target name="compile" depends="init">
46 <javac srcdir="${src.dir}"
47 destdir="${target.dir}"
49 deprecation="${deprecation}"
50 optimize="${optimize}">
51 <classpath refid="classpath"/>
55 <!-- package to jar -->
56 <target name="jar" depends="compile">
57 <jar destfile="${target.jar}">
58 <fileset dir="${target.dir}"
59 includes="**/*.class" />
60 <metainf dir="${basedir}">
61 <filename name="converter.xml"/>
68 <delete dir="${class.dir}"/>
69 <delete file="${target.jar}"/>
72 <target name="all" depends="jar">