issue 16.  hide internal things (that can be hidden).  need to followup to limit visibility on internal things that need to stay pseudo-open and really close the rest.

git-svn-id: https://google-guice.googlecode.com/svn/trunk@1322 d779f126-a31b-0410-b53b-1d3aecad763e
diff --git a/build.xml b/build.xml
index 964e48c..c913e9d 100644
--- a/build.xml
+++ b/build.xml
@@ -76,14 +76,14 @@
   </target>
   
   <target name="test.dist"
-      depends="jar, test.compile"
+      depends="jar, test.compile-with-deps"
       description="Execute JUnit tests against distribution jar.">
     <java fork="true" 
         classname="junit.textui.TestRunner"
         failonerror="true"
         taskname="junit">
       <classpath>
-        <pathelement location="${build.dir}/test"/>
+        <pathelement location="${build.dir}/guice-${version}-tests.jar"/>
         <pathelement location="${build.dir}/dist/guice-${version}.jar"/>
         <pathelement location="lib/aopalliance.jar"/>
         <pathelement location="lib/build/junit.jar"/>