You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by el...@apache.org on 2016/06/01 17:47:05 UTC

[1/4] phoenix git commit: [PHOENIX-2955] replace xpath to xmllint at make_rc.sh fix problem: "Cannot open file -q at /System/Library/Perl/Extras/5.18/XML/XPath.pm line 53." use `xmllint` relace xpath for parse phoenix name in pom.xml

Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 f9f8f9f07 -> 5cb996511
  refs/heads/4.x-HBase-1.0 1bf75bdd7 -> 90ac492a9
  refs/heads/4.x-HBase-1.1 e3f70785a -> 8cbec765f
  refs/heads/master 95c004112 -> 62d787580


[PHOENIX-2955] replace xpath to xmllint at make_rc.sh
fix problem:
"Cannot open file -q at /System/Library/Perl/Extras/5.18/XML/XPath.pm line 53."
use `xmllint` relace xpath for parse phoenix name in pom.xml

Closes apache/phoenix#170

Signed-off-by: Josh Elser <el...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/62d78758
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/62d78758
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/62d78758

Branch: refs/heads/master
Commit: 62d78758017d48da51bf099c75a7c0866eda9b4b
Parents: 95c0041
Author: shijinkui <sh...@163.com>
Authored: Tue May 31 23:05:24 2016 +0800
Committer: Josh Elser <el...@apache.org>
Committed: Wed Jun 1 13:45:51 2016 -0400

----------------------------------------------------------------------
 dev/make_rc.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/62d78758/dev/make_rc.sh
----------------------------------------------------------------------
diff --git a/dev/make_rc.sh b/dev/make_rc.sh
index 288bfdf..794ac30 100755
--- a/dev/make_rc.sh
+++ b/dev/make_rc.sh
@@ -28,7 +28,7 @@ echo "Starting...";sleep 2s
 # Set directory variables
 DIR_ROOT="$(cd $(dirname $0);pwd)/.."
 cd $DIR_ROOT
-PHOENIX="$(xpath -q -e '/project/version/text()' pom.xml)"
+PHOENIX="$(xmllint --xpath "//*[local-name()='project']/*[local-name()='version']/text()" pom.xml)"
 DIR_REL_BASE=$DIR_ROOT/release
 DIR_REL_ROOT=$DIR_REL_BASE/phoenix-$PHOENIX
 DIR_REL_BIN=phoenix-$PHOENIX-bin


[3/4] phoenix git commit: [PHOENIX-2955] replace xpath to xmllint at make_rc.sh fix problem: "Cannot open file -q at /System/Library/Perl/Extras/5.18/XML/XPath.pm line 53." use `xmllint` relace xpath for parse phoenix name in pom.xml

Posted by el...@apache.org.
[PHOENIX-2955] replace xpath to xmllint at make_rc.sh
fix problem:
"Cannot open file -q at /System/Library/Perl/Extras/5.18/XML/XPath.pm line 53."
use `xmllint` relace xpath for parse phoenix name in pom.xml

Closes apache/phoenix#170

Signed-off-by: Josh Elser <el...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/90ac492a
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/90ac492a
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/90ac492a

Branch: refs/heads/4.x-HBase-1.0
Commit: 90ac492a99be0284f6e5b3f799a3e657eafd95dc
Parents: 1bf75bd
Author: shijinkui <sh...@163.com>
Authored: Tue May 31 23:05:24 2016 +0800
Committer: Josh Elser <el...@apache.org>
Committed: Wed Jun 1 13:46:31 2016 -0400

----------------------------------------------------------------------
 dev/make_rc.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/90ac492a/dev/make_rc.sh
----------------------------------------------------------------------
diff --git a/dev/make_rc.sh b/dev/make_rc.sh
index 288bfdf..794ac30 100755
--- a/dev/make_rc.sh
+++ b/dev/make_rc.sh
@@ -28,7 +28,7 @@ echo "Starting...";sleep 2s
 # Set directory variables
 DIR_ROOT="$(cd $(dirname $0);pwd)/.."
 cd $DIR_ROOT
-PHOENIX="$(xpath -q -e '/project/version/text()' pom.xml)"
+PHOENIX="$(xmllint --xpath "//*[local-name()='project']/*[local-name()='version']/text()" pom.xml)"
 DIR_REL_BASE=$DIR_ROOT/release
 DIR_REL_ROOT=$DIR_REL_BASE/phoenix-$PHOENIX
 DIR_REL_BIN=phoenix-$PHOENIX-bin


