THRIFT-1091 integrate JavaScript Test into Testsuite via make check
...fix broken build


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1083963 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/js/test/build.xml b/lib/js/test/build.xml
index ddf5df8..bfb9e27 100644
--- a/lib/js/test/build.xml
+++ b/lib/js/test/build.xml
@@ -52,8 +52,6 @@
     <pathelement location="${jar.file}" />
   </path>
 
-  <taskdef uri="antlib:com.googlecode.jslint4java" resource="com/googlecode/jslint4java/antlib.xml" classpathref="libs.classpath" />
-
   <target name="dependencies">
     <fail>
       <condition>
@@ -125,6 +123,7 @@
   <target name="lint" description="code quality checks" depends="gjslint, jslint, generate"/>
 
   <target name="jslint">
+    <taskdef uri="antlib:com.googlecode.jslint4java" resource="com/googlecode/jslint4java/antlib.xml" classpathref="libs.classpath" />
     <!--
          the following options would probably make sense in the future:
          browser,undef,eqeqeq,plusplus,bitwise,regexp,strict,newcap,immed
diff --git a/lib/js/test/ivy.xml b/lib/js/test/ivy.xml
index a901659..4337dbd 100644
--- a/lib/js/test/ivy.xml
+++ b/lib/js/test/ivy.xml
@@ -18,6 +18,6 @@
     <info organisation="org.apache.thrift" module="jstest"/>
     <dependencies>
         <dependency org="org.apache.httpcomponents" name="httpclient" rev="4.0.1" conf="* -> *,!sources,!javadoc"/>
-        <dependency org="com.googlecode.jslint4java" name="jslint4java-ant" rev="1.4.2" conf="* -> *,!sources,!javadoc"/>      
+        <dependency org="com.googlecode.jslint4java" name="jslint4java-ant" rev="1.4.6" conf="* -> *,!sources,!javadoc"/>      
     </dependencies>
 </ivy-module>