In the flexjs/js/bin/mxmlc script, I see that we are referencing the '
*/frameworks/js/FlexJS/src*' folder.

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"* "$@"

 But this folder does not come with the release build of FlexJS.  This is
causing the build using mxmlc to fail.

I was able to fix it by doing what asjsc does, i.e. adding '
*-external-library-path="$SCRIPT_HOME/../libs/js.swc"*'.  This seems to fix
the build issue with mxmlc.

So, is it okay to change the script to look like this?

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"
*-external-library-path="$SCRIPT_HOME/../libs/js.swc"
*"$@"

Thanks,
Om

Reply via email to