Why does ant compile all classes each run?

后端 未结 3 939
刺人心
刺人心 2021-02-20 12:30

I\'m more accustomed to make, so I\'m confused why ant recompiles classes when the source hasn\'t been changed. I\'ve read that there is a requirement to recompile in some cases

3条回答
  •  情话喂你
    2021-02-20 12:56

    Your src & dest directories are not equivalent, so ant is not able to effectively stat the output files to compare them.

    This is an FAQ: http://ant.apache.org/faq.html#always-recompiles

提交回复
热议问题