< prev index next >
modules/jdk.packager/src/test/examples/Ensemble/package.sh
Print this page
@@ -3,18 +3,19 @@
if [ -z ${JAVA_HOME} ]; then
echo "Error: set JAVA_HOME"
exit
fi
-VERSION=1.2
+PLATFORM=`bash ../whichplatform.sh`
+VERSION=1.0
MAC_APPSTORE_ARGS=""
# Argument parsing.
ARGS=()
for i in "$@"; do
if [[ "$i" == "--MacAppStore" ]]; then
- MAC_APPSTORE_ARGS="-BappVersion=${VERSION} -Bmac.CFBundleIdentifier=com.oratest.ensemble8 -Bmac.category=\"public.app-category.education\" -Bmac.CFBundleVersion=${VERSION}"
+ MAC_APPSTORE_ARGS="-BappVersion=${VERSION} -Bmac.CFBundleIdentifier=com.oratest.ensemble -Bmac.category=\"public.app-category.education\" -Bmac.CFBundleVersion=${VERSION}"
else
ARGS+=("\"$i\"")
fi
done
@@ -29,11 +30,10 @@
rm -rf output
mkdir output
# Generate ICNS file
-PLATFORM=`bash ../whichplatform.sh`
ICON="";
mkdir jars
ENSENBLE8FILE=../../../../../../apps/samples/Ensemble8/dist/Ensemble8.jar
@@ -53,14 +53,14 @@
# Generate app bundle
eval ${JAVAPACKAGER} $(IFS=$' '; echo "${ARGS[*]}") \
-deploy \
-v \
-outdir output \
- -name Ensemble \
+ -name EnsembleFX \
$ICON \
- -native image \
- -BsignBundle=false -Bversion=9.0 \
+ -native \
+ -Bversion=9.0 \
-Bmac.dmg.simple=true \
-srcdir jars \
-srcfiles Ensemble8.jar \
-Bclasspath=Ensemble8.jar \
-BmainJar=Ensemble8.jar \
< prev index next >