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

build.xml 1.6 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
 -->
rgarner's avatar
rgarner committed
9
<project name="commons-codec" default="all" basedir="../..">
john's avatar
john committed
10
    <description>Jakarta Commons Logging, required by httpclient (and therefore tomcat)</description>
11
12
    <property file="dacapo.properties"/>
    <property environment="env"/>
rgarner's avatar
rgarner committed
13

john's avatar
john committed
14
    <property name="lib-name" value="commons-codec"/>
15
    <property name="lib-version" value="1.11"/>
john's avatar
john committed
16
17
    <property name="lib-url" value="${apache.dl.url}/commons/codec/source/"/>
    <property name="lib-src" value="${lib-name}-${lib-version}-src.tar.gz"/>
rgarner's avatar
rgarner committed
18

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

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

john's avatar
john committed
23
    <target name="unpack" depends="untar"/>
24
25
    <property name="mvn" value="../tools/apache-maven-${mvn.version}/bin/mvn"/>
    <property name="toolsdir" value="../tools"/>
26

john's avatar
john committed
27
    <target name="build">
28
29
30
31
32
33
34
        <exec executable="mvn" dir="${lib-build-top}">
            <env key="PATH" path="${env.PATH}:${toolsdir}/apache-maven-${mvn.version}/bin"/>
            <env key="JAVA_HOME" path="${java.home}"/>
            <env key="MAVEN_OPTS" value="-Xms256m -Xmx512m"/>
            <arg value="clean"/>
            <arg value="install"/>
        </exec>
john's avatar
john committed
35
    </target>
36

john's avatar
john committed
37
    <target name="jar">
38
        <copy file="${lib-build-top}/target/${lib-name}-${lib-version}.jar" tofile="${commons-codec-jar}"/>
john's avatar
john committed
39
    </target>
40
</project>