buildframework/helium/builder/bld.bat
changeset 587 85df38eb4012
child 645 b8d81fa19e7d
equal deleted inserted replaced
217:0f5e3a7fb6af 587:85df38eb4012
       
     1 @echo off
       
     2 
       
     3 rem
       
     4 rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     5 rem All rights reserved.
       
     6 rem This component and the accompanying materials are made available
       
     7 rem under the terms of the License "Eclipse Public License v1.0"
       
     8 rem which accompanies this distribution, and is available
       
     9 rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
    10 rem
       
    11 rem Initial Contributors:
       
    12 rem Nokia Corporation - initial contribution.
       
    13 rem
       
    14 rem Contributors:
       
    15 rem
       
    16 rem Description: 
       
    17 rem
       
    18 
       
    19 setlocal
       
    20 if not defined JAVA_6_HOME (
       
    21 set TESTED_JAVA=C:\Apps\j2sdk_1.6.0_02
       
    22 ) ELSE  set TESTED_JAVA=%JAVA_6_HOME%
       
    23 if exist %TESTED_JAVA% (set JAVA_HOME=%TESTED_JAVA%)
       
    24 
       
    25 if not defined BUILDER_HOME (
       
    26     set BUILDER_HOME=%~dp0
       
    27 )
       
    28 
       
    29 set JYTHONPATH=%BUILDER_HOME%\antlibs\jython-2.5-py2.5.egg
       
    30 set PATH=%JAVA_HOME%\bin;%PATH%
       
    31 ant -lib %BUILDER_HOME%\antlibs %*
       
    32 if "%ERRORLEVEL%" neq "0" (goto error)
       
    33 endlocal
       
    34 goto :eof
       
    35 
       
    36 :error
       
    37 endlocal
       
    38 if "%OS%"=="Windows_NT" color 00