build.xml (8b543d73) build.xml (dee6bc11)
1<?xml version="1.0"?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the

--- 13 unchanged lines hidden (view full) ---

22
23
24
25<project basedir="." default="test">
26 <property environment="env" />
27 <property name="junit.home" value="${env.JUNIT_HOME}" />
28 <property name="dist.dir" value="." />
29 <property name="dist.name" value="aoo_test" />
1<?xml version="1.0"?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the

--- 13 unchanged lines hidden (view full) ---

22
23
24
25<project basedir="." default="test">
26 <property environment="env" />
27 <property name="junit.home" value="${env.JUNIT_HOME}" />
28 <property name="dist.dir" value="." />
29 <property name="dist.name" value="aoo_test" />
30 <property name="junit.jar.repos" value="https://repo1.maven.org/maven2/junit/junit/4.10/junit-4.10.jar" />
30 <property name="junit.jar.repos" value="https://repo1.maven.org/maven2/junit/junit/4.12/junit-4.12.jar" />
31 <property name="hamcrest.jar.repos" value="https://repo1.maven.org/maven2/org/hamcrest/hamcrest/2.2/hamcrest-2.2.jar" />
31
32 <path id="uno.classpath">
33 <fileset dir="${env.OUTDIR}/bin" erroronmissingdir="false">
34 <include name="juh.jar" />
35 <include name="unoil.jar" />
36 <include name="ridl.jar" />
37 <include name="jurt.jar" />
38 </fileset>

--- 7 unchanged lines hidden (view full) ---

46
47 <target name="check.junit">
48 <copy todir="lib" >
49 <fileset dir="${junit.home}" erroronmissingdir="false">
50 <include name="junit*.jar" />
51 </fileset>
52 <globmapper from="*" to="junit.jar" />
53 </copy>
32
33 <path id="uno.classpath">
34 <fileset dir="${env.OUTDIR}/bin" erroronmissingdir="false">
35 <include name="juh.jar" />
36 <include name="unoil.jar" />
37 <include name="ridl.jar" />
38 <include name="jurt.jar" />
39 </fileset>

--- 7 unchanged lines hidden (view full) ---

47
48 <target name="check.junit">
49 <copy todir="lib" >
50 <fileset dir="${junit.home}" erroronmissingdir="false">
51 <include name="junit*.jar" />
52 </fileset>
53 <globmapper from="*" to="junit.jar" />
54 </copy>
55 <copy todir="lib" >
56 <fileset dir="${junit.home}" erroronmissingdir="false">
57 <include name="hamcrest*.jar" />
58 </fileset>
59 <globmapper from="*" to="hamcrest.jar" />
60 </copy>
54 <available file="lib/junit.jar" property="junit.jar.exists"/>
61 <available file="lib/junit.jar" property="junit.jar.exists"/>
62 <available file="lib/hamcrest.jar" property="hamcrest.jar.exists"/>
55 </target>
56
57 <target name="prepare.junit" depends="check.junit" unless="junit.jar.exists">
58 <mkdir dir="lib" />
59 <get src="${junit.jar.repos}" dest="lib/junit.jar" skipexisting="true" />
63 </target>
64
65 <target name="prepare.junit" depends="check.junit" unless="junit.jar.exists">
66 <mkdir dir="lib" />
67 <get src="${junit.jar.repos}" dest="lib/junit.jar" skipexisting="true" />
68 <get src="${hamcrest.jar.repos}" dest="lib/hamcrest.jar" skipexisting="true" />
60 </target>
61
62 <target name="testcommon.init">
63 <mkdir dir="testcommon/bin" />
64 <copy includeemptydirs="false" todir="testcommon/bin">
65 <fileset dir="testcommon/source">
66 <exclude name="**/*.java" />
67 </fileset>

--- 115 unchanged lines hidden ---
69 </target>
70
71 <target name="testcommon.init">
72 <mkdir dir="testcommon/bin" />
73 <copy includeemptydirs="false" todir="testcommon/bin">
74 <fileset dir="testcommon/source">
75 <exclude name="**/*.java" />
76 </fileset>

--- 115 unchanged lines hidden ---