Eclipse 3.7 runs auto build before executing ant task

My Project -> Builders list looks like this:

  • Ant
  • Android resource manager
  • Android pre compiler
  • Java builder
  • Android Package manager
  • "Build Automatically" option is turned off

    If I run ant target from Ant view or as external tool then Eclipse makes this:

  • It builds my project (it runs all builders from the builders list)
  • Executes selected target
  • If I remove Ant from builders list it executes only selected ant target (that's what I want).

    How can I make Eclipse launch only selected ant target without running other builders and without removing ant builder from the builders list?


  • Go to Run > External Tools > External Tool Configurations...
  • Choose the Ant build configuration for your project.
  • Click on the Build tab
  • Uncheck the "Build before launch" box.
  • Press "Apply" and "Close" buttons.

  • You can turn off "build before launch"

    You have turned rebuild off for resource modification but I believe you have

    not turned off "Build before launch"

    Window>Preferences>Run/Debug>Build (if required) before launching

    链接地址: http://www.djcxy.com/p/44404.html

    上一篇: 如何执行一个涉及很多项目的大型ant脚本的重构?

    下一篇: Eclipse 3.7在执行ant任务之前运行自动构建