You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by jh...@apache.org on 2014/10/28 18:50:53 UTC
[5/9] git commit: sqlline: Looking for class-path in inconsistent
locations.
sqlline: Looking for class-path in inconsistent locations.
Project: http://git-wip-us.apache.org/repos/asf/incubator-calcite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/667ca646
Tree: http://git-wip-us.apache.org/repos/asf/incubator-calcite/tree/667ca646
Diff: http://git-wip-us.apache.org/repos/asf/incubator-calcite/diff/667ca646
Branch: refs/heads/master
Commit: 667ca64606c88b3f2690fb6b03a4bc2a5a93713d
Parents: be79857
Author: Julian Hyde <jh...@apache.org>
Authored: Tue Oct 7 18:04:05 2014 -0700
Committer: Julian Hyde <jh...@apache.org>
Committed: Fri Oct 24 09:44:30 2014 -0700
----------------------------------------------------------------------
sqlline | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-calcite/blob/667ca646/sqlline
----------------------------------------------------------------------
diff --git a/sqlline b/sqlline
index 3c0f4ce..4b13a0c 100755
--- a/sqlline
+++ b/sqlline
@@ -26,9 +26,10 @@ case $(uname -s) in
(*) cygwin=;;
esac
-# Build classpath on first call. (To force rebuild, remove .classpath.txt.)
+# Build classpath on first call.
+# (To force rebuild, remove target/fullclasspath.txt.)
cd $(dirname $0)
-if [ ! -f .fullclasspath.txt ]; then
+if [ ! -f target/fullclasspath.txt ]; then
mvn dependency:build-classpath -Dmdep.outputFile=target/classpath.txt
awk -v RS=: -v ORS=: '{if(!m[$0]) {m[$0]=1; print}}' \
target/classpath.txt \