<target name="init_delegator" depends="init_directory_properties,import_header">
</target>
+
+ <target name="deps" depends="init_delegator" description="download dependencies">
+ <antcall target="delegator">
+ <param name="targets" value="deps"/>
+ </antcall>
+ </target>
+
+ <target name="clean-deps" depends="init_delegator" description="download dependencies">
+ <antcall target="delegator">
+ <param name="targets" value="clean-deps"/>
+ </antcall>
+ </target>
+
<target name="clean" depends="init_delegator" description="Clean all targets">
<antcall target="delegator">
<param name="targets" value="clean"/>
</target>
<target name="clean-deps" depends="init_directory_properties">
- <delete dir="${external.lib.dir}"/>
- <mkdir dir="${external.lib.dir}"/>
- <delete dir="${test.lib.dir}"/>
- <mkdir dir="${test.lib.dir}"/>
- <delete dir="${ant.downloaded.lib.dir}"/>
- <mkdir dir="${ant.downloaded.lib.dir}"/>
+ <delete>
+ <fileset dir="${external.lib.dir}" includes="*"/>
+ </delete>
+ <delete>
+ <fileset dir="${test.lib.dir}" includes="*"/>
+ </delete>
+ <delete>
+ <fileset dir="${ant.downloaded.lib.dir}" includes="*"/>
+ </delete>
</target>
<!-- ============================================================================
<?xml version="1.0"?>
<!DOCTYPE project [
- <!ENTITY header SYSTEM "file:build/header.xml">
- <!ENTITY trailer SYSTEM "file:build/trailer.xml">
+ <!ENTITY header SYSTEM "file:../build/header.xml">
+ <!ENTITY trailer SYSTEM "file:../build/trailer.xml">
]>
<project name="support" default="jar" basedir=".">
<!-- =============================================================================== -->
<!-- Include the build header defining general properties -->
<!-- =============================================================================== -->
- <property name="project.home" value="."/>
+ <property name="project.home" value=".."/>
<property name="module.name" value="support" />
&header;