- In Flex Builder, go to Help -> Software Updates -> Find and Install...
- Select "Search for new features to install" and click Next.
- Pick "The Eclipse Project Updates" and click Finish.
- In the search results, expand "The Eclipse Project Updates", then expand "Eclipse 3.4.1″.
- Select "Eclipse Java Development Tools 3.4.1.r341..." and click "Next".
- Accept the license agreement and click "Next".
- Click "Finish".
- Wait for download...
- When prompted for feature verification, select "Install All".
- Restart Flex Builder as suggested.
You will now have Ant support installed. All build.xml file will have a little ant icon and if you right-click the file and select "Run as", you will see two Ant options:
- Ant Build - which also has a keyboard short-cut, but does anyone actually remembers shortcuts like Alt+shift+X,Q ?
- Ant Build... - which allows you to specify which targets to execute.
Side note: Make sure your Flex workspace don't contain space and Ant everything should work just fine.