Repository: flex-asjs
Updated Branches:
  refs/heads/develop 7d46f726e -> 38e8e5b68


tune these script and batch files


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/38e8e5b6
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/38e8e5b6
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/38e8e5b6

Branch: refs/heads/develop
Commit: 38e8e5b68cbc77f7947ea71da02f43abf765881c
Parents: 7d46f72
Author: Alex Harui <[email protected]>
Authored: Sun Jun 14 00:18:44 2015 -0700
Committer: Alex Harui <[email protected]>
Committed: Sun Jun 14 00:18:44 2015 -0700

----------------------------------------------------------------------
 js/bin/jsc     | 4 ++--
 js/bin/jsc.bat | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/38e8e5b6/js/bin/jsc
----------------------------------------------------------------------
diff --git a/js/bin/jsc b/js/bin/jsc
index 025c0a1..af7a9c9 100755
--- a/js/bin/jsc
+++ b/js/bin/jsc
@@ -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" 
-external-library-path="$SCRIPT_HOME/../libs/JS.swc” "$@"
+java $VMARGS $D32 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" 
-Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" 
+flexlib="$FLEX_HOME/frameworks" 
-external-library-path="$SCRIPT_HOME/../libs/temp/externals/bin/JS.swc" "$@"

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/38e8e5b6/js/bin/jsc.bat
----------------------------------------------------------------------
diff --git a/js/bin/jsc.bat b/js/bin/jsc.bat
index 195e22c..05c0217 100644
--- a/js/bin/jsc.bat
+++ b/js/bin/jsc.bat
@@ -26,4 +26,4 @@ if "x%FALCON_HOME%"=="x"  (set FALCON_HOME=%~dp0..\..) else 
echo Using Falcon co
 
 if "x%FLEX_HOME%"=="x" (set FLEX_HOME=%~dp0..\..) else echo Using Flex SDK: 
%FLEX_HOME%
 
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m 
-Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar 
"%FALCON_HOME%\lib\mxmlc.jar" 
-external-library-path="$FALCON_HOME\libs\JS.swc” %*
\ No newline at end of file
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m 
-Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar 
“%SCRIPT_HOME%\..\lib\mxmlc.jar" 
-external-library-path="$SCRIPT_HOME\..\libs\temp\externals\bin\JS.swc” %*
\ No newline at end of file

Reply via email to