出现:warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
解决:
<javac srcdir="${src.dir}" destdir="${build.dir}" >
改为:
<javac srcdir="${src.dir}" destdir="${build.dir}" includeantruntime="on">