comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
1 @setlocal
2 @echo off
3
4 if x%GPF% == x goto noenv
5 rem Use absolute path.
6 set TOOLSDIR=%GPF%\tools
7
8 goto setparam
9
10 :noenv
11 rem Try relative path.
12 set TOOLSDIR=..\tools
13
14 :setparam
15 if x%_4ver% == x goto param_no4nt
16
17 cdd %TOOLSDIR%
18 set LIBDIR=%_CWD\lib
19 goto start
20
21 :param_no4nt
22 cd /d %TOOLSDIR%
23 set LIBDIR=%cd%\lib
24
25 :start
26
27 cd bin
28 call .\eclipse.bat %1 %2 %3 %4 %5 %6 %7 -vmargs "-Xbootclasspath/p:%LIBDIR%\java\xmlParserAPIs.jar;%LIBDIR%\java\xercesImpl.jar"
29
30 rem Generate batch file for call of command from 4nt+initvars.
31 if x%GPF% == x goto end
32 if x%_4ver% == x goto end
33 if not isdir %GPF%\tools\bin\eclipse\workspace\.metadata\.plugins\com.ti.sapeditor mkdir %GPF%\tools\bin\eclipse\workspace\.metadata\.plugins\com.ti.sapeditor
34 call %GPF%\util\sape\bin\4ntenv_gen.bat %GPF%\tools\bin\eclipse\workspace\.metadata\.plugins\com.ti.sapeditor\4ntenv.bat
35
36 :end
37 endlocal