Building AIR with FDT

Sunday 27 January 2008  –  Filed under: Flash  –  4 Comments

It’s been a while, but I had some spare moments lately to testdrive both FDT and the latest beta of AIR.

The cool thing about FDT is that it enables you to develop, test and package AIR applications straight from the Eclipse IDE. This process is explained in detail on the Powerflasher site. However, the Ant build script provided there does not work with the latest version of the Flex 3 SDK.

AIR Build file for FDTI corrected the XML build file and tried to post the corrections on the Powerflasher site. Unfortunately, their CMS filters comments quite rigorously, so my corrections never actually appeared there.

So, if you are interested in developing AIR with FDT, first follow the instructions on the Powerflasher blog and then use this Build_AIR.xml file for testing and packaging your project. Enjoy!

Please make sure you double check he SDK path properties in the XML file and the certificate properties you wish to use. For instance, I work on a Mac, so, if you work on Windows, make sure you add .exe to the name of the Air debug launcher:

<property name="adl" value="${sdk_dir}/bin/adl" />

into:

<property name="adl" value="${sdk_dir}/bin/adl.exe" />

4 Responses

  1. Samuel Agesilas says:

    Martijn de Visser,

    You Rock!!! Thanks for posting this man. Massive! This post saved me some time setting up my new coding environment in FDT. Reespek!

    Cheers,
    Sam

  2. Deploying AIR in FDT - Inlet says:

    [...] eclipse omgeving. In de build.xml zit echter nog wel een fout. Op de blog van Martijn de Visser (http://www.martijndevisser.com/blog/2008/building-air-with-fdt) staat uitgelegd wat er verandert moet worden in de [...]

  3. FDT - AIR - ANT » Sonntagsfarben Blog says:

    [...] up to date and has an incorrect app-descriptor xml. the up to date problem was (almost) soved by Martijn de Visser. well that was not all to get it running. you can download the source of a working project here: [...]

  4. Creating AIR applications with FDT « Andkrup’s Blog says:

    [...] http://www.martijndevisser.com/blog/2008/building-air-with-fdt/ [...]

Leave a Reply