xref: /AOO42X/main/qadevOOo/build.xml (revision f8ad1cf25cdc2279e3a75071958789a768a8442c)
1<project name="qadevOOo" default="main" basedir=".">
2  <description>
3    Build file for qadevOOo project
4  </description>
5
6  <!-- set global properties for this build -->
7  <property name="qadevOOo.output" location="${out}"/>
8  <property name="qadevOOo.class"  location="${qadevOOo.output}/class"/>
9  <property name="qadevOOo.runner" location="${prj}/runner"/>
10  <property name="qadevOOo.tests" location="${prj}/tests/java"/>
11  <property name="qadevOOo.office_jars" location="${solar.jar}"/>
12
13  <!-- ================================================================================== -->
14
15  <!-- the main target -->
16  <target name="main" depends="qadevOOo_tests_build,qadevOOo_runner_build"/>
17
18  <!-- ================================================================================== -->
19
20  <!-- target for building the runner -->
21  <target name="qadevOOo_runner_build">
22    <javac srcdir="${qadevOOo.runner}" destdir="${qadevOOo.class}" includes="**/*.java" debug="${debug}" source="${build.source}">
23        <classpath>
24            <pathelement location="${qadevOOo.class}"/>
25            <fileset dir="${qadevOOo.office_jars}">
26                <include name="**/ridl.jar"/>
27                <include name="**/unoil.jar"/>
28                <include name="**/jurt.jar"/>
29                <include name="**/juh.jar"/>
30                <include name="**/java_uno.jar"/>
31            </fileset>
32        </classpath>
33    </javac>
34  </target>
35
36  <!-- target for building the tests -->
37  <target name="qadevOOo_tests_build" depends="qadevOOo_runner_build">
38    <javac srcdir="${qadevOOo.tests}" destdir="${qadevOOo.class}" includes="**/*.java" debug="${debug}" source="${build.source}">
39        <classpath>
40            <pathelement location="${qadevOOo.class}"/>
41            <fileset dir="${qadevOOo.office_jars}">
42                <include name="**/ridl.jar"/>
43                <include name="**/unoil.jar"/>
44                <include name="**/jurt.jar"/>
45                <include name="**/juh.jar"/>
46                <include name="**/java_uno.jar"/>
47            </fileset>
48        </classpath>
49    </javac>
50  </target>
51
52</project>
53