Skip to main content
Known Participant
October 21, 2013
Question

MXMLC not supporting compiler.advanced-telemetry

  • October 21, 2013
  • 1 reply
  • 2355 views

The <mxmlc> type doesn't support the "compiler.advanced-telemetry" nested element.

Has anyone seen this error message before?

I'm using Flex 4.10.0 and AIR 3.9 compiling with ANT. I have two machines - one at work and one at home. One of them allows me to compile with this attribute and the other does not.

The paths to my Flex and AIR folders are set in my build.properties file that ANT uses, so I'm sure they're both pointing to the same libraries.

I've been poking around trying to figure out what the problem is, and I still don't have a clue.

perplexed,

Steve Warren

This topic has been closed for replies.

1 reply

Colin Holgate
Inspiring
October 21, 2013

Have you at any point attempted to enable the swf for testing with Scout?

Known Participant
October 21, 2013

Part of our build process is to delete the "bin-debug" folder before proceeding, then generating the swf, then the ipa. It's going to be tricky to change the script, but I may give it a try tomorrow. Something more pressing landed on me, but I'll continue with this problem tomorrow sometime.

Thanks for the suggestion.

Steve Warren

Senior Software Developer

www.speakaboos.com

idleBishop
Participant
November 23, 2015

Super late reply here, but I believe the issue is that the mxmlc flex task doesn't support the advanced-telemetry option, not that mxmlc doesn't support it. In unpacking the <AIR_SDK_PATH>ant\lib\flexTasks.jar, there's a MXMLCTask.class file with the following options (hacked into a readable list from decompiled java code):

