"ant clean" does not clean my project the way I can use

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

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

on the contrary, if I launched the Eclipse version of cleaning up all projects, then I ran the ant release component -compile will not work.

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

+6
source share
1 answer

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

+3
source

Source: https://habr.com/ru/post/954085/


All Articles