summaryrefslogtreecommitdiff
path: root/packages/midpath/files
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2007-08-24 22:45:55 +0000
committerPhilip Balister <philip@balister.org>2007-08-24 22:45:55 +0000
commitd3c806af5769e35b9b340aeacbe89a728902da28 (patch)
treeb7fd0f506f11179c27cf335df26296c96215a09d /packages/midpath/files
parentd260be2511026a0a8448bb5804eb33047765c9ce (diff)
parent4d5fd1296adb60831900e2c070527bea00513a9f (diff)
merge of '828c7ed803d3e94f12cb5a5e38678504e4690482'
and '8ed8bbac9b9eebe40941ad7b6102eea1ea5dc6f0'
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)