xref: /aoo41x/main/xmerge/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="xmerge" default="main" basedir=".">
28
29    <property environment="env"/>
30    <property name="solar.platform" value="${env.COMP_ENV}${env.PROEXT}"/>
31    <property name="out" location="${basedir}/${solar.platform}"/>
32    <property name="solar.jar" location="${env.SOLARVER}/${solar.platform}/bin${env.UPDMINOREXT}"/>
33    <property name="debug" value="yes"/>
34    <property name="optimize" value="no"/>
35
36    <target name="init">
37        <echoproperties prefix="solar"/>
38        <mkdir dir="${out}"/>
39        <mkdir dir="${out}/class"/>
40    </target>
41
42    <target name="xmerge" depends="init">
43        <ant dir="source/xmerge" target="all"/>
44    </target>
45
46    <target name="bridge" depends="xmerge, init">
47        <ant dir="source/bridge" target="all"/>
48    </target>
49
50    <target name="aportisdoc" depends="xmerge, init">
51        <ant dir="source/aportisdoc" target="all"/>
52    </target>
53
54    <target name="pexcel" depends="xmerge, init">
55        <ant dir="source/pexcel" target="all"/>
56    </target>
57
58    <target name="pocketword" depends="xmerge, init">
59        <ant dir="source/pocketword" target="all"/>
60    </target>
61
62    <target name="htmlsoff" depends="init">
63        <ant dir="source/htmlsoff" target="all"/>
64    </target>
65
66    <target name="wordsmith" depends="xmerge">
67        <echo>wordsmith filter is not supported</echo>
68        <ant dir="source/wordsmith" target="all"/>
69    </target>
70
71    <target name="minicalc" depends="xmerge">
72        <echo>minicalc filter is not supported</echo>
73        <ant dir="source/minicalc" target="all"/>
74    </target>
75
76    <target name="util" depends="xmerge, bridge, aportisdoc, pexcel, pocketword, htmlsoff">
77        <ant dir="util" target="all"/>
78    </target>
79
80    <target name="all" depends="xmerge, bridge, aportisdoc, pexcel, pocketword, htmlsoff, util">
81    </target>
82
83    <target name="clean">
84        <delete dir="${out}" />
85    </target>
86
87</project>
88
89