6

After I run ant clean , my project still needs to be "cleaned" in Eclipse, before I can run ant release successfully.

If I try to run ant release immediately after ant clean it will fail in the -compile component of the predefined build script

on the contrary, if I run the Eclipse version of cleaning all the projects, then I run ant release the -compile component will not fail.

Why is this? Why is ant clean a less adequate cleaning than the one Eclipse does? What can I do to fix this?

CQM
  • 42,592
  • 75
  • 224
  • 366

1 Answers1

3

There is no generic answer to this question. You will need to look at the implementation of the clean target in your ant script and figure out what it is doing wrong or not doing.

Konstantin Komissarchik
  • 28,879
  • 6
  • 61
  • 61