GitLab will be upgraded on 30 Jan 2023 from 2.00 pm (AEDT) to 3.00 pm (AEDT). During the update, GitLab and Mattermost services will not be available. If you have any concerns with this, please talk to us at N110 (b) CSIT building.

build.xml 1.63 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="janino" default="all" basedir="../..">
john's avatar
john committed
10
11
    <description>janino library, required by sunflow</description>
    <property file="ant/dacapo.properties"/>
12

john's avatar
john committed
13
14
    <property name="lib-name" value="janino"/>
    <property name="lib-version" value="2.5.15"/>
John Zhang's avatar
John Zhang committed
15
    <property name="lib-url" value="http://pkgs.fedoraproject.org/repo/pkgs/janino/janino-2.5.15.zip/087b6db3eabb6175f228a58958f816aa"/>
john's avatar
john committed
16
    <property name="lib-src" value="janino-${lib-version}.zip"/>
17

john's avatar
john committed
18
    <import file="../common.xml"/>
steveb-oss's avatar
steveb-oss committed
19

john's avatar
john committed
20
    <property name="lib-build-top" value="${lib-build-dir}/janino-${lib-version}"/>
21

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

john's avatar
john committed
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
    <target name="build">
        <condition property="build.dest" value="${build}" else="${build.deps}">
            <not>
                <equals arg1="${externalize.deps}" arg2="true"/>
            </not>
        </condition>
        <condition property="jdk.home" value="${java.home}" else="${java.home}/..">
            <not>
                <contains string="${java.home}" substring="/jre"/>
            </not>
        </condition>
        <ant antfile="build.xml" dir="${lib-build-top}" inheritAll="false">
            <property name="jdk_1_2_2_home" value="${jdk.home}"/>
        </ant>
    </target>
39

john's avatar
john committed
40
41
42
    <target name="jar">
        <copy file="${lib-build-top}/lib/janino.jar" tofile="${janino-jar}"/>
    </target>
43
</project>