How Can I Have Multiple Descriptor Files For One AIR Target In FDT 5.5?

291 Views Asked by At

In FDT 5.5, the launch configuration for Desktop AIR applications was removed and with it the option to simultaneously have one target (e.g. Desktop) deploy & test with various description.xmls.

Now I have to change it by hand in the 'Building' tab within the Project Properties every time I want a different description.xml for one target.

I also want to use FDT's GUI and not use ANT.

1

There are 1 best solutions below

0
On

Using FDT's GUI, each AIR target (iOS, Android, Desktop, Blackberry) can only be linked to it's own description.xml per project. So, conceivably, a project can only have 4 unique descriptor files active at once.

If you wish to have multiple description.xml files per target (e.g. 4 unique description.xml files only for Android), and not use ANT at all, then the best thing to do is to create separate projects per target 'flavor' and have each project inherit from a base project. Then use the launcher chain to have all the configurations go off at once (if using the ADL).

For deploying, since you have to go through the project properties anyway to redeploy an application (for release), you might as well just change the description.xml on your way to exporting the application.

Using Project References Using Launcher Chain