On 4 July 2012 09:46, Dmitry Trunikov <dmitry.truni...@zoral.com.ua> wrote:
> > javac will only recompile classes that have changed. it does not do >> dependency analysis, so a breaking change will only cause a compile failure >> until you do clean >> >> > Thank you for clarification. > Is there any way (except explicit 'clean') to turn on dependency analysis > during compilation. > The project consists of tens of modules so approach with 'clean' is not > good enough because full re-biuld requires relative significant amount of > time. > > The way I do this is to use my IDE's dependency analysis to have my IDE do a "Make" (which rebuilds all the downstream changes)... then before I commit I will do a "mvn clean verify" to make sure that my changes are good > > Thanks for your help, > Dmitry >