+++ /dev/null
-<?xml version='1.0'?>
-<project name="support" default="download-deps" basedir="."
- xmlns:artifact="urn:maven-artifact-ant">
-
- <!--
- Give user a chance to override without editing this file
- (and without typing -D each time they run it).
- -->
- <property file="ant.properties" />
- <property file="${user.home}/ant.properties" />
-
- <property environment="env" />
-
-
- <!-- set global properties for this build -->
-
- <!-- Directory where external jar files reside -->
- <property name="external" value="lib/external"/>
-
- <!-- Directory where special libs reside that cannot be downloaded -->
- <property name="special.lib.dir" value="lib/special"/>
-
- <!-- Directory where basic j2ee apis reside -->
- <property name="j2eelibs.dir" value="lib/j2ee"/>
-
- <!-- Directory where ant libs reside -->
- <property name="antlibs.dir" value="lib/ant"/>
-
- <!-- Directory where test libs reside -->
- <property name="testlibs.dir" value="lib/test"/>
-
- <!-- taskdef for ant-dependencies task -->
- <taskdef name="dependencies" classpath="lib/ant/ant-dependencies.jar"
- classname="org.apache.tools.ant.taskdefs.optional.dependencies.Dependencies"/>
-
- <target name="clean">
- <delete>
- <fileset dir="${external}" includes="*.jar">
- </fileset>
- <fileset dir="${j2eelibs.dir}" includes="*.jar"/>
- <fileset dir="${testlibs.dir}" includes="*.jar">
- <include name="*.jar"/>
- <exclude name="jta.jar"/>
- <exclude name="jdbc*.jar"/>
- </fileset>
- <fileset dir="${antlibs.dir}">
- <include name="*.jar"/>
- <exclude name="ant-depend*.jar"/>
- </fileset>
- </delete>
- </target>
-
- <target name="download-deps">
- <dependencies verbose="true" fileSetId="war.deps">
- <dependency group="commons-logging" artifact="commons-logging" version="1.0.2"/>
- <dependency group="commons-validator" artifact="commons-validator" version="1.1.4"/>
- <dependency group="xalan" artifact="xalan" version="2.7.0"/>
- <dependency group="xerces" artifact="xerces" version="2.4.0"/>
- <dependency group="springframework" artifact="spring" version="1.2.5"/>
-
- <dependency group="hibernate" version="3.0.5"/>
- <dependency group="ehcache" version="1.1"/>
- <dependency group="dom4j" version="1.6"/>
-
- <dependency group="cglib" version="2.1"/>
- </dependencies>
- <copy todir="${external}" flatten="yes">
- <fileset refid="war.deps"/>
- <fileset dir="${special.lib.dir}" includes="*.jar"/>
- </copy>
-
-
- <dependencies verbose="true" fileSetId="j2ee.deps">
- <dependency group="log4j" version="1.2.9"/>
- <dependency group="javax.servlet" artifact="servlet-api" version="2.4"/>
- <dependency group="javax.servlet" artifact="jsp-api" version="2.0"/>
- </dependencies>
- <copy todir="${j2eelibs.dir}" flatten="yes">
- <fileset refid="j2ee.deps"/>
- </copy>
-
- <dependencies verbose="true" fileSetId="ant.deps">
- <dependency group="emma" artifact="emma_ant" version="2.0.5312"/>
- <dependency group="emma" artifact="emma" version="2.0.5312"/>
- </dependencies>
- <copy todir="${antlibs.dir}" flatten="yes">
- <fileset refid="ant.deps"/>
- </copy>
-
- <dependencies verbose="true" fileSetId="test.deps">
- <dependency group="junit" version="3.8.1"/>
- <dependency group="dbunit" version="2.1"/>
- <dependency group="mysql" artifact="mysql-connector-java" version="3.0.10"/>
- <dependency group="jmock" artifact="jmock" version="1.0.1"/>
- <dependency group="jmock" artifact="jmock-cglib" version="1.0.1"/>
- </dependencies>
- <copy todir="${testlibs.dir}" flatten="yes">
- <fileset refid="test.deps"/>
- </copy>
-
-
- </target>
-
-</project>
-
-
-