[ 
https://issues.apache.org/jira/browse/FLEX-35303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Tynjala updated FLEX-35303:
--------------------------------
    Description: 
flex-config.xml includes defaults for compiler.targets. compiler.targets is 
defined in org.apache.flex.compiler.clients.JSConfiguration. I suspect that 
bin/mxmlc and bin/compc use org.apache.flex.compiler.config.Configuration 
instead, since they're for SWFs.

I'm guessing that compiler.targets should probably be defined in Configuration 
instead of JSConfiguration.

This also affects the VSCode extension. For SWF projects in VSCode, I use 
Configuration for compiler options. I've (temporarily) switched to 
JSConfiguration instead because I was getting the same error. However, I'd 
prefer to continue using Configuration so that VSCode will display proper 
compiler errors someone tries to use JS-specific options (like source-map, for 
instance) with a SWF project.

  was:
flex-config.xml includes defaults for compiler.targets. compiler.targets is 
defined in org.apache.flex.compiler.clients.JSConfiguration. I suspect that 
bin/mxmlc and bin/compc use org.apache.flex.compiler.config.Configuration 
instead.

I'm guessing that compiler.targets should probably be defined in Configuration 
instead of JSConfiguration.

This also affects the VSCode extension. For SWF projects in VSCode, I use 
Configuration for compiler options. I've (temporarily) switched to 
JSConfiguration instead because I was getting the same error. However, I'd 
prefer to continue using Configuration so that VSCode will display proper 
compiler errors someone tries to use JS-specific options (like source-map, for 
instance) with a SWF project.


> Error: unknown configuration variable 'compiler.targets' when using bin/mxmlc 
> and bin/compc
> -------------------------------------------------------------------------------------------
>
>                 Key: FLEX-35303
>                 URL: https://issues.apache.org/jira/browse/FLEX-35303
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Falcon
>    Affects Versions: Apache FalconJX 0.8.0
>            Reporter: Josh Tynjala
>
> flex-config.xml includes defaults for compiler.targets. compiler.targets is 
> defined in org.apache.flex.compiler.clients.JSConfiguration. I suspect that 
> bin/mxmlc and bin/compc use org.apache.flex.compiler.config.Configuration 
> instead, since they're for SWFs.
> I'm guessing that compiler.targets should probably be defined in 
> Configuration instead of JSConfiguration.
> This also affects the VSCode extension. For SWF projects in VSCode, I use 
> Configuration for compiler options. I've (temporarily) switched to 
> JSConfiguration instead because I was getting the same error. However, I'd 
> prefer to continue using Configuration so that VSCode will display proper 
> compiler errors someone tries to use JS-specific options (like source-map, 
> for instance) with a SWF project.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to