summaryrefslogtreecommitdiff
path: root/packages/midpath/files
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2007-08-27 10:08:40 +0000
committerFlorian Boor <florian.boor@kernelconcepts.de>2007-08-27 10:08:40 +0000
commit7143b95dbfddaa91006b679d16f8e4e9907c4907 (patch)
tree805167b29ebc36ad88e530f1538bbecbc97e3c96 /packages/midpath/files
parent04f1fbc5efc6be1f54ca52efa708701a1ff76c60 (diff)
parentf12bac9343c3825c4106c61ac57f30c3f539616c (diff)
merge of '5281adaea9fd65292934a8ed7fa0e871e220ca7f'
and 'db972685a453721f344867c46d01ba28142c82bf'
Diffstat (limited to 'packages/midpath/files')
-rw-r--r--packages/midpath/files/.mtn2git_empty0
-rw-r--r--packages/midpath/files/shellscript.patch27
2 files changed, 27 insertions, 0 deletions
diff --git a/packages/midpath/files/.mtn2git_empty b/packages/midpath/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/midpath/files/.mtn2git_empty
diff --git a/packages/midpath/files/shellscript.patch b/packages/midpath/files/shellscript.patch
new file mode 100644
index 0000000000..17c39d0810
--- /dev/null
+++ b/packages/midpath/files/shellscript.patch
@@ -0,0 +1,27 @@
+Index: midpath-0.1/bin/midpath-test-cacao-cldc.sh
+===================================================================
+--- midpath-0.1.orig/bin/midpath-test-cacao-cldc.sh 2007-07-03 22:09:33.000000000 +0200
++++ midpath-0.1/bin/midpath-test-cacao-cldc.sh 2007-08-24 22:31:32.000000000 +0200
+@@ -3,19 +3,13 @@
+ # Adapt the next line to your environment
+ JAVA_CMD=cacao
+
+-if [ "$MIDPATH_HOME" = "" ]; then
+- MIDPATH_HOME=$(pwd)/..
+-fi
++MIDPATH_HOME=
+
+ # Set the classpath
+-BCP=$MIDPATH_HOME/dist/cldc1.1.jar:$MIDPATH_HOME/dist/midpath.jar:$MIDPATH_HOME/resources-embedded:$MIDPATH_HOME/dist/sdljava-cldc.jar:$MIDPATH_HOME/dist/escher-x11-cldc.jar:$MIDPATH_HOME/dist/kxml2-2.3.0.jar
++BCP=$MIDPATH_HOME/cldc1.1.jar:$MIDPATH_HOME/midpath.jar:$MIDPATH_HOME/resources-embedded:$MIDPATH_HOME/sdljava-cldc.jar:$MIDPATH_HOME/escher-x11-cldc.jar:$MIDPATH_HOME/kxml2-2.3.0.jar
+ # Add the MIDlet jar to the classpath (must be loaded by the main
+ # classloader yet)
+-BCP=$BCP:$MIDPATH_HOME/dist/midpath-tests.jar
+-
+-# Path of the native libraries
+-JLP=$MIDPATH_HOME/dist
+-export LD_LIBRARY_PATH=$JLP
++BCP=$BCP:$MIDPATH_HOME/midpath-tests.jar
+
+ CLASS=org.thenesis.midpath.main.StandardMIDletLauncher
+ # The classname of the MIDlet (we have to set it manually yet)