xref: /aoo41x/main/qadevOOo/build.xml (revision 10544477)
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" debug="${debug}" source="${build.source}">
43		<classpath>
44		    <pathelement location="${qadevOOo.class}"/>
45			<fileset dir="${qadevOOo.office_jars}">
46                <include name="**/ridl.jar"/>
47                <include name="**/unoil.jar"/>
48                <include name="**/jurt.jar"/>
49                <include name="**/juh.jar"/>
50                <include name="**/java_uno.jar"/>
51			</fileset>
52		</classpath>
53	</javac>
54  </target>
55
56  <!-- target for building the tests -->
57  <target name="qadevOOo_tests_build" depends="qadevOOo_runner_build">
58    <javac srcdir="${qadevOOo.tests}" destdir="${qadevOOo.class}" includes="**/*.java" debug="${debug}" source="${build.source}">
59		<classpath>
60		    <pathelement location="${qadevOOo.class}"/>
61			<fileset dir="${qadevOOo.office_jars}">
62                <include name="**/ridl.jar"/>
63                <include name="**/unoil.jar"/>
64                <include name="**/jurt.jar"/>
65                <include name="**/juh.jar"/>
66                <include name="**/java_uno.jar"/>
67			</fileset>
68		</classpath>
69	</javac>
70  </target>
71
72</project>
73