Repository: flex-asjs Updated Branches: refs/heads/develop 49e2dab36 -> bed1cd5eb
On windows, variables need to be set within "". This fixes the "\sdks\FlexJS_0.0.3\js\bin\..\..) was unexpected at this time." error Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/bed1cd5e Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/bed1cd5e Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/bed1cd5e Branch: refs/heads/develop Commit: bed1cd5eb0f3a6ce7f576928d12a463bba6cbe8c Parents: 49e2dab Author: OmPrakash Muppirala <[email protected]> Authored: Tue Jun 16 15:16:58 2015 -0700 Committer: OmPrakash Muppirala <[email protected]> Committed: Tue Jun 16 15:17:18 2015 -0700 ---------------------------------------------------------------------- js/bin/mxmlc.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bed1cd5e/js/bin/mxmlc.bat ---------------------------------------------------------------------- diff --git a/js/bin/mxmlc.bat b/js/bin/mxmlc.bat index 5f3cb22..cfa4a9e 100644 --- a/js/bin/mxmlc.bat +++ b/js/bin/mxmlc.bat @@ -22,8 +22,8 @@ rem mxmlc.bat script to launch falcon-mxmlc.jar in Windows Command Prompt. rem On OSX, Unix, or Cygwin, use the mxmlc shell script instead. rem -if "x%FALCON_HOME%"=="x" (set FALCON_HOME=%~dp0..\..) else echo Using Falcon codebase: %FALCON_HOME% +if "x%FALCON_HOME%"=="x" (set "FALCON_HOME=%~dp0..\..") else echo Using Falcon codebase: %FALCON_HOME% -if "x%FLEX_HOME%"=="x" (set FLEX_HOME=%~dp0..\..) else echo Using Flex SDK: %FLEX_HOME% +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%\js\lib\mxmlc.jar" -js-output-type=FLEXJS -sdk-js-lib="%FLEX_HOME%\frameworks\js\FlexJS\src" %* \ No newline at end of file
