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

…衆ロ難τιáo~ 提交于 2019-12-23 16:13:10

问题


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:


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.



来源:https://stackoverflow.com/questions/10707457/how-can-i-have-multiple-descriptor-files-for-one-air-target-in-fdt-5-5

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!