You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@edgent.apache.org by cd...@apache.org on 2017/11/21 11:50:50 UTC

[10/50] incubator-edgent-samples git commit: remove runjdbcsample.sh.orig

remove runjdbcsample.sh.orig


Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent-samples/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent-samples/commit/4456eb29
Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent-samples/tree/4456eb29
Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent-samples/diff/4456eb29

Branch: refs/heads/develop
Commit: 4456eb29d80569ca41e408f4892c17752868cf86
Parents: 51ed7d1
Author: Dale LaBossiere <dl...@us.ibm.com>
Authored: Tue Sep 12 18:25:32 2017 -0400
Committer: Dale LaBossiere <dl...@us.ibm.com>
Committed: Tue Sep 12 18:25:32 2017 -0400

----------------------------------------------------------------------
 connectors/scripts/jdbc/runjdbcsample.sh.orig | 46 ----------------------
 1 file changed, 46 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-edgent-samples/blob/4456eb29/connectors/scripts/jdbc/runjdbcsample.sh.orig
----------------------------------------------------------------------
diff --git a/connectors/scripts/jdbc/runjdbcsample.sh.orig b/connectors/scripts/jdbc/runjdbcsample.sh.orig
deleted file mode 100755
index 46d8f04..0000000
--- a/connectors/scripts/jdbc/runjdbcsample.sh.orig
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/bash
-#
-# 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.
-#
-
-edgent=../../..
-
-# Runs the Sample JDBC Writer or Reader
-#
-# ./runjdbcsample.sh writer
-# ./runjdbcsample.sh reader
-
-if [ -z "$DERBY_HOME" ]; then
-    echo "\$DERBY_HOME not defined."
-    exit 1;
-fi
-if [ ! -f $DERBY_HOME/lib/derby.jar ]; then
-    echo "\$DERBY_HOME/lib/derby.jar: file not found"
-    exit 1;
-fi
-
-export CLASSPATH=${edgent}/samples/lib/edgent.samples.connectors.jar:$DERBY_HOME/lib/derby.jar
-
-app=$1; shift
-if [ "$app" == "writer" ]; then
-    java org.apache.edgent.samples.connectors.jdbc.SimpleWriterApp jdbc.properties
-elif [ "$app" == "reader" ]; then
-    java org.apache.edgent.samples.connectors.jdbc.SimpleReaderApp jdbc.properties
-else
-    echo "unrecognized mode '$app'"
-    echo "usage: $0 writer|reader"
-    exit 1
-fi