[2/4] phoenix git commit: [PHOENIX-2955] replace xpath to xmllint at make_rc.sh fix problem: "Cannot open file -q at /System/Library/Perl/Extras/5.18/XML/XPath.pm line 53." use `xmllint` relace xpath for parse phoenix name in pom.xml

Posted by el...@apache.org.
[PHOENIX-2955] replace xpath to xmllint at make_rc.sh
fix problem:
"Cannot open file -q at /System/Library/Perl/Extras/5.18/XML/XPath.pm line 53."
use `xmllint` relace xpath for parse phoenix name in pom.xml

Closes apache/phoenix#170

Signed-off-by: Josh Elser <el...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/8cbec765
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/8cbec765
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/8cbec765

Branch: refs/heads/4.x-HBase-1.1
Commit: 8cbec765f718ca4b0e42b510b29cbe35341162ea
Parents: e3f7078
Author: shijinkui <sh...@163.com>
Authored: Tue May 31 23:05:24 2016 +0800
Committer: Josh Elser <el...@apache.org>
Committed: Wed Jun 1 13:46:20 2016 -0400

----------------------------------------------------------------------
 dev/make_rc.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/8cbec765/dev/make_rc.sh
----------------------------------------------------------------------
diff --git a/dev/make_rc.sh b/dev/make_rc.sh
index 288bfdf..794ac30 100755
--- a/dev/make_rc.sh
+++ b/dev/make_rc.sh
@@ -28,7 +28,7 @@ echo "Starting...";sleep 2s
 # Set directory variables
 DIR_ROOT="$(cd $(dirname $0);pwd)/.."
 cd $DIR_ROOT
-PHOENIX="$(xpath -q -e '/project/version/text()' pom.xml)"
+PHOENIX="$(xmllint --xpath "//*[local-name()='project']/*[local-name()='version']/text()" pom.xml)"
 DIR_REL_BASE=$DIR_ROOT/release
 DIR_REL_ROOT=$DIR_REL_BASE/phoenix-$PHOENIX
 DIR_REL_BIN=phoenix-$PHOENIX-bin


[4/4] phoenix git commit: [PHOENIX-2955] replace xpath to xmllint at make_rc.sh fix problem: "Cannot open file -q at /System/Library/Perl/Extras/5.18/XML/XPath.pm line 53." use `xmllint` relace xpath for parse phoenix name in pom.xml

Posted by el...@apache.org.
[PHOENIX-2955] replace xpath to xmllint at make_rc.sh
fix problem:
"Cannot open file -q at /System/Library/Perl/Extras/5.18/XML/XPath.pm line 53."
use `xmllint` relace xpath for parse phoenix name in pom.xml

Closes apache/phoenix#170

Signed-off-by: Josh Elser <el...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/5cb99651
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/5cb99651
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/5cb99651

Branch: refs/heads/4.x-HBase-0.98
Commit: 5cb996511d5debbbd2374bbc422c953fa2c29128
Parents: f9f8f9f
Author: shijinkui <sh...@163.com>
Authored: Tue May 31 23:05:24 2016 +0800
Committer: Josh Elser <el...@apache.org>
Committed: Wed Jun 1 13:46:39 2016 -0400

----------------------------------------------------------------------
 dev/make_rc.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/5cb99651/dev/make_rc.sh
----------------------------------------------------------------------
diff --git a/dev/make_rc.sh b/dev/make_rc.sh
index a1812ea..f5aafb8 100755
--- a/dev/make_rc.sh
+++ b/dev/make_rc.sh
@@ -28,7 +28,7 @@ echo "Starting...";sleep 2s
 # Set directory variables
 DIR_ROOT="$(cd $(dirname $0);pwd)/.."
 cd $DIR_ROOT
-PHOENIX="$(xpath -q -e '/project/version/text()' pom.xml)"
+PHOENIX="$(xmllint --xpath "//*[local-name()='project']/*[local-name()='version']/text()" pom.xml)"
 DIR_REL_BASE=$DIR_ROOT/release
 DIR_REL_ROOT=$DIR_REL_BASE/phoenix-$PHOENIX
 DIR_REL_BIN=phoenix-$PHOENIX-bin