flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Skylar Sutton (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-35287) MXMLC Ant Tasks do not support new "broker-local-connection" compiler flag
Date Mon, 20 Mar 2017 20:29:41 GMT
Skylar Sutton created FLEX-35287:

             Summary: MXMLC Ant Tasks do not support new "broker-local-connection" compiler
                 Key: FLEX-35287
                 URL: https://issues.apache.org/jira/browse/FLEX-35287
             Project: Apache Flex
          Issue Type: Bug
          Components: Ant Tasks
    Affects Versions: Apache Flex 4.16.0
            Reporter: Skylar Sutton

"broker-local-connection" was added to the MXML compiler in v4.16.0, and can be used when
calling mxmlc directly... ex: 

C:\tools\flex-sdk\apache_flex_4.16.0_air23_flash23\bin>mxmlc -help list

Apache Flex Compiler (mxmlc)
Version 4.16.0 build 20170305
Copyright 2017 The Apache Software Foundation.


Unfortunately, it appears it was not added to the Ant MXMLC Tasks (\ant\src\flex\ant): 

    public MxmlcTask()
        super("mxmlc", "flex2.tools.Mxmlc", "mxmlc.jar", new ConfigVariable[] {
            //Basic Booleans
            new ConfigBoolean(new OptionSpec("benchmark")),
            new ConfigBoolean(new OptionSpec("compiler", "accessible")),

Note the missing ConfigBooleans for "broker-local-connection" and "broker-product-manager".

To reproduce, create an ant build file with the following syntax:

<mxmlc file="..." output="...">

And note the following error:

[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37.019 s
[INFO] Finished at: 2017-03-20T16:14:45-04:00
[INFO] Final Memory: 34M/1265M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (compile)
on project cornerstone-web-client: An Ant BuildException has occured: The following error
occurred while executing this line:
[ERROR] \build.xml:42: The <mxmlc> type doesn't support the "broker-local-connection"
nested element.
[ERROR] around Ant part ...<ant antfile="/../../build.xml">... @ 4:124 in \target\antrun\build-main.xml
[ERROR] -> [Help 1]

This message was sent by Atlassian JIRA

View raw message