FDT is giving the following error message when trying to run an ANT script:
BUILD FAILED: fdt.launch.Application supports only projects of type 'AIR All' or 'Web'
Why? My project is an "AIR Mobile" project. It should work, shouldn't it?
The ANT code is as simple as it gets:
<project name="Compile" default="compile" basedir="../">
<target name="compile">
<fdt.launch.application projectname="Project" mainclass="src/project/core/Main.as" target="bin/app.swf" />
</target>
</project>