incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "christofer.dutz@c-ware.de" <christofer.d...@c-ware.de>
Subject AW: Compiler Arguments
Date Thu, 01 Nov 2012 17:33:53 GMT
Well it is used several times ...

-metadata.language=es_MX,es_ES,en_US
-metadata.language+=en_US

I've never touched that part of Flexmojos code and I just wanted to know what those lines
should be and what has changed before startig to implement anything.

Chris

-----Ursprüngliche Nachricht-----
Von: Alex Harui [mailto:aharui@adobe.com] 
Gesendet: Donnerstag, 1. November 2012 17:50
An: flex-dev@incubator.apache.org
Betreff: Re: Compiler Arguments

The compiler argument handling code is very complex.  It could certainly have changed in 4.6
and 4.8.  You can view the history in SVN.

It could be that you have to use -metadata.language several times with a single argument or
use a non-comma delimiter in your list.

-Alex


On 11/1/12 3:23 AM, "christofer.dutz@c-ware.de" <christofer.dutz@c-ware.de> wrote:

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 :)

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

<http://www.benchpark.com/788335/kundenzufriedenheit.htm>
  IT- und Systemhäuser <http://www.benchpark.com/it_und_systemhaeuser.htm>

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

UStId-Nr. DE195700962



--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui

Mime
View raw message