how to compile only changed source files using ANT

后端 未结 2 2092
伪装坚强ぢ
伪装坚强ぢ 2021-02-09 10:28

I am trying to write ant build for compiling source folder here is my script target for compiling.

 

        
2条回答
  •  面向向阳花
    2021-02-09 11:25

    So if you are not deleting the classes directory in any dependent task say 'clean' the javac task inherently compiles only the changed java files. It is an out of the box feature that javac task provides. Hope it helps.

提交回复
热议问题