<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="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"/>
</copy>
</target>
-<property name="crawler.dist.dir" value="${lib.dir}/crawler"/>
+<property name="crawler.dist.dir" value="${lib.dir}/crawler/basic"/>
<target name="wamblee.crawler.d">
<copy todir="${download.dir}">
<fileset dir="${crawler.dist.dir}">
- <include name="crawler.jar"/>
+ <include name="crawler-basic.jar"/>
</fileset>
</copy>
</target>
<target name="wamblee.crawler.test.d">
<copy todir="${download.dir}">
<fileset dir="${crawler.dist.dir}">
- <include name="crawler-test.jar"/>
+ <include name="crawler-basic-test.jar"/>
</fileset>
</copy>
</target>
<property name="module.emmareport.dir"
value="${module.report.dir}/html/emma"/>
<property name="module.docbase.dir"
- value="${module.build.dir}/javadoc" />
+ value="${module.build.dir}/docs" />
<property name="module.javadoc.dir"
value="${module.docbase.dir}/api" />
<property name="module.javadocjar.name"
value="${module.docbase.dir}/pdf" />
<property name="module.doccheck.dir"
value="${module.docbase.dir}/doccheck" />
+ <property name="module.checkstyle.dir"
+ value="${module.docbase.dir}/checkstyle" />
<property name="module.jar.name" value="${module.name}.jar" />
<!-- Replace the dash by a / to create a relative directory
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.