Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"ant clean" doesn't clean my project in a way I can use

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?

like image 691
CQM Avatar asked Sep 18 '13 16:09

CQM


1 Answers

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.

like image 180
Konstantin Komissarchik Avatar answered Oct 21 '22 10:10

Konstantin Komissarchik