Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-35303

Error: unknown configuration variable 'compiler.targets' when using bin/mxmlc and bin/compc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Apache FalconJX 0.8.0
    • None
    • Falcon
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            joshtynjala Josh Tynjala
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: