buildframework/helium/builder/bld
author lorewang
Wed, 10 Nov 2010 14:19:09 +0800
changeset 676 b5e6747818a9
parent 628 7c4a911dc066
permissions -rw-r--r--
add rofs image compare
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     1
#!/bin/bash
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     2
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     3
#
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     4
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     5
# All rights reserved.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     6
# This component and the accompanying materials are made available
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     7
# under the terms of the License "Eclipse Public License v1.0"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     8
# which accompanies this distribution, and is available
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     9
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    10
#
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    11
# Initial Contributors:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    12
# Nokia Corporation - initial contribution.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    13
#
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    14
# Contributors:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    15
#
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    16
# Description: 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    17
#
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    18
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    19
export LANG="en_US.UTF-8"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    20
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    21
if [ ! $EPOCROOT ]; then
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    22
    export EPOCROOT="/"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    23
fi 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    24
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    25
BUILDER_HOME=$(cd ${0%/*} && pwd -P)
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    26
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    27
export JYTHONPATH=$BUILDER_HOME/antlibs/jython-2.5-py2.5.egg
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    28
export USERNAME=$USER
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    29
export PATH=$PATH:.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    30
ant -lib $BUILDER_HOME/antlibs $*