private static final ConfigVariable[] CONFIG_VARIABLES = { new ConfigBoolean(new

  ("benchmark")), new ConfigBoolean(new

  ("compiler.accessible")), new ConfigBoolean(new

  ("compiler.debug")), new ConfigBoolean(new

  ("compiler.incremental")), new ConfigBoolean(new

  ("compiler.mobile")), new ConfigBoolean(new

  ("compiler.optimize")), new ConfigBoolean(new

  ("compiler.report-invalid-styles-as-warnings")), new ConfigBoolean(new

  ("compiler.report-missing-required-skin-parts-as-warnings")), new ConfigBoolean(new

  ("compiler.show-actionscript-warnings")), new ConfigBoolean(new

  ("compiler.show-binding-warnings")), new ConfigBoolean(new

  ("compiler.show-deprecation-warnings")), new ConfigBoolean(new

  ("compiler.show-invalid-css-property-warnings")), new ConfigBoolean(new

  ("compiler.show-unused-type-selector-warnings")), new ConfigBoolean(new

  ("compiler.strict")), new ConfigBoolean(new

  ("compiler.use-resource-bundle-metadata")), new ConfigBoolean(new

  ("remove-unused-rsls")), new ConfigBoolean(new

  ("use-network")), new ConfigBoolean(new

  ("warnings")), new ConfigBoolean(new

  ("compiler.allow-source-path-overlap")), new ConfigBoolean(new

  ("compiler.as3")), new ConfigBoolean(new

  ("compiler.doc")), new ConfigBoolean(new

  ("compiler.es")), new ConfigBoolean(new

  ("compiler.generate-abstract-syntax-tree")), new ConfigBoolean(new

  ("compiler.headless-server")), new ConfigBoolean(new

  ("compiler.isolate-styles")), new ConfigBoolean(new

  ("compiler.keep-all-type-selectors")), new ConfigBoolean(new

  ("compiler.keep-generated-actionscript", "keep")), new ConfigBoolean(new

  ("compiler.verbose-stacktraces")), new ConfigBoolean(new

  ("compiler.warn-array-tostring-changes")), new ConfigBoolean(new

  ("compiler.warn-assignment-within-conditional")), new ConfigBoolean(new

  ("compiler.warn-bad-array-cast")), new ConfigBoolean(new

  ("compiler.warn-bad-bool-assignment")), new ConfigBoolean(new

  ("compiler.warn-bad-date-cast")), new ConfigBoolean(new

  ("compiler.warn-bad-es3-type-method")), new ConfigBoolean(new

  ("compiler.warn-bad-es3-type-prop")), new ConfigBoolean(new

  ("compiler.warn-bad-nan-comparison")), new ConfigBoolean(new

  ("compiler.warn-bad-null-assignment")), new ConfigBoolean(new

  ("compiler.warn-bad-null-comparison")), new ConfigBoolean(new

  ("compiler.warn-bad-undefined-comparison")), new ConfigBoolean(new

  ("compiler.warn-boolean-constructor-with-no-args")), new ConfigBoolean(new

  ("compiler.warn-changes-in-resolve")), new ConfigBoolean(new

  ("compiler.warn-class-is-sealed")), new ConfigBoolean(new

  ("compiler.warn-const-not-initialized")), new ConfigBoolean(new

  ("compiler.warn-constructor-returns-value")), new ConfigBoolean(new

  ("compiler.warn-deprecated-event-handler-error")), new ConfigBoolean(new

  ("compiler.warn-deprecated-function-error")), new ConfigBoolean(new

  ("compiler.warn-deprecated-property-error")), new ConfigBoolean(new

  ("compiler.warn-duplicate-argument-names")), new ConfigBoolean(new

  ("compiler.warn-duplicate-variable-def")), new ConfigBoolean(new

  ("compiler.warn-for-var-in-changes")), new ConfigBoolean(new

  ("compiler.warn-import-hides-classes")), new ConfigBoolean(new

  ("compiler.warn-instance-of-changes")), new ConfigBoolean(new

  ("compiler.warn-internal-error")), new ConfigBoolean(new

  ("compiler.warn-level-not-supported")), new ConfigBoolean(new

  ("compiler.warn-missing-namespace-decl")), new ConfigBoolean(new

  ("compiler.warn-negative-uint-literal")), new ConfigBoolean(new

  ("compiler.warn-no-constructor")), new ConfigBoolean(new

  ("compiler.warn-no-explicit-super-call-in-constructor")), new ConfigBoolean(new

  ("compiler.warn-no-type-decl")), new ConfigBoolean(new

  ("compiler.warn-number-from-string-changes")), new ConfigBoolean(new

  ("compiler.warn-scoping-change-in-this")), new ConfigBoolean(new

  ("compiler.warn-slow-text-field-addition")), new ConfigBoolean(new

  ("compiler.warn-unlikely-function-value")), new ConfigBoolean(new

  ("compiler.warn-xml-class-has-changed")), new ConfigBoolean(new

  ("static-link-runtime-shared-libraries", "static-rsls")), new ConfigBoolean(new

  ("verify-digests")), new ConfigBoolean(new

  ("use-direct-blit")), new ConfigBoolean(new

  ("use-gpu")), new ConfigBoolean(new

  ("flex")), new ConfigBoolean(new

  ("inline")), new ConfigString(new

  ("compiler.actionscript-file-encoding")), new ConfigString(new

  ("compiler.context-root")), new ConfigString(new

  ("compiler.defaults-css-url")), new ConfigString(new

  ("compiler.locale")), new ConfigString(new

  ("compiler.mxml.compatibility-version")), new ConfigString(new

  ("compiler.services")), new ConfigString(new

  ("debug-password")), new ConfigString(new

  ("dump-config")), new ConfigString(new

  ("link-report")), new ConfigString(new

  ("load-externs")), new ConfigString(new

  ("output", "o")), new ConfigString(new

  ("raw-metadata")), new ConfigString(new

  ("resource-bundle-list")), new ConfigString(new

  ("size-report")), new ConfigString(new

  ("target-player")), new ConfigString(new

  ("tools-locale")), new ConfigAppendString(new

  ("configname")), new ConfigInt(new

  ("default-background-color")), new ConfigInt(new

  ("default-frame-rate")), new ConfigInt(new

  ("swf-version")) };

advanced-telemetry is notably missing.