equal
deleted
inserted
replaced
30 rem Loading runtime environment tools |
30 rem Loading runtime environment tools |
31 if exist "%HELIUM_HOME%\runtime\runtime_env.bat" ( |
31 if exist "%HELIUM_HOME%\runtime\runtime_env.bat" ( |
32 call %HELIUM_HOME%\runtime\runtime_env.bat |
32 call %HELIUM_HOME%\runtime\runtime_env.bat |
33 ) |
33 ) |
34 |
34 |
35 if not exist "%HELIUM_HOME%\extensions\nokia\distribution.policy.S60" ( |
35 if not exist "%HELIUM_HOME%\extensions\nokia\build.xml" ( |
36 set HLM_SUBCON=1 |
36 set HLM_SUBCON=1 |
37 set HLM_DISABLE_INTERNAL_DATA=1 |
37 set HLM_DISABLE_INTERNAL_DATA=1 |
38 ) |
38 ) |
39 |
39 |
40 |
40 |
50 set PID=1 |
50 set PID=1 |
51 perl "%HELIUM_HOME%\tools\common\bin\getppid.pl" > %TEMP%\%USERNAME%pid.txt |
51 perl "%HELIUM_HOME%\tools\common\bin\getppid.pl" > %TEMP%\%USERNAME%pid.txt |
52 set /p PID=< %TEMP%\%USERNAME%pid.txt |
52 set /p PID=< %TEMP%\%USERNAME%pid.txt |
53 |
53 |
54 REM Configure Apache Ant |
54 REM Configure Apache Ant |
55 set TESTED_ANT=C:\APPS\ant_1.7 |
55 if not defined TESTED_ANT ( |
|
56 set TESTED_ANT=C:\APPS\ant_1.7 |
|
57 ) |
56 if exist "%TESTED_ANT%" (set ANT_HOME=%TESTED_ANT%) |
58 if exist "%TESTED_ANT%" (set ANT_HOME=%TESTED_ANT%) |
57 if not exist "%ANT_HOME%" ( echo *** Ant cannot be found & goto :errorstop ) |
59 if not exist "%ANT_HOME%" ( echo *** Ant cannot be found & goto :errorstop ) |
58 if not defined ANT_OPTS ( |
60 if not defined ANT_OPTS ( |
59 set ANT_OPTS=-Xmx896M -Dlog4j.configuration=com/nokia/log4j.xml |
61 set ANT_OPTS=-Xmx896M -Dlog4j.configuration=com/nokia/log4j.xml |
60 ) |
62 ) |
115 call "C:\APPS\rvct%HLM_RVCT_VERSION%\rvctcmdprompt.bat" > nul |
117 call "C:\APPS\rvct%HLM_RVCT_VERSION%\rvctcmdprompt.bat" > nul |
116 ) |
118 ) |
117 TITLE Helium |
119 TITLE Helium |
118 |
120 |
119 if not exist "%HELIUM_HOME%\external\antlibs2\helium-checktools-1.0.jar" ( |
121 if not exist "%HELIUM_HOME%\external\antlibs2\helium-checktools-1.0.jar" ( |
120 echo *** Error: Please build helium from builder dir run "bld && bld get-deps -Dconfig=sf or nokia" |
122 echo *** Error: Please build helium from nokia_builder or builder dir run "bld && bld get-deps" |
121 goto errorstop |
123 goto errorstop |
122 ) |
124 ) |
123 |
125 |
124 call "%JAVA_HOME%\bin\java" -cp "%HELIUM_HOME%\external\antlibs2\helium-checktools-1.0.jar" com.nokia.helium.checktools.HeliumToolsCheckerMain -config "%HELIUM_HOME%\config\helium.basic.tools.config" |
126 call "%JAVA_HOME%\bin\java" -cp "%HELIUM_HOME%\external\antlibs2\helium-checktools-1.0.jar" com.nokia.helium.checktools.HeliumToolsCheckerMain -config "%HELIUM_HOME%\config\helium.basic.tools.config" |
|
127 if not defined HLM_DISABLE_TOOL_CHECK ( |
125 if "%ERRORLEVEL%" neq "0" (goto errorstop) |
128 if "%ERRORLEVEL%" neq "0" (goto errorstop) |
|
129 ) |
126 |
130 |
127 REM Call the Helium generated batch file if it exists |
131 REM Call the Helium generated batch file if it exists |
128 REM This must match with the cache.dir property in helium.ant.xml |
132 REM This must match with the cache.dir property in helium.ant.xml |
129 if defined JOB_ID ( |
133 if defined JOB_ID ( |
130 set HELIUM_CACHE_DIR=%TEMP%\helium\%USERNAME%\%JOB_ID% |
134 set HELIUM_CACHE_DIR=%TEMP%\helium\%USERNAME%\%JOB_ID% |