FreeCalypso > hg > leo2moko-debug
diff gpf/BIN/sape.bat @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gpf/BIN/sape.bat Mon Jun 01 03:24:05 2015 +0000 @@ -0,0 +1,37 @@ +@setlocal +@echo off + +if x%GPF% == x goto noenv +rem Use absolute path. +set TOOLSDIR=%GPF%\tools + +goto setparam + +:noenv +rem Try relative path. +set TOOLSDIR=..\tools + +:setparam +if x%_4ver% == x goto param_no4nt + +cdd %TOOLSDIR% +set LIBDIR=%_CWD\lib +goto start + +:param_no4nt +cd /d %TOOLSDIR% +set LIBDIR=%cd%\lib + +:start + +cd bin +call .\eclipse.bat %1 %2 %3 %4 %5 %6 %7 -vmargs "-Xbootclasspath/p:%LIBDIR%\java\xmlParserAPIs.jar;%LIBDIR%\java\xercesImpl.jar" + +rem Generate batch file for call of command from 4nt+initvars. +if x%GPF% == x goto end +if x%_4ver% == x goto end +if not isdir %GPF%\tools\bin\eclipse\workspace\.metadata\.plugins\com.ti.sapeditor mkdir %GPF%\tools\bin\eclipse\workspace\.metadata\.plugins\com.ti.sapeditor +call %GPF%\util\sape\bin\4ntenv_gen.bat %GPF%\tools\bin\eclipse\workspace\.metadata\.plugins\com.ti.sapeditor\4ntenv.bat + +:end +endlocal