THRIFT-1133 Java and JavaScript tutorial is broken since we have Java maven deployment


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1090454 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tutorial/js/build.xml b/tutorial/js/build.xml
index f85651a..f757789 100644
--- a/tutorial/js/build.xml
+++ b/tutorial/js/build.xml
@@ -30,8 +30,11 @@
   <property name="thrift.java.dir" location="${thrift.dir}/lib/java" />
 
   <path id="libs.classpath">
-    <pathelement path="${thrift.java.dir}/libthrift.jar" />
-    <fileset dir="${thrift.java.dir}/build/ivy/lib">
+    <fileset dir="../../lib/java/build">
+      <include name="*.jar" />
+      <exclude name="-test.jar" />
+    </fileset>
+    <fileset dir="../../lib/java/build/lib">
       <include name="*.jar" />
     </fileset>
   </path>