I'm setting up FlexJS on IntelliJ according to excellent detailed 
instructions at

http://nextgenactionscript.com/tutorials/intellij-idea-apache-flexjs-transpile-actionscript-setup/

On Run Debug, I'm getting the error:

Error:[HelloIDEA]: command line: unknown configuration variable 
'js-output-type'

Scanning the Web suggests that I need to fix the bat file in 
js/bin/mxmlc.bat. However, the suggested changes already appear to be made. 
What am I missing?

---current mxmlc.bat file

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%

"C:\ProgramData\Oracle\Java\javapath\java.exe" -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" 
%*

Thanks,

Lane. 


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Reply via email to