aboutsummaryrefslogtreecommitdiffstats
path: root/devel/flex-sdk35/files/amxmlc.sh.in
blob: c1e14d392ec880d3c0820351e3c00f8442de1540 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh

[ -z "${PREFIX}" ]     && PREFIX="%%PREFIX%%"
[ -z "${JAVAJARDIR}" ] && JAVAJARDIR="%%JAVAJARDIR%%/%%PORTNAME%%"
[ -z "${DATADIR}" ]    && DATADIR="%%DATADIR%%"

VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false"

java $VMARGS -jar "$JAVAJARDIR/mxmlc.jar" +flexlib="$DATADIR/frameworks" +configname=air $*