Tuesday, February 23, 2010

Ant scripts not running/debugging in Flex builder issue

There are few Ant scripts that I need to run in my Flex builder environment. I had Ant installed for sure, it was only the scripts in one of the projects which terminated without proper error messages. Found follow steps to be helpful:
1) Right click on the script -> debug as -> 2 Ant build ( Edit, Configure & Launch) dialog appears.
2) Go to the JRE tab and select the Runtime JRE as Run in the same JRE as the workspace.

The scripts worked then!