http://ant.apache.org/manual/Tasks/fixcrlf.html
<fixcrlf srcdir="${src}" includes="**/*.sh"
eol="lf" eof="remove" />
Replaces EOLs with LF characters and removes eof characters from the shell scripts. Tabs and spaces are left as is.
ant 构建脚本中,把doc格式的文件转换成unix的,以便在linux系统中直接使用
猜你喜欢
转载自niub.iteye.com/blog/2095400
今日推荐
周排行