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