From 209d6dcc0e2fece7e28e3092a8d7c52a7ab0d23f Mon Sep 17 00:00:00 2001 From: Jake Farrell Date: Wed, 20 Apr 2011 16:35:20 +0000 Subject: [PATCH] Thrift-1133: Java and JavaScript tutorial is broken since we have Java maven deployment patch: jfarrell client: js Fixing build.xml for the js test cases to use ant-tasks. git-svn-id: https://svn.apache.org/repos/asf/thrift/branches/0.6.x@1095454 13f79535-47bb-0310-9956-ffa450edef68 --- lib/js/test/build.xml | 127 +++++++++++++++++++++++------------------- lib/js/test/ivy.xml | 22 -------- 2 files changed, 70 insertions(+), 79 deletions(-) delete mode 100644 lib/js/test/ivy.xml diff --git a/lib/js/test/build.xml b/lib/js/test/build.xml index ee38edbe..bd2faf25 100644 --- a/lib/js/test/build.xml +++ b/lib/js/test/build.xml @@ -7,7 +7,7 @@ "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an @@ -17,8 +17,8 @@ under the License. --> + xmlns:artifact="antlib:org.apache.maven.artifact.ant" + xmlns:jsl="antlib:com.googlecode.jslint4java"> Java Script Test based on Thrift Java Library @@ -32,16 +32,19 @@ - + + - - - + - - - + + + + + + + @@ -55,25 +58,15 @@ - - + + - You need libthrift.jar located at - ${thrift.java.dir} + You need libthrift*.jar and libthrift*test.jar located at + ${thrift.java.dir}/build Did you compile Thrift Java library and its test suite by "ant compile-test"? - - - - - - - - - ivy is missing at ${ivy.dir} - @@ -89,6 +82,7 @@ + @@ -96,11 +90,11 @@ - + - + @@ -112,46 +106,65 @@ - + - - - - - + + + + + + + + + + + + + - - - + + check if gjslint is available: + + + - - - - + + + + + + - - - - - - - - - - - - - - - You need Apache Ivy 2.0 or later from http://ant.apache.org/ - It could not be loaded from ${ivy_repo_url} - + + + + + + + + + + + + + + + + + + + + + + diff --git a/lib/js/test/ivy.xml b/lib/js/test/ivy.xml deleted file mode 100644 index fdd2d902..00000000 --- a/lib/js/test/ivy.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - -- 2.17.1