To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

build.xml 1.53 KB
Newer Older
1
2
3
4
5
6
7
8
<!--
 * Copyright (c) 2009 The Australian National University.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Apache License v2.0.
 * You may obtain the license at
 * 
 *    http://www.opensource.org/licenses/apache2.0.php
 -->
9
<project name="junit" default="all" basedir="../..">
john's avatar
john committed
10
    <description>junit library, required by pmd, hsqldb and derby</description>
John Zhang's avatar
John Zhang committed
11
    <property name="sourceforge.dl.j.url" value="http://jaist.dl.sourceforge.net"/>
john's avatar
john committed
12
    <property file="ant/dacapo.properties"/>
13

john's avatar
john committed
14
15
    <property name="lib-name" value="junit"/>
    <property name="lib-version" value="4.7"/>
John Zhang's avatar
John Zhang committed
16
    <property name="lib-url" value="${sourceforge.dl.j.url}/project/junit/junit/${lib-version}"/>
john's avatar
john committed
17
    <property name="lib-src" value="junit${lib-version}.zip"/>
steveb-oss's avatar
steveb-oss committed
18

john's avatar
john committed
19
    <import file="../common.xml"/>
20

john's avatar
john committed
21
    <target name="unpack" depends="unzip"/>
22

john's avatar
john committed
23
24
25
26
27
28
29
30
    <target name="unzip">
        <mkdir dir="${lib-build-dir}/"/>
        <unzip src="${lib-downloads}/${lib-src}" dest="${lib-build-dir}/">
            <patternset>
                <include name="junit${lib-version}/junit-${lib-version}.jar"/>
            </patternset>
        </unzip>
    </target>
31

john's avatar
john committed
32
33
34
    <target name="jar" depends="junit-jar-check" unless="junit-build-done">
        <copy file="${lib-build-dir}/junit${lib-version}/junit-${lib-version}.jar" tofile="${junit-jar}"/>
    </target>
35

john's avatar
john committed
36
37
38
39
40
    <target name="junit-jar-check">
        <condition property="junit-build-done">
            <available file="${junit-jar}"/>
        </condition>
    </target>
41
</project>