diff options
author | Robert Schuster <thebohemian@gmx.net> | 2008-06-27 01:01:29 +0000 |
---|---|---|
committer | Robert Schuster <thebohemian@gmx.net> | 2008-06-27 01:01:29 +0000 |
commit | ff39b335b0bd4eea36282479718035ccca72f9d4 (patch) | |
tree | 4ca39c7600af79d32484cc192afd13f305210bef /packages/midpath/files/midpath-launcher-j2se | |
parent | 112f0a4352b46a805c466ffebd664cfc9f64872d (diff) |
Removal of midpath 0.1, addition of midpath 0.3 rc1
midpath-alsa 0.1: Removed.
midpath-cldc-native 0.1: Removed.
midpath-cldc-sdl 0.1: Removed.
midpath-cldc-x11 0.1: Removed.
midpath-cldc 0.1: Removed.
midpath-gtk 0.1: Removed.
midpath-pulseaudio 0.1: Removed.
midpath-qt3x11 0.1: Removed.
midpath-qte 0.1: Removed.
midpath-test 0.1: Removed.
midpath 0.1: Removed.
midpath-backend-alsa 0.2+0.3rc1: New recipe.
midpath-backend-escher 0.2+0.3rc1: New recipe.
midpath-backend-esd 0.2+0.3rc1: New recipe.
midpath-backend-fb 0.2+0.3rc1: New recipe.
midpath-backend-gtk 0.2+0.3rc1: New recipe.
midpath-backend-gtk-hildon 0.2+0.3rc1: New recipe.
midpath-backend-pulseaudio 0.2+0.3rc1: New recipe.
midpath-backend-qt3x11 0.2+0.3rc1: New recipe.
midpath-backend-qt4x11 0.2+0.3rc1: New recipe.
midpath-backend-qte 0.2+0.3rc1: New recipe.
midpath-backend-sdl 0.2+0.3rc1: New recipe.
midpath-cldc 0.2+0.3rc1: New recipe.
midpath-core 0.2+0.3rc1: New recipe.
midpath-demos 0.2+0.3rc1: New recipe.
midpath-jgl 0.2+0.3rc1: New recipe.
midpath-location 0.2+0.3rc1: New recipe.
midpath-m3g 0.2+0.3rc1: New recipe.
midpath-maemo 0.2+0.3rc1: New recipe.
midpath-messaging 0.2+0.3rc1: New recipe.
midpath-opengles 0.2+0.3rc1: New recipe.
midpath-openmoko 0.2+0.3rc1: New recipe.
midpath-svg 0.2+0.3rc1: New recipe.
midpath-webservices 0.2+0.3rc1: New recipe.
Diffstat (limited to 'packages/midpath/files/midpath-launcher-j2se')
-rw-r--r-- | packages/midpath/files/midpath-launcher-j2se | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/packages/midpath/files/midpath-launcher-j2se b/packages/midpath/files/midpath-launcher-j2se new file mode 100644 index 0000000000..0b1c421e2d --- /dev/null +++ b/packages/midpath/files/midpath-launcher-j2se @@ -0,0 +1,48 @@ +#!/bin/sh + +if [ ! $LAUNCHER_CLASS ]; then + LAUNCHER_CLASS=org.thenesis.midpath.main.MIDletLauncher +fi + +JAVA=java + +JAR_HOME=/usr/share/java + +MIDPATH_HOME=/usr/share/midpath + +JLP=/usr/lib/jni + +# Set the classpath +CP=\ +$MIDPATH_HOME/configuration:\ +$MIDPATH_HOME/midpath.jar:\ +$MIDPATH_HOME/microbackend.jar:\ +$MIDPATH_HOME/sdljava-cldc.jar:\ +$MIDPATH_HOME/escher-cldc.jar:\ +$MIDPATH_HOME/jlayerme-cldc.jar:\ +$MIDPATH_HOME/jorbis-cldc.jar:\ +$MIDPATH_HOME/avetanabt-cldc.jar:\ +$MIDPATH_HOME/jgl-cldc.jar:\ +$MIDPATH_HOME/jsr239-opengles-jgl.jar:\ +$MIDPATH_HOME/jsr239-opengles-core.jar:\ +$MIDPATH_HOME/jsr239-opengles-nio.jar:\ +$MIDPATH_HOME/jsr184-m3g.jar:\ +$MIDPATH_HOME/jsr205-messaging.jar:\ +$MIDPATH_HOME/jsr179-location.jar:\ +$MIDPATH_HOME/jsr226-svg-core.jar:\ +$MIDPATH_HOME/jsr226-svg-midp2.jar:\ +$JAR_HOME/kxml2.jar:\ +$JAR_HOME/xmlpull.jar:\ +$JAR_HOME/swt.jar + +# Add whatever is mentioned in the CLASSPATH environment variable +if [ $CLASSPATH ] +then + CP=$CP:$CLASSPATH +fi + +# Add the MIDlet jar to the classpath (must be loaded by the main classloader) +CP=$CP:$MIDPATH_HOME/repository/midpath-demos.jar + +$JAVA -cp $CP -Djava.library.path=$JLP $LAUNCHER_CLASS "$@" + |