echo " jre leaf dir: \"$jreleaf\""
case "$jreleaf" in
jre) echo " found jre directory, good";;
+ java-*) echo " found java directory, good";;
jre1.*) echo " found versioned jre directory $jreleaf, ok";;
*) nojre "java binary not in jre dir ($jreleaf)";;
esac
set +e
$setup_only_simulate "$realjava" \
- -Dcom.tedpearson.ypp.market.controlpanel.exitstatus=12 \
+ -Dnet.chiark.yarrg.controlpanel.exitstatus=12 \
+ $JARRG_JAVA_OPTS \
-jar "$srcjardir/Jarrg-ControlPanel.jar"
rc=$?
set -e
#exec 4>&-
yppclass=com.threerings.yohoho.client.YoApp
- atclass=com.tedpearson.ypp.market.MarketUploader
+ atclass=net.chiark.yarrg.MarketUploader
+ # for testing atclass=net.chiark.yarrg.MarketUploader,Monkey
args=( "$@" )
nargs=${#args[*]}
set -e$JARRG_JWRAP_X -- \
-Djavax.accessibility.assistive_technologies=$atclass \
-Djava.ext.dirs="$JARRG_EXTDIR:$JARRG_JRE/lib/ext" \
+ $JARRG_JAVA_OPTS \
"$@"
fi
real="$JARRG_JRE/bin/java"
log "running $real $*"
- exec "$real" "$@"
+ exec "$real" $JARRG_JAVA_OPTS "$@"
END
chmod +x -- "$wrapper"