You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tajo.apache.org by hy...@apache.org on 2015/09/17 16:13:26 UTC

tajo git commit: Fixed tajo-dist to check if tajo-storage-pgsql jar exists.

Repository: tajo
Updated Branches:
  refs/heads/branch-0.11.0 6a100de26 -> 646cec155


Fixed tajo-dist to check if tajo-storage-pgsql jar exists.


Project: http://git-wip-us.apache.org/repos/asf/tajo/repo
Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/646cec15
Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/646cec15
Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/646cec15

Branch: refs/heads/branch-0.11.0
Commit: 646cec155a39f32e8247ce793f761679859ab136
Parents: 6a100de
Author: Hyunsik Choi <hy...@apache.org>
Authored: Thu Sep 17 07:04:31 2015 -0700
Committer: Hyunsik Choi <hy...@apache.org>
Committed: Thu Sep 17 07:04:31 2015 -0700

----------------------------------------------------------------------
 tajo-dist/pom.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tajo/blob/646cec15/tajo-dist/pom.xml
----------------------------------------------------------------------
diff --git a/tajo-dist/pom.xml b/tajo-dist/pom.xml
index 08f8876..08262a9 100644
--- a/tajo-dist/pom.xml
+++ b/tajo-dist/pom.xml
@@ -144,7 +144,11 @@
                       run cp -r $ROOT/tajo-storage/target/tajo-storage-${project.version}/* .
                       run cp -r $ROOT/tajo-sql-parser/target/tajo-sql-parser-${project.version}/* .
                       run cp -r $ROOT/tajo-storage/tajo-storage-jdbc/target/tajo-storage-jdbc-${project.version}.jar .
-                      run cp -r $ROOT/tajo-storage/tajo-storage-pgsql/target/tajo-storage-pgsql-${project.version}.jar .
+                      STORAGE_PGSQL_JAR=$ROOT/tajo-storage/tajo-storage-pgsql/target/tajo-storage-pgsql-${project.version}.jar
+                      if [ -f $STORAGE_PGSQL_JAR ]
+                      then
+                        run cp -r $STORAGE_PGSQL_JAR .
+                      fi
                       run cp -r $ROOT/tajo-pullserver/target/tajo-pullserver-${project.version}.jar .
                       run cp -r $ROOT/tajo-metrics/target/tajo-metrics-${project.version}.jar .
                       run cp -r $ROOT/tajo-core/target/tajo-core-${project.version}.jar .