xref: /aoo41x/main/xmerge/util/build.xml (revision ff3f4ebc)
1<?xml version="1.0" encoding="UTF-8"?>
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
23
24<project name="xmrg_util" default="main" basedir=".">
25
26    <property file="../source/inc/antbuild.properties"/>
27
28    <property name="javadoc.dir" location="${build.dir}/javadoc"/>
29
30    <property environment="env"/>
31    <property name="env.XML_APIS_JAR" value="${solar.jar}/xml-apis.jar"/>
32    <property name="env.XERCES_JAR" value="${solar.jar}/xercesImpl.jar"/>
33
34    <path id="classpath">
35        <pathelement location="${env.XML_APIS_JAR}"/>
36        <pathelement location="${env.XERCES_JAR}"/>
37        <pathelement location="${solar.jar}/unoil.jar"/>
38        <pathelement location="${solar.jar}/ridl.jar"/>
39        <pathelement location="${solar.jar}/jurt.jar"/>
40        <pathelement location="${solar.jar}/juh.jar"/>
41        <pathelement location="${build.dir}/xmerge.jar"/>
42    </path>
43
44    <target name="init">
45        <mkdir dir="${javadoc.dir}"/>
46    </target>
47
48    <!-- build javadoc -->
49    <target name="javadoc" depends="init">
50        <javadoc destdir="${javadoc.dir}"
51             verbose="false"
52	         author="false"
53	         nodeprecated="true"
54	         nodeprecatedlist="true"
55             use="true"
56             Doctitle="Apache OpenOffice XMerge API"
57             windowtitle="Apache OpenOffice XMerge API"
58             classpathref="classpath">
59            <fileset dir="../source/bridge" defaultexcludes="yes">
60               <include name="**/*.java"/>
61            </fileset>
62            <fileset dir="../source/xmerge" defaultexcludes="yes">
63               <include name="**/*.java"/>
64            </fileset>
65            <fileset dir="../source/aportisdoc" defaultexcludes="yes">
66               <include name="**/*.java"/>
67            </fileset>
68            <fileset dir="../source/pexcel" defaultexcludes="yes">
69               <include name="**/*.java"/>
70            </fileset>
71            <fileset dir="../source/pocketword" defaultexcludes="yes">
72               <include name="**/*.java"/>
73            </fileset>
74             <link offline="true" href="http://java.sun.com/j2se/1.3/docs/api" packagelistLoc="${solar.doc}/jdk13"/>
75			<bottom><![CDATA[<i>Copyright &#169 2002 OpenOffice.org</i>]]></bottom>
76			<header><![CDATA[<b>OpenOffice.org<br>XMerge API</b>]]></header>
77        </javadoc>
78    </target>
79
80    <target name="main" depends="javadoc">
81    </target>
82
83     <target name="all" depends="javadoc">
84    </target>
85
86    <target name="clean">
87        <delete file="${javadoc.dir}"/>
88    </target>
89
90</project>
91
92