[sqlline] 13/22: Add the known JDBC drivers to the classpath instead of setting the java.ext.dirs system property

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Apr 18 16:11:07 BST 2018


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository sqlline.

commit a1527bb90860db42ef8e6c28d2cecf4ad53ad7c2
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Mar 6 11:33:07 2014 +0000

    Add the known JDBC drivers to the classpath instead of setting the java.ext.dirs system property
---
 debian/changelog  | 2 ++
 debian/control    | 2 +-
 debian/sqlline.sh | 5 +----
 3 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cd76569..04b9b79 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 sqlline (1.0.2-5) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Add the known JDBC drivers to the classpath instead of setting
+    the java.ext.dirs system property (Closes: #705645)
   * Renamed the 'enum' variables to fix a build failure (Closes: #738425)
   * Updated the Lintian overrides to use capitalization-error-in-description
     instead of spelling-error-in-description
diff --git a/debian/control b/debian/control
index 0f1bd89..6b50a22 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Homepage: http://sqlline.sourceforge.net
 Package: sqlline
 Architecture: all
 Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless, libjline-java, java-wrappers
-Recommends: libhsqldb-java | libmysql-java | libpostgresql-jdbc-java
+Recommends: libhsqldb-java | libmysql-java | libpostgresql-jdbc-java | libjtds-java
 Description: JDBC command-line utility for issuing SQL
  SQLLine is a pure-Java console based utility for connecting to
  relational databases and executing SQL commands.
diff --git a/debian/sqlline.sh b/debian/sqlline.sh
index 71f5c14..397be09 100644
--- a/debian/sqlline.sh
+++ b/debian/sqlline.sh
@@ -1,7 +1,5 @@
 #!/bin/sh
 
-JAVA_ARGS="-Djava.ext.dirs=/usr/share/java/:/usr/local/share/java/"
-
 # Include the wrappers utility script
 . /usr/lib/java-wrappers/java-wrappers.sh
 
@@ -9,8 +7,7 @@ JAVA_ARGS="-Djava.ext.dirs=/usr/share/java/:/usr/local/share/java/"
 find_java_runtime all
 
 # Define our classpath
-find_jars jline sqlline
+find_jars jline sqlline postgresql-jdbc4 mysql-connector-java hsqldb jtds
 
 # Run SQLLine
 run_java sqlline.SqlLine $extra_args "$@"
-

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/sqlline.git



More information about the pkg-java-commits mailing list