1 <project name="qadevOOo" default="main" basedir=".">
3 Build file for qadevOOo project
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}"/>
13 <!-- ================================================================================== -->
15 <!-- the main target -->
16 <target name="main" depends="qadevOOo_tests_build,qadevOOo_runner_build"/>
18 <!-- ================================================================================== -->
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}" encoding="utf-8" fork="true">
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"/>
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}">
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"/>