Hi,
Can anybody tell me whether I can dynamically incorporate Flash Builder compiler configuration values into my application XML for an Android / iOS compile?
EG: If I set compiler directives like this:
-locale en_US -source-path locale/{locale}
-define CONFIG::APP_ID_EXTEND '.dev'
Can I get my application XML to append .dev to the application ID like this:
<!-- A universally unique application identifier. Must be unique across | ||
all AIR applications. Using a reverse DNS-style name as the id is recommended. | ||
(Eg. com.example.ExampleApplication.) Required. --> | ||
<id>COM.MYCOMPANY.WONDERFULAPPLICATION{CONFIG::APP_ID_EXTEND}</id> |
So that my application is packaged using COM.MYCOMPANY.WONDERFULAPPLICATION.dev as its application ID?
I know this sounds a bit convoluted, but I am looking for a trouble-free way to allow me to generate internal and external variations on a single, standard application. It is a doddle to use the config variables to relocate servers etc, but I am still having to hand-code changes to swap application ids and trying to run duplicate application XMLs with duplicate applications appears to trigger an issue with stylesheet validation (I literally get pages of warnings, despite the code remaining valid).
G