[
二是在javac中指定参数compiler="org.eclipse.jdt.core.JDTCompilerAdapter"。
如果项目中没有那样的泛型代码,不需要指定编译器。
property="echo.path.compile"
refid="project.classpath">
includeantruntime="false" nowarn="on"
source="1.6" target="1.6" deprecation="true" debug="true"
encoding="UTF-8" classpathref="project.classpath"
>
webxml="${webRoot.dir}/WEB-INF/web.xml">
之后,在ant eclipse 插件里面,运行ant脚本,还需要如下设置:
在build.xml上点右键 --- Run as --->
External Tools Configurations .然后点JRE.选中第一项,然后点击Run。
或者在eclipse ant插件界面,点lmx即项目名称,run as,也是一样。
之后再运行ant,就无需再这样设置。直接运行就可。
[${build.time}