- In Adobe Flash Builder 4 Beta, 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.
- If prompted, for "Update Site Mirrors", select "Automatically select mirrors". Click "OK".
- In the search results, expand "The Eclipse Project Updates", then expand "Eclipse 3.4.2″.
- Select "Eclipse Java Development Tools 3.4.2.r342..." 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.
My first error "Unable to access jarfile C:\ArcGIS\FlexAPI2\api\${env.FLEX4_HOME}\lib\compc.jar" was easily fixed by adding a new environment property FLEX4_HOME and setting it to C:\PROGRA~1\Adobe\FLASHB~1\sdks\4.0.0\
3 comments:
thank you for the post. Made adding ant easy.
Major thanks! This made it easy to get ANT and Flex PMD up and running.
Post a Comment