#!/bin/sh ################################################################################ ## ## ADOBE SYSTEMS INCORPORATED ## Copyright 2007 Adobe Systems Incorporated ## All Rights Reserved. ## ## NOTICE: Adobe permits you to use, modify, and distribute this file ## in accordance with the terms of the license agreement accompanying it. ## ################################################################################ # # mxmlc launch script for unix. On windows, mxmlc.exe is used and # java settings are managed in jvm.config in this directory. # FLEX_HOME="/usr/local/lib/flex" VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false" function compile { java $VMARGS $SETUP_SH_VMARGS -jar "$FLEX_HOME/lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" "$@" } if test $# -ne 1 then for i in $* do compile "$i" done else compile "$1" fi