在build.xml文件中的javac处添加编码格式说明
<javac srcdir="${project.src}"
destdir="${project.output.build}"
debug="on" encoding="UTF-8"
deprecation="on"
listfiles="on"
includeAntRuntime="no">
<compilerarg value="-Xlint:all"/>
<classpath refid="project.classpath"/>
<classpath refid="tomcat.classpath"/>
</javac>
<java classpathref="project.classpath" classname="com.mose.ParserEnglish" fork="true" failonerror="true">
<sysproperty key="file.encoding" value="UTF-8"/>
<arg value="-h"/>
</java>
|
阅读(3402) | 评论(0) | 转发(0) |