merged tag ooo/DEV300_m102
[LibreOffice.git] / qadevOOo / build.xml
blobf00746a2a6b8ea2c7c7639022543ba41ecfb4fc0
1 <project name="qadevOOo" default="main" basedir=".">
2   <description>
3     Build file for qadevOOo project
4   </description>
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}">
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>
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>
52 </project>