Hi Frederic,

Hmm ... I think I have to have a look how I can activate those 
verbose-stacktraces in Flexmojos ;-) ... 
But I think the error message is clear:
Flexmojos is generating the following resource chain
-metadata.language=es_MX,es_ES,en_US 
And the flex compiler is telling me that I'm providing too many arguments.
I just wanted to know if my configuration is valid and if not, if it has 
changed from 4.5.1 to 4.6.0 and if it has, why.

Chris

I'll check for the detailled stacktraces though ... unfortunately ony every 5th 
build fails ... I hate non-deterministic things ;-)



[ C h r i s t o f e r  D u t z ]

C-Ware IT-Service
Inhaber
Dipl. Inf. Christofer Dutz
Karlstraße. 104, 64285 Darmstadt


   IT- und Systemhäuser

fon:  0 61 51 / 27315 - 61
fax:  0 61 51 / 27315 - 64
mobil:  0171 / 7 444 2 33
email:  christofer.d...@c-ware.de
http://www.c-ware.de

UStId-Nr. DE195700962

-----Ursprüngliche Nachricht-----
Von: Frédéric THOMAS [mailto:webdoubl...@hotmail.com] 
Gesendet: Donnerstag, 1. November 2012 16:56
An: flex-dev@incubator.apache.org
Betreff: Re: Compiler Arguments

Not sure to be able to help but what the -verbose-stacktraces flag of the mxmlc 
says ?

From: christofer.d...@c-ware.de 
Sent: Thursday, November 01, 2012 11:23 AM
To: flex-dev@incubator.apache.org 
Subject: Compiler Arguments

Hi,

 

I finally had the time to continue my work on the mavenized Flex sdks and 
Flexmojos. After my last changes the Testsuites seem tob e running nicely for 
FDKs 4.6 and 4.8

Unfortunately there seems to have been some changes as since 4.6 I am having 
random failures when using locale-chains. Perhaps I need to update Flexmojos to 
output configuration options differently. I would be glad, if you had any ideas 
about why this might be failling. With this issue resolved, I think I could 
call Flexmojos 6 and my Mavenized FDKs finished pretty soon J

 

Here comes the dump:

[DEBUG] Compilation arguments:

-includes=AnnotatedTest 

-includes+=main 

-includes+=net.flexmojos.oss.l10n.Resource 

-load-config= 

-output=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\projects\issues\flexmojos-395_testFlexUnit4Example\target\test-classes\TestRunner.swf
 

-compiler.debug=true 

-compiler.locale=es_MX,es_ES,en_US 

-compiler.locale+=en_US 

-compiler.source-path=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\projects\issues\flexmojos-395_testFlexUnit4Example\src\test\flex
 

-compiler.source-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\projects\issues\flexmojos-395_testFlexUnit4Example\src\main\flex
 

-compiler.source-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\projects\issues\flexmojos-395_testFlexUnit4Example\src\main\locales\{locale}
 

-compiler.theme=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\projects\issues\flexmojos-395_testFlexUnit4Example\target\classes\spark.css
 

-compiler.fonts.local-fonts-snapshot=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\projects\issues\flexmojos-395_testFlexUnit4Example\target\classes\fonts.ser
 

-compiler.external-library-path=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flash\framework\playerglobal\11.1\null\null\null\playerglobal.swc
 

-compiler.library-path=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\advancedgrids\4.6.0.23201\advancedgrids-4.6.0.23201.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\authoringsupport\4.6.0.23201\authoringsupport-4.6.0.23201.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\charts\4.6.0.23201\charts-4.6.0.23201.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\core\4.6.0.23201\core-4.6.0.23201.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\flash-integration\4.6.0.23201\flash-integration-4.6.0.23201.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\framework\4.6.0.23201\framework-4.6.0.23201.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\mx\4.6.0.23201\mx-4.6.0.23201.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\osmf\4.6.0.23201\osmf-4.6.0.23201.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\rpc\4.6.0.23201\rpc-4.6.0.23201.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\spark\4.6.0.23201\spark-4.6.0.23201.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\sparkskins\4.6.0.23201\sparkskins-4.6.0.23201.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\spark_dmv\4.6.0.23201\spark_dmv-4.6.0.23201.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\textLayout\4.6.0.23201\textLayout-4.6.0.23201.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\advancedgrids\4.6.0.23201\advancedgrids-4.6.0.23201-en_US.rb.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\charts\4.6.0.23201\charts-4.6.0.23201-en_US.rb.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\flash-integration\4.6.0.23201\flash-integration-4.6.0.23201-en_US.rb.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\framework\4.6.0.23201\framework-4.6.0.23201-en_US.rb.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\mx\4.6.0.23201\mx-4.6.0.23201-en_US.rb.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\osmf\4.6.0.23201\osmf-4.6.0.23201-en_US.rb.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\rpc\4.6.0.23201\rpc-4.6.0.23201-en_US.rb.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\spark\4.6.0.23201\spark-4.6.0.23201-en_US.rb.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\textLayout\4.6.0.23201\textLayout-4.6.0.23201-en_US.rb.swc
 

