ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [20/20] ignite git commit: IGNITE-3184: Hadoop: fixed Windows setenv.bat.
Date Fri, 01 Jul 2016 10:41:10 GMT
IGNITE-3184: Hadoop: fixed Windows setenv.bat.


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

Branch: refs/heads/ignite-3410
Commit: 17276475714cf2bb794384b02132d1e7be4fe547
Parents: 4113d0f
Author: vozerov-gridgain <vozerov@gridgain.com>
Authored: Thu Jun 30 16:15:15 2016 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Thu Jun 30 16:15:15 2016 +0300

----------------------------------------------------------------------
 bin/include/setenv.bat | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/17276475/bin/include/setenv.bat
----------------------------------------------------------------------
diff --git a/bin/include/setenv.bat b/bin/include/setenv.bat
index dec1ee5..9d55521 100644
--- a/bin/include/setenv.bat
+++ b/bin/include/setenv.bat
@@ -47,9 +47,9 @@ if exist %IGNITE_HOME%\libs\ignite-hadoop set HADOOP_EDITION=1
 
 if defined USER_LIBS set IGNITE_LIBS=%USER_LIBS%;%IGNITE_LIBS%
 
-FOR /F "delims=" %%i IN ('%JAVA_HOME%\bin\java.exe -cp %IGNITE_HOME%\libs\ignite-hadoop\*
org.apache.ignite.internal.processors.hadoop.HadoopClasspathMain ";"' ) DO set IGNITE_HADOOP_CLASSPATH=%%i
+if "%HADOOP_EDITION%" == "1" FOR /F "delims=" %%i IN ('%JAVA_HOME%\bin\java.exe -cp %IGNITE_HOME%\libs\ignite-hadoop\*
org.apache.ignite.internal.processors.hadoop.HadoopClasspathMain ";"' ) DO set IGNITE_HADOOP_CLASSPATH=%%i
 
-if "[%IGNITE_HADOOP_CLASSPATH%]" == "[]" exit 1
+if "%IGNITE_HADOOP_CLASSPATH%" == "" goto :eof
 
 set IGNITE_LIBS=%IGNITE_LIBS%;%IGNITE_HADOOP_CLASSPATH%
 


Mime
View raw message