This closes #2. fix up js/bin/mxmlc
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/885de27f Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/885de27f Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/885de27f Branch: refs/heads/develop Commit: 885de27f4bcabc9e2fc52a8df7a7a703c2ba8fa1 Parents: 7e7fc26 Author: Alex Harui <[email protected]> Authored: Fri May 22 16:00:38 2015 -0700 Committer: Alex Harui <[email protected]> Committed: Fri May 22 16:04:12 2015 -0700 ---------------------------------------------------------------------- js/bin/mxmlc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/885de27f/js/bin/mxmlc ---------------------------------------------------------------------- diff --git a/js/bin/mxmlc b/js/bin/mxmlc index ca92abb..48aede6 100755 --- a/js/bin/mxmlc +++ b/js/bin/mxmlc @@ -25,9 +25,9 @@ # In Windows Command Prompt, use mxmlc.bat instead. # +SCRIPT_HOME=`dirname $0` if [ "x${FALCON_HOME}" = "x" ] then - SCRIPT_HOME=`dirname $0` FALCON_HOME=${SCRIPT_HOME}/../.. fi @@ -67,4 +67,4 @@ fi VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false " -java $VMARGS $D32 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME../lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=FLEXJS -sdk-js-lib="$FLEX_HOME/frameworks/js/FlexJS/src" "$@" +java $VMARGS $D32 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=FLEXJS -sdk-js-lib="$FLEX_HOME/frameworks/js/FlexJS/src" "$@"