-compiler.library-path+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flash\framework\playerglobal\11.1\playerglobal-11.1-en_US.rb.swc
 

-compiler.headless-server=false 

-compiler.include-libraries=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\net\flexmojos\oss\flexmojos-test-coverage\6.0-SNAPSHOT\flexmojos-test-coverage-6.0-SNAPSHOT.swc
 

-compiler.include-libraries+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\net\flexmojos\oss\flexmojos-unittest-support\6.0-SNAPSHOT\flexmojos-unittest-support-6.0-SNAPSHOT-flex.swc
 

-compiler.include-libraries+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\net\flexmojos\oss\flexmojos-unittest-flexunit4\6.0-SNAPSHOT\flexmojos-unittest-flexunit4-6.0-SNAPSHOT.swc
 

-compiler.include-libraries+=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\org\flexunit\flexunit\4.1.0\flexunit-4.1.0-flex4.swc
 

-compiler.namespaces.namespace http://ns.adobe.com/mxml/2009 
C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\framework\4.6.0.23201\configs_zip\mxml-2009-manifest.xml
 

-compiler.namespaces.namespace library://ns.adobe.com/flex/spark 
C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\framework\4.6.0.23201\configs_zip\spark-manifest.xml
 

-compiler.namespaces.namespace library://ns.adobe.com/flex/mx 
C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\framework\4.6.0.23201\configs_zip\mx-manifest.xml
 

-compiler.namespaces.namespace http://www.adobe.com/2006/mxml 
C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\local-repository\com\adobe\flex\framework\framework\4.6.0.23201\configs_zip\mxml-manifest.xml
 

-compiler.optimize=false 

-dump-config=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\projects\issues\flexmojos-395_testFlexUnit4Example\target\test-classes\TestRunner-configs.xml
 

-link-report=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\projects\issues\flexmojos-395_testFlexUnit4Example\target\test-classes\TestRunner-link-report.xml
 

-size-report=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\projects\issues\flexmojos-395_testFlexUnit4Example\target\test-classes\TestRunner-size-report.xml
 

-resource-bundle-list=C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\projects\issues\flexmojos-395_testFlexUnit4Example\target\flexunit4-1.0-SNAPSHOT-rb.properties
 

-swf-version=14 

-tools-locale=en_US 

-metadata.language=es_MX,es_ES,en_US 

-metadata.language+=en_US 

-metadata.date=11/1/12 11:15 AM 

-metadata.title=flexunit4 
C:\Projects\Flexmojos\Flexmojos-6.x\trunk\flexmojos-testing\flexmojos-test-harness\target\projects\issues\flexmojos-395_testFlexUnit4Example\target\test-classes\TestRunner.mxml
 

[INFO] Adobe Flex Compiler (mxmlc)

Version 4.6.0 build 23201

Copyright (c) 2004-2011 Adobe Systems, Inc. All rights reserved.

 

[ERROR] command line:[-1,-1] configuration variable 'metadata.language' 
expected 1 argument(s), got 3

Use 'mxmlc -help' for information about using the command line.

 

 

What’s wrong wiith that? The strange thing is that the test executed seems to 
pass every time if I run it with any Flex FDK before 4.6. When failling the 
message using 4.8 is identical …

 

Help greatly appreciated,

     Chris

 

 

 

[ C h r i s t o f e r  D u t z ]

 

C-Ware IT-Service

Inhaber

Dipl. Inf. Christofer Dutz

Karlstraße. 104, 64285 Darmstadt

 



   IT- und Systemhäuser

 

fon:  0 61 51 / 27315 - 61

fax:  0 61 51 / 27315 - 64

mobil:  0171 / 7 444 2 33

email:  christofer.d...@c-ware.de

http://www.c-ware.de

 

UStId-Nr. DE195700962

 

Reply via email to