(no commit message)
[utils] / build / header.xml
index 260d482beaa47ba05876f29a7ea883ac7beabea4..df55a859ef4eb327a19cb794aaafeff8e53ded85 100644 (file)
@@ -9,8 +9,17 @@
 </target>
 
 
+<property name="project.home" value=".."/>
+<property name="build.dir" value="${project.home}/build"/>
+<property name="lib.dir" value="${project.home}/lib/wamblee"/>
 
 <target name="download.dep">
+  <if>
+    <isset property="proxyhost"/>
+    <then>
+      <setproxy proxyhost="${proxyhost}" proxyport="${proxyport}"/>
+    </then>
+  </if>
   <if>
     <isset property="artifact"/>
     <then>
   </antcall>
 </target>
 
+<target name="commons-codec.d">
+  <antcall target="download.dep">
+    <param name="group" value="commons-codec"/>
+    <param name="version" value="1.3"/>
+  </antcall>
+</target>
+
+
 <target name="logging.d" depends="log4j.d,commons-logging.d">
 </target>
 
     <param name="group" value="dom4j"/>
     <param name="version" value="1.6"/>
   </antcall>
+  <antcall target="download.dep">
+    <param name="group" value="jaxen"/>
+    <param name="version" value="1.1-beta-4"/>
+  </antcall>
 </target>
 
 <target name="xerces.d">
   </antcall>
 </target>
 
+<target name="activation.d">
+  <copy todir="${download.dir}">
+    <fileset dir="${special.lib.dir}/jaf-1.0.2">
+       <include name="*.jar"/>
+    </fileset>
+  </copy>
+</target>
+
+<target name="mail.d" depends="activation.d">
+  <copy todir="${download.dir}">
+    <fileset dir="${special.lib.dir}/javamail-1.3.3_01">
+       <include name="*.jar"/>
+    </fileset>
+  </copy>
+</target>
+
+
+
+<target name="httpclient.d">
+  <antcall target="download.dep">
+    <param name="group" value="commons-httpclient"/>
+    <param name="version" value="3.0"/>
+  </antcall>
+</target>
+
+<target name="jtidy.d">
+  <antcall target="download.dep">
+    <param name="group" value="jtidy"/>
+    <param name="version" value="4aug2000r7-dev"/>
+  </antcall>
+</target>
+
+<property name="support.dist.dir" value="${lib.dir}/support"/>
+<target name="wamblee.support.d">
+  <copy todir="${download.dir}">
+    <fileset dir="${support.dist.dir}">
+      <include name="support.jar"/>
+    </fileset>
+  </copy>
+</target>
+<target name="wamblee.support.test.d">
+  <copy todir="${download.dir}">
+    <fileset dir="${support.dist.dir}">
+      <include name="support-test.jar"/>
+    </fileset>
+  </copy>
+</target>
+
+<property name="crawler.dist.dir" value="${lib.dir}/crawler"/>
+<target name="wamblee.crawler.d">
+  <copy todir="${download.dir}">
+    <fileset dir="${crawler.dist.dir}">
+      <include name="crawler.jar"/>
+    </fileset>
+  </copy>
+</target>
+<target name="wamblee.crawler.test.d">
+  <copy todir="${download.dir}">
+    <fileset dir="${crawler.dist.dir}">
+      <include name="crawler-test.jar"/>
+    </fileset>
+  </copy>
+</target>
+
 <target name="junit.d">
   <antcall target="download.dep">
     <param name="group" value="junit"/>
       <!--  The project.home property can also be overriden in a build.xml
             in case the source is in a subdirectory and not necessarily
             in the top-level directory --> 
-    <property name="project.home" value=".."/>
-    <property name="build.dir" value="${project.home}/build"/>
-    <property name="lib.dir" value="${project.home}/lib/wamblee"/>
+   
     <property name="ant.lib.dir" value="${project.home}/lib/ant"/>
     <property name="ant.downloaded.lib.dir" value="${project.home}/lib/ant/downloaded"/>
     <property name="external.lib.dir" value="lib/external"/>
     
       Preparation:
       
+      To execute with a specific proxy host and port, start ant with the 
+      command-line options   -Dproxyhost=hostname -Dproxyport=portnumber.
+      
       deps:          Download dependencies, this is necessary for using 
                      any of the build targets.
       clean-deps:    Remove downloaded dependencies.