incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: AW: Compiler Arguments
Date Thu, 01 Nov 2012 18:39:21 GMT



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

> 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.
> 
I have never used metadata, so I don't really know, but it looks like it
should be a single string (whereas locale takes an array of strings).  So I
think the parser just gets fooled and thinks there is a comma separator
between arguments.  I saw a comment about having to guess when parsing about
the end of a list.

This also makes me wonder if the following line where you do += is going to
work either since this isn't a list.

You can try a simple app and compiling it from the command line with these
options and see what works and what doesn't.

Is there logic or a config that is causing the +=en_US?  It seems like it
would be better to concat them on one single string without duplicates and
without comma as the separator.  I don't know if quoting will work or not
but you can try that as well.

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


Mime
View raw message