587
|
1 |
#!/bin/bash
|
|
2 |
|
|
3 |
#
|
|
4 |
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
5 |
# All rights reserved.
|
|
6 |
# This component and the accompanying materials are made available
|
|
7 |
# under the terms of the License "Eclipse Public License v1.0"
|
|
8 |
# which accompanies this distribution, and is available
|
|
9 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
10 |
#
|
|
11 |
# Initial Contributors:
|
|
12 |
# Nokia Corporation - initial contribution.
|
|
13 |
#
|
|
14 |
# Contributors:
|
|
15 |
#
|
|
16 |
# Description:
|
|
17 |
#
|
|
18 |
|
|
19 |
# loading the system wide settings from ~/.bashrc
|
|
20 |
if [ -f ~/.bashrc ] ; then
|
|
21 |
. ~/.bashrc
|
|
22 |
fi
|
|
23 |
MODULE_VERSION="$(module --version 2>&1)"
|
|
24 |
if [ "$?" == "0" ] ; then
|
|
25 |
module load "java/1.6.0"
|
|
26 |
module load "tww/ant/1.7.0"
|
|
27 |
module load tww/python/2.6.4
|
|
28 |
fi
|
|
29 |
|
|
30 |
export LANG="en_US.UTF-8"
|
|
31 |
|
|
32 |
CWD=`pwd`
|
|
33 |
|
|
34 |
cd $CWD
|
|
35 |
|
|
36 |
export USERNAME=$USER
|
|
37 |
export PATH=$PATH:.
|
|
38 |
java -cp "./../../bin/helium-checktools.jar" com.nokia.helium.checktools.HeliumToolsCheckerMain -config "./tests/config/helium.basic.tools.config"
|
|
39 |
|
|
40 |
if [ "$?" == "-1" ] ; then
|
|
41 |
echo *** Build aborted with error
|
|
42 |
fi
|
|
43 |
|