xref: /aoo41x/main/xmerge/util/build.xml (revision cdf0e10c)
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
5  Copyright 2000, 2010 Oracle and/or its affiliates.
6
7  OpenOffice.org - a multi-platform office productivity suite
8
9  This file is part of OpenOffice.org.
10
11  OpenOffice.org is free software: you can redistribute it and/or modify
12  it under the terms of the GNU Lesser General Public License version 3
13  only, as published by the Free Software Foundation.
14
15  OpenOffice.org is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  GNU Lesser General Public License version 3 for more details
19  (a copy is included in the LICENSE file that accompanied this code).
20
21  You should have received a copy of the GNU Lesser General Public License
22  version 3 along with OpenOffice.org.  If not, see
23  <http://www.openoffice.org/license.html>
24  for a copy of the LGPLv3 License.
25
26-->
27<project name="xmrg_util" default="main" basedir=".">
28
29    <property file="../source/inc/antbuild.properties"/>
30
31    <property name="javadoc.dir" location="${build.dir}/javadoc"/>
32
33    <property environment="env"/>
34    <property name="env.XML_APIS_JAR" value="${solar.jar}/xml-apis.jar"/>
35    <property name="env.XERCES_JAR" value="${solar.jar}/xercesImpl.jar"/>
36
37    <path id="classpath">
38        <pathelement location="${env.XML_APIS_JAR}"/>
39        <pathelement location="${env.XERCES_JAR}"/>
40        <pathelement location="${solar.jar}/unoil.jar"/>
41        <pathelement location="${solar.jar}/ridl.jar"/>
42        <pathelement location="${solar.jar}/jurt.jar"/>
43        <pathelement location="${solar.jar}/juh.jar"/>
44        <pathelement location="${build.dir}/xmerge.jar"/>
45    </path>
46
47    <target name="init">
48        <mkdir dir="${javadoc.dir}"/>
49    </target>
50
51    <!-- build javadoc -->
52    <target name="javadoc" depends="init">
53        <javadoc destdir="${javadoc.dir}"
54             verbose="false"
55	         author="false"
56	         nodeprecated="true"
57	         nodeprecatedlist="true"
58             use="true"
59             Doctitle="OpenOffice XMerge API"
60             windowtitle="OpenOffice XMerge API"
61             classpathref="classpath">
62            <fileset dir="../source/bridge" defaultexcludes="yes">
63               <include name="**/*.java"/>
64            </fileset>
65            <fileset dir="../source/xmerge" defaultexcludes="yes">
66               <include name="**/*.java"/>
67            </fileset>
68            <fileset dir="../source/aportisdoc" defaultexcludes="yes">
69               <include name="**/*.java"/>
70            </fileset>
71            <fileset dir="../source/pexcel" defaultexcludes="yes">
72               <include name="**/*.java"/>
73            </fileset>
74            <fileset dir="../source/pocketword" defaultexcludes="yes">
75               <include name="**/*.java"/>
76            </fileset>
77             <link offline="true" href="http://java.sun.com/j2se/1.3/docs/api" packagelistLoc="${solar.doc}/jdk13"/>
78			<bottom><![CDATA[<i>Copyright &#169 2002 OpenOffice.org</i>]]></bottom>
79			<header><![CDATA[<b>OpenOffice.org<br>XMerge API</b>]]></header>
80        </javadoc>
81    </target>
82
83    <target name="main" depends="javadoc">
84    </target>
85
86     <target name="all" depends="javadoc">
87    </target>
88
89    <target name="clean">
90        <delete file="${javadoc.dir}"/>
91    </target>
92
93</project>
94
95