<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >
...
Ant スクリプトを使用して、すべての Doctype を削除したい
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >
私は以下を使用してのみ削除に成功しました<!DOCTYPE
:
<
replaceregexp >
<regexp pattern="<DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >"/>
<substitution expression=""/>
<fileset file="${subproject.build.pre-dist.dir}/WEB-INF/struts-config.xml">
</fileset>
</replaceregexp>
全部消すにはどうしたらいいですか?