74689cbcc0cebbd857a50b155293b82d7403df78al_xipe<?xml version="1.0"?>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe<!--
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe Licensed to the Apache Software Foundation (ASF) under one or more
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe contributor license agreements. See the NOTICE file distributed with
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe this work for additional information regarding copyright ownership.
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe The ASF licenses this file to You under the Apache License, Version 2.0
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe (the "License"); you may not use this file except in compliance with
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe the License. You may obtain a copy of the License at
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe http://www.apache.org/licenses/LICENSE-2.0
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe Unless required by applicable law or agreed to in writing, software
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe distributed under the License is distributed on an "AS IS" BASIS,
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe See the License for the specific language governing permissions and
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe limitations under the License.
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe-->
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe<!--
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe =======================================================================
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe Build file to fetch optional libraries for Apache Ant
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe =======================================================================
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe-->
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe<project name="fetch" default="all" basedir=".">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe<description>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe This build file downloads JAR files that optional Ant tasks use,
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe and installs them in a location that is accessible the next time Ant runs.
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe You can choose three locations, by going -Ddest=LOCATION on the command line
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe -Ddest=user user lib dir ${user.home}/.ant/lib
94d29a8848130741ed9e35078f6b814abac06fccmatthew -Ddest=system ant lib dir ${ant.home}/lib
94d29a8848130741ed9e35078f6b814abac06fccmatthew -Ddest=optional optional dir $${basedir}/lib/optional (for Ant developers)
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe You may also need to set proxy settings. On Java1.5, Ant tries to get
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe this from the OS, unless you use the -noproxy option.
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe Proxies can be configured manually setting the JVM proxy values in the
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe ANT_OPTS environment variable.
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe For example, to set the proxy up in the tcsh shell, the command would be
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe something like:
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe For csh/tcsh:
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe setenv ANT_OPTS "-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe For bash:
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe export ANT_OPTS="-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe For Windows, set the environment variable in the appropriate dialog box
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe and open a new console. or, by hand
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe set ANT_OPTS = -Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe</description>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <!-- Give user a chance to override without editing this file
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe (and without typing -D each time it compiles it) -->
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <property file="${user.home}/.ant/ant.properties"/>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <property name="lib.dir" location="lib" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <property name="optional.dir" location="${lib.dir}/optional" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <property name="userlib.dir" location="${user.home}/.ant/lib" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <!-- load in our properties table -->
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <property file="${lib.dir}/libraries.properties"/>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
94d29a8848130741ed9e35078f6b814abac06fccmatthew <!-- Temporary cache for working files -->
94d29a8848130741ed9e35078f6b814abac06fccmatthew <property name="temp.dir" location="${user.home}/.ant/tempcache" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew <property name="keep.temp.dir" value="true" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <import file="get-m2.xml" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <target name="pick-dest">
94d29a8848130741ed9e35078f6b814abac06fccmatthew <fail>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <condition>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <not>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <isset property="dest"/>
94d29a8848130741ed9e35078f6b814abac06fccmatthew </not>
94d29a8848130741ed9e35078f6b814abac06fccmatthew </condition>ERROR
94d29a8848130741ed9e35078f6b814abac06fccmatthewSet -Ddest=LOCATION on the command line
94d29a8848130741ed9e35078f6b814abac06fccmatthew -Ddest=user user lib dir ${user.home}/.ant/lib
94d29a8848130741ed9e35078f6b814abac06fccmatthew -Ddest=system ant lib dir ${ant.home}/lib
94d29a8848130741ed9e35078f6b814abac06fccmatthew -Ddest=optional optional dir $${basedir}/lib/optional (for Ant developers)
94d29a8848130741ed9e35078f6b814abac06fccmatthew </fail>
94d29a8848130741ed9e35078f6b814abac06fccmatthew
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <condition property="dest.dir"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe value="${lib.dir}">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <equals arg1="${dest}" arg2="system" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </condition>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <condition property="dest.dir"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe value="${optional.dir}">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <equals arg1="${dest}" arg2="optional" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </condition>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <condition property="dest.dir"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe value="${userlib.dir}">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <equals arg1="${dest}" arg2="user" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </condition>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <fail unless="dest.dir">Unknown destination : ${dest}</fail>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <echo>Downloading to ${dest.dir}</echo>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <property name="m2.dest.dir" value="${dest.dir}" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </target>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <target name="macros" depends="pick-dest,get-m2"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe xmlns:artifact="antlib:org.apache.maven.artifact.ant">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <macrodef name="f2">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <attribute name="project" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <attribute name="archive" default="@{project}"/>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <attribute name="repository" default="${m2.repo}"/>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <sequential>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <fail>
94d29a8848130741ed9e35078f6b814abac06fccmatthew Unknown archive @{archive} -no property @{archive}.version defined in ${lib.dir}/libraries.properties.
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <condition>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <not>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <isset property="@{archive}.version"/>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </not>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </condition>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </fail>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <artifact:dependencies pathID="@{archive}.path">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <dependency groupID="@{project}"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe artifactID="@{archive}"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe version="${@{archive}.version}"/>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <remoteRepository url="@{repository}" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </artifact:dependencies>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <!-- now we are left with the problem of getting the files
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe into our directory -->
94d29a8848130741ed9e35078f6b814abac06fccmatthew <copy todir="${dest.dir}">
94d29a8848130741ed9e35078f6b814abac06fccmatthew <path refid="@{archive}.path" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <flattenmapper/>
94d29a8848130741ed9e35078f6b814abac06fccmatthew </copy>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </sequential>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </macrodef>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </target>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
94d29a8848130741ed9e35078f6b814abac06fccmatthew <target name="nonm2-macros" depends="pick-dest">
94d29a8848130741ed9e35078f6b814abac06fccmatthew <macrodef name="get-ftp-file">
94d29a8848130741ed9e35078f6b814abac06fccmatthew <attribute name="host" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew <attribute name="port" default="21"/>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <attribute name="remotedir" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew <attribute name="filename" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew <attribute name="localdir" default="${dest.dir}" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew <attribute name="user" default="anonymous"/>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <attribute name="pw" default="anonymous"/>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <sequential>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <ftp server="@{host}" port="@{port}" userid="@{user}" password="@{pw}" passive="true"
94d29a8848130741ed9e35078f6b814abac06fccmatthew remotedir="@{remotedir}" action="get" depends="true" preserveLastModified="true"
94d29a8848130741ed9e35078f6b814abac06fccmatthew skipFailedTransfers="true">
94d29a8848130741ed9e35078f6b814abac06fccmatthew <fileset dir="@{localdir}">
94d29a8848130741ed9e35078f6b814abac06fccmatthew <include name="@{filename}" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew </fileset>
94d29a8848130741ed9e35078f6b814abac06fccmatthew </ftp>
94d29a8848130741ed9e35078f6b814abac06fccmatthew </sequential>
94d29a8848130741ed9e35078f6b814abac06fccmatthew </macrodef>
94d29a8848130741ed9e35078f6b814abac06fccmatthew
94d29a8848130741ed9e35078f6b814abac06fccmatthew </target>
94d29a8848130741ed9e35078f6b814abac06fccmatthew
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <!-- any init stuff -->
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <target name="init" depends="macros" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
94d29a8848130741ed9e35078f6b814abac06fccmatthew <target name="init-no-m2" depends="nonm2-macros" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew
94d29a8848130741ed9e35078f6b814abac06fccmatthew <target name="init-cache">
94d29a8848130741ed9e35078f6b814abac06fccmatthew <available property="temp.cache.already.exists" file="${temp.dir}" type="dir" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew <condition property="user.wants.temp.cache">
94d29a8848130741ed9e35078f6b814abac06fccmatthew <and>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <isset property="keep.temp.dir" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew <not>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <or>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <equals arg1="${keep.temp.dir}" arg2="false" casesensitive="false" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew <equals arg1="${keep.temp.dir}" arg2="no" casesensitive="false" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew <equals arg1="${keep.temp.dir}" arg2="off" casesensitive="false" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew </or>
94d29a8848130741ed9e35078f6b814abac06fccmatthew </not>
94d29a8848130741ed9e35078f6b814abac06fccmatthew </and>
94d29a8848130741ed9e35078f6b814abac06fccmatthew </condition>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <condition property="delete.temp.cache">
94d29a8848130741ed9e35078f6b814abac06fccmatthew <and>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <not>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <isset property="temp.cache.already.exists" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew </not>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <not>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <isset property="user.wants.temp.cache" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew </not>
94d29a8848130741ed9e35078f6b814abac06fccmatthew </and>
94d29a8848130741ed9e35078f6b814abac06fccmatthew </condition>
94d29a8848130741ed9e35078f6b814abac06fccmatthew </target>
94d29a8848130741ed9e35078f6b814abac06fccmatthew
94d29a8848130741ed9e35078f6b814abac06fccmatthew <target name="-setup-temp-cache" depends="init-cache" unless="temp.cache.already.exists"
94d29a8848130741ed9e35078f6b814abac06fccmatthew description="Setup temporary cache for downloaded files">
94d29a8848130741ed9e35078f6b814abac06fccmatthew <mkdir dir="${temp.dir}" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew </target>
94d29a8848130741ed9e35078f6b814abac06fccmatthew
94d29a8848130741ed9e35078f6b814abac06fccmatthew <target name="-cleanup-temp-cache" depends="init-cache" if="delete.temp.cache"
94d29a8848130741ed9e35078f6b814abac06fccmatthew description="Gets rid of the temporary cache directory">
94d29a8848130741ed9e35078f6b814abac06fccmatthew <delete dir="${temp.dir}" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew </target>
94d29a8848130741ed9e35078f6b814abac06fccmatthew
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <target name="diag" depends="init">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <echoproperties />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </target>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <target name="logging"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe description="load logging libraries"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe depends="init">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <f2 project="log4j" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <f2 project="commons-logging" archive="commons-logging-api" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </target>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <target name="junit"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe description="load junit libraries"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe depends="init">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <f2 project="junit" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </target>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <target name="xml"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe description="load full XML libraries (xalan, resolver)"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe depends="init">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <f2 project="xalan" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <f2 project="xml-resolver" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </target>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <target name="networking"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe description="load networking libraries (commons-net; jsch)"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe depends="init">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <f2 project="commons-net" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <f2 project="com.jcraft" archive="jsch"/>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <available property="have.commons.net" classname="org.apache.commons.net.ftp.FTPClientConfig"/>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </target>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <target name="regexp"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe description="load regexp libraries"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe depends="init">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <f2 project="regexp" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <f2 project="oro" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </target>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <target name="antlr"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe description="load antlr libraries"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe depends="init">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <f2 project="antlr" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </target>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <target name="bcel"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe description="load bcel libraries"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe depends="init">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <f2 project="bcel" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </target>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <target name="jdepend"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe description="load jdepend libraries"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe depends="init">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <f2 project="jdepend" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </target>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <target name="bsf"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe description="load bsf libraries"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe depends="init">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <f2 project="bsf" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </target>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <target name="jruby"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe description="load jruby"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe depends="bsf">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <f2 project="org.jruby" archive="jruby"/>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </target>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <target name="beanshell"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe description="load beanshell support"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe depends="bsf">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <f2 project="org.beanshell" archive="bsh"/>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <f2 project="org.beanshell" archive="bsh-core"/>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </target>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <target name="jython"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe description="load jython"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe depends="bsf">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <f2 project="jython" archive="jython"/>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </target>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <target name="rhino"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe description="load rhino"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe depends="bsf">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <f2 project="rhino" archive="js"/>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </target>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <target name="script"
94d29a8848130741ed9e35078f6b814abac06fccmatthew description="load script languages (except jython)"
94d29a8848130741ed9e35078f6b814abac06fccmatthew depends="bsf,jruby,beanshell,rhino"/>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <target name="debugging"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe description="internal ant debugging"
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe depends="init">
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <f2 project="which" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe </target>
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
94d29a8848130741ed9e35078f6b814abac06fccmatthew <target name="javamail" depends="init"
94d29a8848130741ed9e35078f6b814abac06fccmatthew description="load javamail">
94d29a8848130741ed9e35078f6b814abac06fccmatthew <f2 project="javax.mail" archive="mail"/>
94d29a8848130741ed9e35078f6b814abac06fccmatthew </target>
94d29a8848130741ed9e35078f6b814abac06fccmatthew
94d29a8848130741ed9e35078f6b814abac06fccmatthew <target name="jspc" depends="init" description="loads Jasper">
94d29a8848130741ed9e35078f6b814abac06fccmatthew <f2 project="tomcat" archive="jasper-compiler"/>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <f2 project="tomcat" archive="jasper-runtime"/>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <f2 project="javax.servlet" archive="servlet-api"/>
94d29a8848130741ed9e35078f6b814abac06fccmatthew </target>
94d29a8848130741ed9e35078f6b814abac06fccmatthew
94d29a8848130741ed9e35078f6b814abac06fccmatthew <target name="jai" depends="init"
94d29a8848130741ed9e35078f6b814abac06fccmatthew description="load java advanced imaging">
94d29a8848130741ed9e35078f6b814abac06fccmatthew <f2 project="javax.media" archive="jai-core" repository="http://repository.jboss.org/maven2"/>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <f2 project="com.sun.media" archive="jai-codec" repository="http://repository.jboss.org/maven2"/>
94d29a8848130741ed9e35078f6b814abac06fccmatthew </target>
94d29a8848130741ed9e35078f6b814abac06fccmatthew
94d29a8848130741ed9e35078f6b814abac06fccmatthew <target name="netrexx" depends="init-no-m2,-setup-temp-cache,networking,-fetch-netrexx,-fetch-netrexx-no-commons-net,-cleanup-temp-cache"
94d29a8848130741ed9e35078f6b814abac06fccmatthew description="load NetRexx compiler" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew
94d29a8848130741ed9e35078f6b814abac06fccmatthew <target name="-fetch-netrexx" depends="-setup-temp-cache"
94d29a8848130741ed9e35078f6b814abac06fccmatthew description="FTPs NetRexx compiler from IBM site" if="have.commons.net">
94d29a8848130741ed9e35078f6b814abac06fccmatthew <get-ftp-file host="ftp.software.ibm.com" remotedir="/software/awdtools/netrexx"
94d29a8848130741ed9e35078f6b814abac06fccmatthew filename="NetRexx.zip" localdir="${temp.dir}" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew <copy todir="${dest.dir}" flatten="true">
94d29a8848130741ed9e35078f6b814abac06fccmatthew <zipfileset src="${temp.dir}/NetRexx.zip">
94d29a8848130741ed9e35078f6b814abac06fccmatthew <include name="NetRexx\lib\NetRexxC.jar" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew <include name="NetRexx\browse\license.txt" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew </zipfileset>
94d29a8848130741ed9e35078f6b814abac06fccmatthew </copy>
94d29a8848130741ed9e35078f6b814abac06fccmatthew </target>
94d29a8848130741ed9e35078f6b814abac06fccmatthew
94d29a8848130741ed9e35078f6b814abac06fccmatthew <target name="-fetch-netrexx-no-commons-net" depends="-setup-temp-cache"
94d29a8848130741ed9e35078f6b814abac06fccmatthew description="FTPs NetRexx compiler from IBM site" unless="have.commons.net">
94d29a8848130741ed9e35078f6b814abac06fccmatthew <get src="ftp://ftp.software.ibm.com/software/awdtools/netrexx/NetRexx.zip" dest="${temp.dir}/NetRexx.zip" skipexisting="true"/>
94d29a8848130741ed9e35078f6b814abac06fccmatthew <copy todir="${dest.dir}" flatten="true">
94d29a8848130741ed9e35078f6b814abac06fccmatthew <zipfileset src="${temp.dir}/NetRexx.zip">
94d29a8848130741ed9e35078f6b814abac06fccmatthew <include name="NetRexx\lib\NetRexxC.jar" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew <include name="NetRexx\browse\license.txt" />
94d29a8848130741ed9e35078f6b814abac06fccmatthew </zipfileset>
94d29a8848130741ed9e35078f6b814abac06fccmatthew </copy>
94d29a8848130741ed9e35078f6b814abac06fccmatthew </target>
94d29a8848130741ed9e35078f6b814abac06fccmatthew
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe <target name="all"
94d29a8848130741ed9e35078f6b814abac06fccmatthew description="load all the libraries (except jython)"
94d29a8848130741ed9e35078f6b814abac06fccmatthew depends="logging,junit,xml,networking,regexp,antlr,bcel,jdepend,bsf,debugging,script,javamail,jspc,jai,netrexx" />
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe
74689cbcc0cebbd857a50b155293b82d7403df78al_xipe</project>