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?
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.