How Can I Use fdt.launch.Application for AIR Projects & FDT 5.5

449 Views Asked by At

i'm trying to run this on an AIR Mobile project..

<fdt.launch.application projectname="TestAndroid" mainclass="src/com/powerflasher/SampleApp/TestAndroid.as" debug="false" target="../bin/TestAndroid.swf" startswf="false" />

gives the following error.. fdt.launch.Application does not support AIR Projects.

is there an alternative to this?

1

There are 1 best solutions below

0
On

Yes and no.

Yes

FDT 5.5 offers a new 'fdt.invoke.launchConfiguration' task. To enable the execution of launch configurations in an ANT environment.

Watch a video here.

See documentation here.

No

You it's not exactly the same; however, you have all of the same options available (and more) via the 'fdt.invoke.launchConfiguration' task and launcher GUI combined. The only disadvantage is that this workflow is not as portable. The FDT team is considering offering more options to make it more portable.

[Update] Also see this thread for more info on alternatives on building module AIR applications.