Repository: oozie
Updated Branches:
  refs/heads/master e1bf5e256 -> 05916d2be


OOZIE-2197 ooziedb.cmd command failed due to classpath being too long on 
windows (me.venkatr via bzhang)


Project: http://git-wip-us.apache.org/repos/asf/oozie/repo
Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/05916d2b
Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/05916d2b
Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/05916d2b

Branch: refs/heads/master
Commit: 05916d2be106f2ba4f85c9dd91cb8c3e47bde0f5
Parents: e1bf5e2
Author: Bowen Zhang <[email protected]>
Authored: Wed Apr 8 13:42:38 2015 -0700
Committer: Bowen Zhang <[email protected]>
Committed: Wed Apr 8 13:43:34 2015 -0700

----------------------------------------------------------------------
 release-log.txt                | 1 +
 tools/src/main/bin/ooziedb.cmd | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/oozie/blob/05916d2b/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index 8fa51b1..aa1b380 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -1,5 +1,6 @@
 -- Oozie 4.2.0 release (trunk - unreleased)
 
+OOZIE-2197 ooziedb.cmd command failed due to classpath being too long on 
windows (me.venkatr via bzhang)
 OOZIE-2182 SLA alert commands are not in sync with doc (puru)
 OOZIE-2191 Upgrade jackson version for hadoop-2 profile (ryota)
 OOZIE-2183 provide an option to disable cleanup for output dataset in rerun 
(ryota)

http://git-wip-us.apache.org/repos/asf/oozie/blob/05916d2b/tools/src/main/bin/ooziedb.cmd
----------------------------------------------------------------------
diff --git a/tools/src/main/bin/ooziedb.cmd b/tools/src/main/bin/ooziedb.cmd
index 24701bf..92a7cfd 100644
--- a/tools/src/main/bin/ooziedb.cmd
+++ b/tools/src/main/bin/ooziedb.cmd
@@ -54,9 +54,9 @@ set OOZIEDB_OPTS=%OOZIEDB_OPTS% -Doozie.data.dir=%OOZIE_DATA%
 set OOZIECPPATH=.
 
 @rem Add libtools to the classpath
-for  %%i in (%BASEDIR%\libtools\*.jar) do set OOZIECPPATH=!OOZIECPPATH!;%%i
-@rem Add libext to the classpath
-for  %%i in (%BASEDIR%\libext\*.jar) do set OOZIECPPATH=!OOZIECPPATH!;%%i
+set OOZIECPPATH=%OOZIECPPATH%;%BASEDIR%\libtools\*
+@rem Add extra_libs to the classpath
+set OOZIECPPATH=%OOZIECPPATH%;%BASEDIR%\..\extra_libs\*
 
 @rem Set JAVA_BIN based on JAVA_HOME
 if "%JAVA_HOME%"=="" (

Reply via email to