Description: Tweaks to build the project
Author: Emmanuel Bourg <ebourg@apache.org>
--- a/build.xml
+++ b/build.xml
@@ -56,6 +56,7 @@
                source="${java-version}"
                target="${java-version}"
                debug="${debug}"
+               encoding="UTF-8"
                verbose="${verbose}"/>
         <javac classpath="${classpath};${output}"
                srcdir="${test-src}"
@@ -106,7 +107,6 @@
             <file file="LICENSE-2.0.txt" />
             <file file="README.txt" />
         </zip>
-        <delete file="${bin-jar}" />
     </target>
 
     <target name="dist-source" depends="clean, compile, test" description="generate source distribution">
@@ -121,6 +121,7 @@
         <delete verbose="${verbose}" dir="${javadoc}" />
         <javadoc
             destdir="${javadoc}"
+            encoding="UTF-8"
             defaultexcludes="yes"
             author="true"
             version="true"
@@ -132,18 +133,15 @@
             <!-- be sure to only use single quotes in the CDATA sections below -->
             <!-- TODO include <link rel='shortcut icon' href='http://metadata-extractor.googlecode.com/git/Resources/metadata-extractor.ico' /> -->
             <header><![CDATA[<a href='http://www.drewnoakes.com/code/exif/' title='Go to the project home page.'><img src='http://metadata-extractor.googlecode.com/git/Resources/metadata-extractor-logo-131x30.png' border="0" alt='Metadata Extractor Logo'></a>]]></header>
-            <bottom><![CDATA[<i>Copyright &#169; 2003-2012 Drew Noakes. All Rights Reserved.</i>
-<script src='http://www.google-analytics.com/urchin.js' type='text/javascript'></script>
-<script type='text/javascript'>
-_uacct = 'UA-936661-1';
-urchinTracker();
-</script>]]></bottom>
+            <bottom><![CDATA[<i>Copyright &#169; 2003-2012 Drew Noakes. All Rights Reserved.</i>]]></bottom>
 
             <packageset dir="${src}" defaultexcludes="yes">
                 <include name="com/**"/>
                 <!--<exclude name="com/**/test"/>-->
             </packageset>
 
+            <link href="/usr/share/doc/default-jdk-doc/api"/>
+
         </javadoc>
         <copy file="Resources/javadoc-stylesheet.css" tofile="${javadoc}/stylesheet.css" overwrite="yes" />
     </target>
@@ -153,3 +151,4 @@
     <target name="dist-all" depends="dist-source, dist-binaries" description="prepare source and binary distributions"/>
 
 </project>
+
