All pastes #24927 Raw Edit

christi

public text v1 · immutable
#24927 ·published 2005-10-08 13:07 UTC
rendered paste body
MIDlet-1: EventProcessing, EventProcessing.png, EventProcessing
MIDlet-Name: EventProcessing
MIDlet-Vendor: GIGI SRL
MIDlet-Version: 1.0
MicroEdition-Configuration: CLDC-1.0
MicroEdition-Profile: MIDP-1.0




# This batch file builds and preverifies the code for the demos.
# it then packages them in a JAR file appropriately.

echo Creating directories
echo \(This stage may produce already exist errors. Ignore them.\)

mkdir ../tmpclasses
mkdir ../classes

echo Compiling source files

javac -bootclasspath ../../../lib/midpapi.zip -d ../tmpclasses -classpath ../tmpclasses ../src/*.java

echo Preverifying class files

../../../bin/preverify -classpath ../../../lib/midpapi.zip:../tmpclasses -d ../classes ../tmpclasses

echo Jaring preverified class files
jar cmf MANIFEST.MF EventProcessing.jar -C ../classes .

echo Jaring resource files
jar umf MANIFEST.MF EventProcessing.jar -C ../res .

echo Don\'t forget to update the JAR file size in the JAD file