buildframework/helium/sf/java/legacy/tests/scenarii/build.bat
changeset 628 7c4a911dc066
equal deleted inserted replaced
588:c7c26511138f 628:7c4a911dc066
       
     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 call ant %*
       
    25 if "%ERRORLEVEL%" neq "0" (goto error)
       
    26 endlocal
       
    27 goto :eof
       
    28 
       
    29 :error
       
    30 endlocal
       
    31 if "%OS%"=="Windows_NT" color 00