From 2727fab22f11a9d9c30b2c47d9d010adf97c15d6 Mon Sep 17 00:00:00 2001 From: David Reiss Date: Wed, 9 Dec 2009 19:30:01 +0000 Subject: [PATCH] THRIFT-645. java: Create ant rules for running the test client and server I didn't make these depend on compile-test since ant doesn't seem to detect that the class files are up to date, so it takes a really long time to recompile everything. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@888931 13f79535-47bb-0310-9956-ffa450edef68 --- lib/java/build.xml | 21 +++++++++++++++++++++ lib/java/test/TestClient | 22 ---------------------- lib/java/test/TestNonblockingServer | 22 ---------------------- lib/java/test/TestServer | 22 ---------------------- 4 files changed, 21 insertions(+), 66 deletions(-) delete mode 100755 lib/java/test/TestClient delete mode 100644 lib/java/test/TestNonblockingServer delete mode 100755 lib/java/test/TestServer diff --git a/lib/java/build.xml b/lib/java/build.xml index 16944145..307fda5e 100644 --- a/lib/java/build.xml +++ b/lib/java/build.xml @@ -186,6 +186,27 @@ classpathref="test.classpath" failonerror="true" /> + + + + + + + + + + + + + + + + + + diff --git a/lib/java/test/TestClient b/lib/java/test/TestClient deleted file mode 100755 index bd3c996f..00000000 --- a/lib/java/test/TestClient +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash -v - -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "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 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -java -cp thrifttest.jar:../../lib/java/libthrift.jar org.apache.thrift.test.TestClient $* diff --git a/lib/java/test/TestNonblockingServer b/lib/java/test/TestNonblockingServer deleted file mode 100644 index 070991c7..00000000 --- a/lib/java/test/TestNonblockingServer +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash -v - -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "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 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -java -server -Xmx256m -cp thrifttest.jar:../../lib/java/libthrift.jar org.apache.thrift.test.TestNonblockingServer $* diff --git a/lib/java/test/TestServer b/lib/java/test/TestServer deleted file mode 100755 index 0d36b58e..00000000 --- a/lib/java/test/TestServer +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash -v - -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "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 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -java -server -cp thrifttest.jar:../../lib/java/libthrift.jar org.apache.thrift.test.TestServer $* -- 2.17.1