Index: velocity-1.6.2/build/build.xml
===================================================================
--- velocity-1.6.2.orig/build/build.xml	2009-01-22 03:36:59.000000000 +0530
+++ velocity-1.6.2/build/build.xml	2010-03-17 11:06:23.000000000 +0530
@@ -139,12 +139,18 @@
   <!-- sets up the build environment (classpath and libs)                  -->
   <!-- =================================================================== -->
   <target name="build-prepare">
-    <ant antfile="${velocity.build.dir}/download.xml" target="build-download" />
 
     <!-- Build classpath -->
     <path id="velocity.build.classpath">
-      <fileset dir="${build.lib}">
-        <include name="**/*.jar"/>
+      <fileset dir="/usr/share/java">
+        <include name="logkit.jar"/>
+        <include name="commons-collections3.jar"/>
+        <include name="commons-lang.jar"/>
+        <include name="commons-logging.jar"/>
+        <include name="jdom1.jar"/>
+        <include name="log4j-1.2.jar"/>
+        <include name="oro.jar"/>
+        <include name="werken.xpath.jar"/>
       </fileset>
     </path>
 
@@ -463,6 +469,7 @@
         <attribute name="Implementation-Vendor-Id" value="org.apache"/>
         <attribute name="Implementation-Vendor" value="Apache Software Foundation"/>
         <attribute name="Implementation-Version" value="${version}"/>
+        <attribute name="Class-Path" value="excalibur-logkit.jar servlet-api-2.5.jar log4j-1.2.jar jdom1.jar commons-lang.jar commons-collections3.jar commons-logging.jar werken.xpath.jar oro.jar"/>
       </manifest>
     </jar>
     <checksum file="${build.dir}/${jarname}.jar" algorithm="md5" property="checksum.jar.md5"/>
@@ -918,7 +925,7 @@
   <!-- Make HTML version of Velocity documentation                         -->
   <!-- =================================================================== -->
 
-  <target name="docs" depends="build-prepare,jar"
+  <target name="docs" depends="build-prepare"
           description="Generates the Velocity HTML documentation">
 
     <taskdef name="anakia"
Index: velocity-1.6.2/build/build.properties
===================================================================
--- velocity-1.6.2.orig/build/build.properties	2009-01-19 00:49:20.000000000 +0530
+++ velocity-1.6.2/build/build.properties	2010-03-17 10:56:19.000000000 +0530
@@ -35,7 +35,7 @@
 
 velocity.build.dir= build
 
-build.dir= ${velocity.dir}/bin
+build.dir= ${velocity.dir}/target
 
 # The source tree runs through a filter copy task to
 # allow substitution of version, date etc. and will
