0

I want to have FDT loop through a list (or directory) of .AS files and output corresponding .SWFs.

I want to do this via Ant, instead of using FDT's launcher chain, and found the 'fdt.launch.application' Ant task in the documentation here. Can I use it to help me?

Alan Klement
  • 1,218
  • 7
  • 18

1 Answers1

0

Not directly, you can simulate loops with Ant by using the 'for' or 'foreach' Ant tasks. But you'll need to first install the tasks, which do not ship with Ant by default. See here for more info on getting those tasks.

You can then define the files and outputs to compile in a separate properties file - which perhaps you can also generate via Ant or just edit by hand. In the above link, the answer shows how to work with an external properties file.

When you do that you'll need to include the fdt <fdt.launch.application> compile task in your loop and use the variables you extract from the properties file.

Community
  • 1
  • 1
Alan Klement
  • 1,218
  • 7
  • 18