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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With