You figure this out? What’s the
command-line that you used? From: I’m
trying to use mxmlc to compile an app. I got the error in the subject, so
I reverted to the original flex-config file and still get the error. The
app compiles fine normally. Any ideas? More of the trace
below. flex.util.ChainedRuntimeException:
Error with configuration file or starting ser vices.
at flex.tools.CmdLineOptions.createToolServices(CmdLineOptions.java:441)
at flex.tools.CmdLineOptions.parseArguments(CmdLineOptions.java:139)
at flex.tools.CmdLineOptions.<init>(CmdLineOptions.java:118)
at flex.tools.CmdLineOptions.<init>(CmdLineOptions.java:106)
at flex.tools.Mxmlc.main(Mxmlc.java:63) Caused
by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid conten t
starting with element 'show-deprecation-warnings'. One of '{"http://www.macrom edia.com/2003/flex-config":show-binding-warnings,
"http://www.macromedia.com/200 3/flex-config":web-service-proxy-debug,
"http://www.macromedia.com/2003/flex-con fig":http-service-proxy-debug,
"http://www.macromedia.com/2003/flex-config":remo te-objects-debug,
"http://www.macromedia.com/2003/flex-config":show-stacktraces- in-browser,
"http://www.macromedia.com/2003/flex-config":create-compile-report, "http://www.macromedia.com/2003/flex-config":show-source-in-compiler-errors,
"ht tp://www.macromedia.com/2003/flex-config":log-compiler-errors}'
is expected.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at flex.config.ConfiguratorParser.parse(ConfiguratorParser.java:1459)
at flex.config.Configurator.init(Configurator.java:37)
at flex.core.ToolServiceImpl.setupConfigurator(ToolServiceImpl.java:33)
at flex.core.FlexService.start(FlexService.java:22)
at flex.tools.CmdLineOptions.createToolServices(CmdLineOptions.java:437)
... 4 more
|
Title: mxmlc: Error with configuration file... Invalid content starting with...