Regenerate using updated ant plugin to eliminate repeated downloads.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@231001 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Phil Steitz 2005-08-09 07:07:20 +00:00
parent 48b9ef8b5d
commit d2d2035be5
1 changed files with 84 additions and 31 deletions

115
build.xml
View File

@ -1,32 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--build.xml generated by maven from project.xml version 1.1-dev
on date December 12 2004, time 2150-->
<!--build.xml generated by maven from project.xml version 1.1-RC2
on date August 8 2005, time 2359-->
<project default="jar" name="commons-math" basedir=".">
<property name="defaulttargetdir" value="target">
<!--Load local and user build preferences-->
<property file="build.properties">
</property>
<property name="libdir" value="target/lib">
<property file="${user.home}/build.properties">
</property>
<property name="classesdir" value="target/classes">
<!--Build properties-->
<property name="defaulttargetdir" value="${basedir}/target">
</property>
<property name="testclassesdir" value="target/test-classes">
<property name="libdir" value="${user.home}/.maven/repository">
</property>
<property name="testclassesdir" value="target/test-classes">
<property name="classesdir" value="${basedir}/target/classes">
</property>
<property name="testreportdir" value="target/test-reports">
<property name="testclassesdir" value="${basedir}/target/test-classes">
</property>
<property name="distdir" value="dist">
<property name="testreportdir" value="${basedir}/target/test-reports">
</property>
<property name="javadocdir" value="dist/docs/api">
<property name="distdir" value="${basedir}/dist">
</property>
<property name="final.name" value="commons-math-1.1-dev">
<property name="javadocdir" value="${basedir}/dist/docs/api">
</property>
<property name="final.name" value="commons-math-1.1-RC2">
</property>
<property name="proxy.host" value="">
</property>
<property name="proxy.port" value="">
</property>
<property name="proxy.username" value="">
</property>
<property name="proxy.password" value="">
</property>
<path id="build.classpath">
<fileset dir="${libdir}">
<include name="**/*.jar">
</include>
</fileset>
<pathelement location="${libdir}/commons-logging/jars/commons-logging-1.0.3.jar">
</pathelement>
<pathelement location="${libdir}/commons-discovery/jars/commons-discovery-0.2.jar">
</pathelement>
</path>
<target name="init" description="o Initializes some properties">
<mkdir dir="${libdir}">
@ -39,13 +53,25 @@
<available property="Junit.present" classname="junit.framework.Test">
</available>
<!--Test if user defined a proxy-->
<condition property="useProxy">
<and>
<isset property="proxy.host">
</isset>
<not>
<equals trim="true" arg2="" arg1="${proxy.host}">
</equals>
</not>
</and>
</condition>
</target>
<target name="compile" description="o Compile the code" depends="get-deps">
<mkdir dir="${classesdir}">
</mkdir>
<javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
<src>
<pathelement location="src/java">
<pathelement location="${basedir}/src/java">
</pathelement>
</src>
<classpath refid="build.classpath">
@ -54,11 +80,9 @@
<mkdir dir="${classesdir}/META-INF">
</mkdir>
<copy todir="${classesdir}/META-INF">
<fileset dir=".">
<fileset dir="${basedir}/.">
<include name="NOTICE.txt">
</include>
<include name="LICENSE.txt">
</include>
</fileset>
</copy>
</target>
@ -89,7 +113,7 @@
<target name="internal-test" if="Junit.present" depends="junit-present,compile-tests">
<mkdir dir="${testreportdir}">
</mkdir>
<junit dir="./" failureproperty="test.failure" printSummary="yes" fork="true" haltonerror="true">
<junit dir="${basedir}" failureproperty="test.failure" printSummary="yes" fork="true" haltonerror="true">
<sysproperty key="basedir" value=".">
</sysproperty>
<formatter type="xml">
@ -105,7 +129,7 @@
</pathelement>
</classpath>
<batchtest todir="${testreportdir}">
<fileset dir="src/test">
<fileset dir="${basedir}/src/test">
<include name="**/*Test.java">
</include>
<exclude name="**/*AbstractTest.java">
@ -124,7 +148,7 @@
</mkdir>
<javac destdir="${testclassesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
<src>
<pathelement location="src/test">
<pathelement location="${basedir}/src/test">
</pathelement>
</src>
<classpath>
@ -135,7 +159,7 @@
</classpath>
</javac>
<copy todir="${testclassesdir}">
<fileset dir="src/test">
<fileset dir="${basedir}/src/test">
<include name="**/*.xml">
</include>
<include name="**/*.txt">
@ -152,24 +176,53 @@
</tstamp>
<property name="copyright" value="Copyright &amp;copy; The Apache Software Foundation. All Rights Reserved.">
</property>
<property name="title" value="Math 1.1-dev API">
<property name="title" value="Math 1.1-RC2 API">
</property>
<javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="src/java" packagenames="org.apache.commons.math.*">
<javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="${basedir}/src/java" packagenames="org.apache.commons.math.*">
<classpath>
<path refid="build.classpath">
</path>
</classpath>
</javadoc>
</target>
<target name="get-deps" unless="noget" depends="init">
<target name="get-dep-commons-logging.jar" description="o Download the dependency : commons-logging.jar" unless="commons-logging.jar" depends="init,setProxy,noProxy,get-custom-dep-commons-logging.jar">
<mkdir dir="${libdir}/commons-logging/jars/">
</mkdir>
<get dest="${libdir}/commons-logging/jars/commons-logging-1.0.3.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.3.jar">
</get>
</target>
<target name="get-custom-dep-commons-logging.jar" if="commons-logging.jar" depends="init,setProxy,noProxy">
<mkdir dir="${libdir}/commons-logging/jars/">
</mkdir>
<get dest="${libdir}/commons-logging/jars/commons-logging-1.0.3.jar" usetimestamp="true" ignoreerrors="true" src="${commons-logging.jar}">
</get>
</target>
<target name="get-dep-commons-discovery.jar" description="o Download the dependency : commons-discovery.jar" unless="commons-discovery.jar" depends="init,setProxy,noProxy,get-custom-dep-commons-discovery.jar">
<mkdir dir="${libdir}/commons-discovery/jars/">
</mkdir>
<get dest="${libdir}/commons-discovery/jars/commons-discovery-0.2.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/commons-discovery/jars/commons-discovery-0.2.jar">
</get>
</target>
<target name="get-custom-dep-commons-discovery.jar" if="commons-discovery.jar" depends="init,setProxy,noProxy">
<mkdir dir="${libdir}/commons-discovery/jars/">
</mkdir>
<get dest="${libdir}/commons-discovery/jars/commons-discovery-0.2.jar" usetimestamp="true" ignoreerrors="true" src="${commons-discovery.jar}">
</get>
</target>
<target name="get-deps" unless="noget" depends="get-dep-commons-logging.jar,get-dep-commons-discovery.jar">
</target>
<target name="setProxy" if="useProxy" depends="init">
<!--Proxy settings works only with a JDK 1.2 and higher.-->
<setproxy>
<echo>Proxy used :</echo>
<echo>Proxy host [${proxy.host}]</echo>
<echo>Proxy port [${proxy.port}]</echo>
<echo>Proxy user [${proxy.username}]</echo>
<setproxy proxyuser="${proxy.username}" proxyport="${proxy.port}" proxypassword="${proxy.password}" proxyhost="${proxy.host}">
</setproxy>
<get dest="${libdir}/commons-logging-1.0.3.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.3.jar">
</get>
<get dest="${libdir}/commons-discovery-0.2.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/commons-discovery/jars/commons-discovery-0.2.jar">
</get>
</target>
<target name="noProxy" unless="useProxy" depends="init">
<echo>Proxy not used.</echo>
</target>
<target name="install-maven">
<get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar">