predictionio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chan...@apache.org
Subject [18/50] [abbrv] incubator-predictionio git commit: [PIO-72] Add JDBC JARs when they are present
Date Wed, 27 Sep 2017 22:10:53 GMT
[PIO-72] Add JDBC JARs when they are present


Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/commit/a8130217
Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/tree/a8130217
Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/diff/a8130217

Branch: refs/heads/master
Commit: a813021714ae8930c0d7e2061a15ab897005d188
Parents: d894b72
Author: Donald Szeto <donald@apache.org>
Authored: Fri Jul 28 11:08:00 2017 -0700
Committer: Donald Szeto <donald@apache.org>
Committed: Fri Jul 28 11:08:00 2017 -0700

----------------------------------------------------------------------
 bin/compute-classpath.sh | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/a8130217/bin/compute-classpath.sh
----------------------------------------------------------------------
diff --git a/bin/compute-classpath.sh b/bin/compute-classpath.sh
index cd0527f..3e59ca7 100755
--- a/bin/compute-classpath.sh
+++ b/bin/compute-classpath.sh
@@ -63,9 +63,11 @@ if [ -n "$ES_CONF_DIR" ]; then
 fi
 if [ -n "$POSTGRES_JDBC_DRIVER" ]; then
   CLASSPATH="$CLASSPATH:$POSTGRES_JDBC_DRIVER"
+  ASSEMBLY_JARS="$ASSEMBLY_JARS,$POSTGRES_JDBC_DRIVER"
 fi
 if [ -n "$MYSQL_JDBC_DRIVER" ]; then
   CLASSPATH="$CLASSPATH:$MYSQL_JDBC_DRIVER"
+  ASSEMBLY_JARS="$ASSEMBLY_JARS,$MYSQL_JDBC_DRIVER"
 fi
 
 echo "$CLASSPATH"


Mime
View raw message