1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 #************************************************************************* 4 # 5 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 7 Copyright 2000, 2010 Oracle and/or its affiliates. 8 9 OpenOffice.org - a multi-platform office productivity suite 10 11 This file is part of OpenOffice.org. 12 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. 16 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). 22 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. 27 28 #************************************************************************* 29 --> 30 31<project name="htmlsoff" default="all" basedir="."> 32 33 <property file="../inc/antbuild.properties"/> 34 35 <path id="classpath"> 36 <pathelement location="${build.dir}/xmerge.jar"/> 37 </path> 38 39 40 <target name="init" > 41 </target> 42 43 <!-- compile java sources in ${package} --> 44 <target name="compile" depends="init"> 45 </target> 46 47 <!-- package to jar --> 48 <target name="jar" depends="compile"> 49 <jar destfile="${target.jar}"> 50 <fileset dir="${basedir}" 51 includes="*.xsl" /> 52 <metainf dir="${basedir}"> 53 <filename name="converter.xml"/> 54 </metainf> 55 </jar> 56 </target> 57 58 <!-- clean up --> 59 <target name="clean"> 60 <delete file="${target.jar}"/> 61 </target> 62 63 <target name="all" depends="jar"> 64 </target> 65 66</project> 67 68