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