--- dist-build.xml	2015-02-19 01:31:42.961518206 +0100
+++ dist-build.xml.dist-build	2015-02-19 01:31:49.743109520 +0100
@@ -70,7 +70,21 @@
          Define the script-wide classpath.
          ================================= -->
 	<path id="classpath">
-		<fileset dir="${dir.libs}" includes="**/*.jar"/>
+		<fileset dir="/usr/share/java/" includes="jackson/jackson-core-asl.jar"/>
+		<fileset dir="/usr/share/java/" includes="jackson/jackson-mapper-asl.jar"/>
+		<fileset dir="/usr/share/java/" includes="mx4j/mx4j.jar"/>
+		<fileset dir="/usr/share/java/" includes="bcprov.jar"/>
+		<fileset dir="/usr/share/java/" includes="commons-codec.jar"/>
+		<fileset dir="/usr/share/java/" includes="commons-logging.jar"/>
+		<fileset dir="/usr/share/java/" includes="java-xmlbuilder.jar"/>
+		<fileset dir="/usr/share/java/" includes="base64.jar"/>
+		<fileset dir="/usr/share/java/" includes="junit.jar"/>
+		<fileset dir="/usr/share/java/" includes="httpcomponents/httpclient.jar"/>
+		<fileset dir="/usr/share/java/" includes="httpcomponents/httpcore.jar"/>
+		<fileset dir="/usr/share/java/" includes="log4j.jar"/>
+		<fileset dir="/usr/share/java/" includes="glassfish-servlet-api.jar"/>
+		<fileset dir="/usr/share/java/" includes="javamail/mail.jar"/>
+		<fileset dir="/usr/share/java/" includes="BareBonesBrowserLaunch.jar"/>
 	</path>
 	
 	
@@ -425,6 +439,19 @@
 	<target name="clean">
 		<delete dir="${dir.build}"/>
 	</target>
-	
+
+	<target name="api-docs">		
+		<mkdir dir="dist/api-docs"/>
+		<javadoc 
+			author="false" 
+			version="true"
+			destdir="dist/api-docs" 
+			windowtitle="JetS3t API : Amazon S3 Toolkit">
+			
+			<classpath refid="classpath"/>
+			<fileset dir="${dir.src}" includes="**/*.java"/>
+		</javadoc>
+	</target>
+
 </project>
 
