My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/sh
# @version $Revision$ ($Author$) $Date$
#
SCRIPTS_DIR=`dirname "${0}"`/..
. "${SCRIPTS_DIR}/environment.sh"
if [ ! "$?" = "0" ]; then
echo Error calling environment.sh
exit 1
fi

export JAVA_HOME=/opt/IBM/WEME/runtimes/61/lnx-x86-midp20
export PATH=${JAVA_HOME}/bin/:${PATH}
export LD_LIBRARY_PATH=${JAVA_HOME}/bin:${LD_LIBRARY_PATH}

# igone j9 bugs *** glibc detected *** free(): invalid pointer:...
export MALLOC_CHECK_=0

JVM_ARGS="-jcl:midp20"
JVM_ARGS="${JVM_ARGS} -Xbootclasspath:${JAVA_HOME}/lib/jclMidp20/jclMidp20.jxe"
JVM_ARGS="${JVM_ARGS} -Dmicroedition.connection.pkgs=com.intel.bluetooth"
#JVM_ARGS="${JVM_ARGS} -Dbluecove.debug=1"

JCLMIDP20_EXT_DIR="${JAVA_HOME}/lib/jclMidp20/ext"
if [ ! -d "${JCLMIDP20_EXT_DIR}" ]; then
mkdir ${JCLMIDP20_EXT_DIR}
fi

cp ${BLUECOVE_JAR} "${JCLMIDP20_EXT_DIR}/bluecove.jar"
cp ${BLUECOVE_GPL_JAR} "${JCLMIDP20_EXT_DIR}/bluecove-gpl.jar"
cp ${BLUECOVE_GPL_PROJECT_HOME}/src/main/resources/*.so "${JAVA_HOME}/bin"


${JAVA_HOME}/bin/j9 ${JVM_ARGS} -cp ${BLUECOVE_TESTER_HOME}/target/bctest.jar javax.microedition.lcdui.AppManager ${BLUECOVE_TESTER_HOME}/target/bctest.jad
rc=$?
if [ ! "${rc}" = "0" ]; then
echo Error calling java
echo Prsess enter to exit
read
fi

Change log

r2756 by skarzhevskyy on Feb 15, 2009   Diff
run scripts on Ubuntu
Go to: 
Project members, sign in to write a code review

Older revisions

r2550 by skarzhevskyy on Dec 10, 2008   Diff
fixed scripts on Unix for dirs with
spaces
r2408 by skarzhevskyy on Oct 9, 2008   Diff
organize product to modules
r2162 by skarzhevskyy on May 2, 2008   Diff
mkdir if not exists
All revisions of this file

File info

Size: 1248 bytes, 39 lines

File properties

svn:eol-style
LF
svn:executable
*
svn:keywords
Date Author Id Revision
Powered by Google Project Hosting