<replaceregexp file="${basedir}/oa.ear/oaweb.war/WEB-INF/weblogic.xml" match="<!--" replace="" flags="g" byline="true" encoding="utf-8"/><!--删除注释 -->
<replaceregexp file="${basedir}/oa.ear/oaweb.war/WEB-INF/weblogic.xml" match="(.*)? -->" replace="" flags="g" byline="true" encoding="utf-8"/><!--删除注释 -->
<replaceregexp match="^[ |\t]*[\n|\r\n]+" replace="" flags="gm" byline="false" encoding="utf-8"><!-- 删除多余空行 -->