ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [33/50] incubator-ignite git commit: # IGNITE-45 Minor fix ignite-schema-import.bat
Date Mon, 23 Mar 2015 11:23:38 GMT
# IGNITE-45 Minor fix ignite-schema-import.bat


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

Branch: refs/heads/ignite-497-stick
Commit: 7a7cc17ce7543c58505c471b0c8582c15a06c30d
Parents: d7880d0
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Mon Mar 23 14:03:35 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Mon Mar 23 14:03:35 2015 +0700

----------------------------------------------------------------------
 bin/ignite-schema-import.bat | 18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/7a7cc17c/bin/ignite-schema-import.bat
----------------------------------------------------------------------
diff --git a/bin/ignite-schema-import.bat b/bin/ignite-schema-import.bat
index c7cfc0e..4731105 100644
--- a/bin/ignite-schema-import.bat
+++ b/bin/ignite-schema-import.bat
@@ -92,16 +92,7 @@ if /i "%SCRIPTS_HOME%\" == "%~dp0" goto run
 ::
 call "%SCRIPTS_HOME%\include\setenv.bat"
 call "%SCRIPTS_HOME%\include\target-classpath.bat" &:: Will be removed in release.
-set CP=%JAVA_HOME%/jre/lib/jfxrt.jar;%IGNITE_HOME%\bin\include\schema-import/*;%IGNITE_LIBS%
-
-::
-:: Parse command line parameters.
-::
-call "%SCRIPTS_HOME%\include\parseargs.bat" %*
-if %ERRORLEVEL% neq 0 (
-    echo Arguments parsing failed
-    exit /b %ERRORLEVEL%
-)
+set CP=%JAVA_HOME%\jre\lib\jfxrt.jar;%IGNITE_HOME%\bin\include\schema-import\*;%IGNITE_LIBS%
 
 ::
 :: Set program name.
@@ -110,14 +101,9 @@ set PROG_NAME=ignite-schema-import.bat
 if "%OS%" == "Windows_NT" set PROG_NAME=%~nx0%
 
 ::
-:: Program args.
-::
-if "%ARGS%" == "" set ARGS=%*
-
-::
 :: Starts Ignite Schema Import Utility.
 ::
-"%JAVA_HOME%\bin\java.exe" %JVM_OPTS% -cp "%CP%" org.apache.ignite.schema.ui.SchemaImportApp
%ARGS%
+"%JAVA_HOME%\bin\java.exe" %JVM_OPTS% -cp "%CP%" org.apache.ignite.schema.ui.SchemaImportApp
%*
 
 :error_finish
 


Mime
View raw message