Rohit Prabhakar

I build agentic revenue systems for Fortune 50 companies

  • Digital Transformation
  • Leadership
  • Marketing
  • Writing
  • Home
  • Privacy Policy

How to run ant build file from eclipse (if no ANT option in RUN)

February 3, 2010 by Rohit Prabhakar 4 Comments

If you have some version of MyEclipse (Enterprise Workbench 6.6.0) which has no option to run a build file with ANT and you are confused on how to run the build in the eclipse, please follow the following steps:

  1. Go to the project
  2. Select build_XXX.xml
  3. Go to “Run As” icon and click “Open External Tools Dialog…”
  4. A new pop-up window for External Tools will appear with an option “Ant Build”
  5. Right click on “Ant Build” and click on option “New”
  6. A new ANT build task will be created and will look like the following
  7. Go to “Properties” tab and deselect option “Use global properties as specified in the Ant runtime preferences”
  8. Create a new file “[SomeName].properties” and write the required build properties into it.
  9. Click on “Add External…” and select the file created in step 8.
  10. The pop-up window will look like the following.
  11. Click on APPLY
  12. Click on RUN
  13. Check Console for any errors or Success message

Filed Under: Technology, The Frontier Tagged With: ant, build script, eclipse, how to build in eclipse, Java, run

Copyright © 2026 · Genesis Framework · WordPress · Log in