xref: /aoo4110/main/qadevOOo/build.xml (revision b1cdbd2c)
1<!--***********************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 ***********************************************************-->
21<project name="qadevOOo" default="main" basedir=".">
22  <description>
23    Build file for qadevOOo project
24  </description>
25
26  <!-- set global properties for this build -->
27  <property name="qadevOOo.output" location="${out}"/>
28  <property name="qadevOOo.class"  location="${qadevOOo.output}/class"/>
29  <property name="qadevOOo.runner" location="${prj}/runner"/>
30  <property name="qadevOOo.tests" location="${prj}/tests/java"/>
31  <property name="qadevOOo.office_jars" location="${solar.jar}"/>
32
33  <!-- ================================================================================== -->
34
35  <!-- the main target -->
36  <target name="main" depends="qadevOOo_tests_build,qadevOOo_runner_build"/>
37
38  <!-- ================================================================================== -->
39
40  <!-- target for building the runner -->
41  <target name="qadevOOo_runner_build">
42    <javac srcdir="${qadevOOo.runner}" destdir="${qadevOOo.class}" includes="**/*.java"
43         debug="${debug}" source="${build.source}" includeantruntime="false">
44		<classpath>
45		    <pathelement location="${qadevOOo.class}"/>
46			<fileset dir="${qadevOOo.office_jars}">
47                <include name="**/ridl.jar"/>
48                <include name="**/unoil.jar"/>
49                <include name="**/jurt.jar"/>
50                <include name="**/juh.jar"/>
51                <include name="**/java_uno.jar"/>
52			</fileset>
53		</classpath>
54	</javac>
55  </target>
56
57  <!-- target for building the tests -->
58  <target name="qadevOOo_tests_build" depends="qadevOOo_runner_build">
59    <javac srcdir="${qadevOOo.tests}" destdir="${qadevOOo.class}" includes="**/*.java"
60        debug="${debug}" source="${build.source}" includeantruntime="false">
61		<classpath>
62		    <pathelement location="${qadevOOo.class}"/>
63			<fileset dir="${qadevOOo.office_jars}">
64                <include name="**/ridl.jar"/>
65                <include name="**/unoil.jar"/>
66                <include name="**/jurt.jar"/>
67                <include name="**/juh.jar"/>
68                <include name="**/java_uno.jar"/>
69			</fileset>
70		</classpath>
71	</javac>
72  </target>
73
74</project>
75