1.[javac] :25:错误: 程序包com.sun.p_w_picpath.codec.jpeg不存在

解决方案:修改test-build.xml 在如下id="build.class.path">

dir="${lib.dir}">

name="**/*.jar"/>

dir="${jboss.dir}/modules">

name="**/*.jar"/>

中加入

dir="${java.dir}/jre/lib">

name="**/*.jar"/>

/home/f2c/sever/jdk1.7.0_25/jre/lib路径下的rt.jar拷贝到/home/f2c/hudson/jobs/if2c-zhenghe/workspace/WebContent/WEB-INF/lib路径下。


2.:62:warning: 'includeantruntime' was not set, defaulting tobuild.sysclasspath=last; set to false for repeatable builds

解决方案:修改test-build.xml在如下中

debug="on"srcdir="${src.dir}"destdir="${temp.dir.classes}"includes="**/*">

refid="build.class.path"/>

中加入

debug="on"srcdir="${src.dir}"destdir="${temp.dir.classes}"includeantruntime="on"includes="**/*">

refid="build.class.path"/>