Why does ant compile all classes each run?

后端 未结 3 915
刺人心
刺人心 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:50

    Try modifying the opening tag of the javac task to include both a srcdir attribute and an includes attribute:

提交回复
热议问题