Description: Debianise build.xml
Author: Matthew Vernon <matthew@debian.org>

Modify build.xml to refer to the system-provided jars.

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- not-yet-commons-ssl-0.3.9.orig/build.xml
+++ not-yet-commons-ssl-0.3.9/build.xml
@@ -13,8 +13,8 @@
 -->
 <project name="commons-ssl" default="jar" basedir=".">
 
-  <property name="httpclient-jar" value="commons-httpclient-3.0.jar"/>
-  <property name="log4j-jar" value="log4j-1.2.13.jar"/>
+  <property name="httpclient-jar" value="commons-httpclient.jar"/>
+  <property name="log4j-jar" value="log4j-1.2.jar"/>
   <property name="src" location="./src/java"/>
   <property name="build" location="./build"/>
   <property name="lib" location="./lib"/>
@@ -22,11 +22,12 @@
   <property name="jar-file" value="${ant.project.name}.jar"/>
   <property name="javadocs" value="${build}/javadocs"/>
   <property name="rmic.includes" value="**/*RMI.class"/>
+  <property name="debian.java.dir" value="/usr/share/java" />
 
   <path id="compile-classpath">
     <pathelement location="${classes}"/>
-    <pathelement location="${lib}/${httpclient-jar}"/>
-    <pathelement location="${lib}/${log4j-jar}"/>
+    <pathelement location="${debian.java.dir}/${httpclient-jar}"/>
+    <pathelement location="${debian.java.dir}/${log4j-jar}"/>
   </path>
 
   <target name="init">
@@ -100,7 +101,7 @@
     <delete dir="${build}"/>
   </target>
 
-  <target name="all" depends="clean,jar"/>
+  <target name="all" depends="jar,javadocs"/>
 
 
 </project>
