buildframework/helium/hlm-bootstrap.bat
author timothy.murphy@nokia.com
Wed, 18 Nov 2009 21:50:36 +0000
branchwip
changeset 8 34d87ffcc373
parent 1 be27ed110b50
permissions -rw-r--r--
Automatic SBS_HOME detection for util making and installer. It's a little more user-friendly for anyone who wants to build a linux install packager.

@echo off

rem
rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
rem All rights reserved.
rem This component and the accompanying materials are made available
rem under the terms of the License "Eclipse Public License v1.0"
rem which accompanies this distribution, and is available
rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
rem
rem Initial Contributors:
rem Nokia Corporation - initial contribution.
rem
rem Contributors:
rem
rem Description: 
rem

setlocal

REM Set the Helium location
REM Make sure the path is not ending with a backslash!
if not defined HELIUM_HOME (
	set HELIUM_HOME_TEMP=%~dp0
)
if not defined HELIUM_HOME (
	set HELIUM_HOME=%HELIUM_HOME_TEMP:~0,-1%
)

set ANT_ARGS=-lib "%HELIUM_HOME%\tools\common\java\lib" -lib "%HELIUM_HOME%\external\antlibs"

call "%HELIUM_HOME%\hlm.bat" -f "%HELIUM_HOME%\tools\startup\bootstrap\bootstrap.ant.xml" get-ivy %*
call "%HELIUM_HOME%\hlm.bat" -f "%HELIUM_HOME%\tools\startup\bootstrap\bootstrap.ant.xml" %*