Installing the Flex Ant tasks is a simple process. You copy a single JAR file from the Flex SDK ant directory to a target directory. For Adobe® Flex® Builder™, the Flex Ant directory is located at flex_builder_install/sdks/3.0.0/ant. For the SDK, the ant directory is located at sdk_install/ant.
Copy the flex_ant/lib/flexTasks.jar file to Ant's lib directory ({ant_root}/lib). If you do not copy this file to the lib directory, you must specify it by using Ant's -lib option on the command line when you make a project.
The Flex Ant directory also includes the source code for the Flex Ant tasks.