xref: /aoo41x/main/xmerge/util/build.xml (revision ff3f4ebc)
1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
25111cb72SAndrew Rist<!--***********************************************************
35111cb72SAndrew Rist *
45111cb72SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
55111cb72SAndrew Rist * or more contributor license agreements.  See the NOTICE file
65111cb72SAndrew Rist * distributed with this work for additional information
75111cb72SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
85111cb72SAndrew Rist * to you under the Apache License, Version 2.0 (the
95111cb72SAndrew Rist * "License"); you may not use this file except in compliance
105111cb72SAndrew Rist * with the License.  You may obtain a copy of the License at
115111cb72SAndrew Rist *
125111cb72SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
135111cb72SAndrew Rist *
145111cb72SAndrew Rist * Unless required by applicable law or agreed to in writing,
155111cb72SAndrew Rist * software distributed under the License is distributed on an
165111cb72SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
175111cb72SAndrew Rist * KIND, either express or implied.  See the License for the
185111cb72SAndrew Rist * specific language governing permissions and limitations
195111cb72SAndrew Rist * under the License.
205111cb72SAndrew Rist *
215111cb72SAndrew Rist ***********************************************************-->
225111cb72SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir<project name="xmrg_util" default="main" basedir=".">
25cdf0e10cSrcweir
26cdf0e10cSrcweir    <property file="../source/inc/antbuild.properties"/>
27cdf0e10cSrcweir
28cdf0e10cSrcweir    <property name="javadoc.dir" location="${build.dir}/javadoc"/>
29cdf0e10cSrcweir
30cdf0e10cSrcweir    <property environment="env"/>
31cdf0e10cSrcweir    <property name="env.XML_APIS_JAR" value="${solar.jar}/xml-apis.jar"/>
32cdf0e10cSrcweir    <property name="env.XERCES_JAR" value="${solar.jar}/xercesImpl.jar"/>
33cdf0e10cSrcweir
34cdf0e10cSrcweir    <path id="classpath">
35cdf0e10cSrcweir        <pathelement location="${env.XML_APIS_JAR}"/>
36cdf0e10cSrcweir        <pathelement location="${env.XERCES_JAR}"/>
37cdf0e10cSrcweir        <pathelement location="${solar.jar}/unoil.jar"/>
38cdf0e10cSrcweir        <pathelement location="${solar.jar}/ridl.jar"/>
39cdf0e10cSrcweir        <pathelement location="${solar.jar}/jurt.jar"/>
40cdf0e10cSrcweir        <pathelement location="${solar.jar}/juh.jar"/>
41cdf0e10cSrcweir        <pathelement location="${build.dir}/xmerge.jar"/>
42cdf0e10cSrcweir    </path>
43cdf0e10cSrcweir
44cdf0e10cSrcweir    <target name="init">
45cdf0e10cSrcweir        <mkdir dir="${javadoc.dir}"/>
46cdf0e10cSrcweir    </target>
47cdf0e10cSrcweir
48cdf0e10cSrcweir    <!-- build javadoc -->
49cdf0e10cSrcweir    <target name="javadoc" depends="init">
50cdf0e10cSrcweir        <javadoc destdir="${javadoc.dir}"
51cdf0e10cSrcweir             verbose="false"
52cdf0e10cSrcweir	         author="false"
53cdf0e10cSrcweir	         nodeprecated="true"
54cdf0e10cSrcweir	         nodeprecatedlist="true"
55cdf0e10cSrcweir             use="true"
56*ff3f4ebcSOliver-Rainer Wittmann             Doctitle="Apache OpenOffice XMerge API"
57*ff3f4ebcSOliver-Rainer Wittmann             windowtitle="Apache OpenOffice XMerge API"
58cdf0e10cSrcweir             classpathref="classpath">
59cdf0e10cSrcweir            <fileset dir="../source/bridge" defaultexcludes="yes">
60cdf0e10cSrcweir               <include name="**/*.java"/>
61cdf0e10cSrcweir            </fileset>
62cdf0e10cSrcweir            <fileset dir="../source/xmerge" defaultexcludes="yes">
63cdf0e10cSrcweir               <include name="**/*.java"/>
64cdf0e10cSrcweir            </fileset>
65cdf0e10cSrcweir            <fileset dir="../source/aportisdoc" defaultexcludes="yes">
66cdf0e10cSrcweir               <include name="**/*.java"/>
67cdf0e10cSrcweir            </fileset>
68cdf0e10cSrcweir            <fileset dir="../source/pexcel" defaultexcludes="yes">
69cdf0e10cSrcweir               <include name="**/*.java"/>
70cdf0e10cSrcweir            </fileset>
71cdf0e10cSrcweir            <fileset dir="../source/pocketword" defaultexcludes="yes">
72cdf0e10cSrcweir               <include name="**/*.java"/>
73cdf0e10cSrcweir            </fileset>
74cdf0e10cSrcweir             <link offline="true" href="http://java.sun.com/j2se/1.3/docs/api" packagelistLoc="${solar.doc}/jdk13"/>
75cdf0e10cSrcweir			<bottom><![CDATA[<i>Copyright &#169 2002 OpenOffice.org</i>]]></bottom>
76cdf0e10cSrcweir			<header><![CDATA[<b>OpenOffice.org<br>XMerge API</b>]]></header>
77cdf0e10cSrcweir        </javadoc>
78cdf0e10cSrcweir    </target>
79cdf0e10cSrcweir
80cdf0e10cSrcweir    <target name="main" depends="javadoc">
81cdf0e10cSrcweir    </target>
82cdf0e10cSrcweir
83cdf0e10cSrcweir     <target name="all" depends="javadoc">
84cdf0e10cSrcweir    </target>
85cdf0e10cSrcweir
86cdf0e10cSrcweir    <target name="clean">
87cdf0e10cSrcweir        <delete file="${javadoc.dir}"/>
88cdf0e10cSrcweir    </target>
89cdf0e10cSrcweir
90cdf0e10cSrcweir</project>
91cdf0e10cSrcweir
92