Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse 3.7 runs auto build before executing ant task

Tags:

eclipse

adt

ant

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:

  1. It builds my project (it runs all builders from the builders list)
  2. 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?

like image 920
Dmitry Avatar asked Nov 16 '11 14:11

Dmitry


1 Answers

  1. Go to Run > External Tools > External Tool Configurations...
  2. Choose the Ant build configuration for your project.
  3. Click on the Build tab
  4. Uncheck the "Build before launch" box.
  5. Press "Apply" and "Close" buttons.
like image 157
checkman Avatar answered Oct 07 '22 17:10

checkman