Only apply filtering to the files that need it else non-text files will get corrupted.
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 14 Dec 2009 10:00:23 +0000 (10:00 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 14 Dec 2009 10:00:23 +0000 (10:00 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@890256 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index 96d644a..b8f7b9c 100644 (file)
--- a/build.xml
+++ b/build.xml
 
     <!-- Copy other regular webapps -->
     <copy todir="${tomcat.build}/webapps">
-      <filterset refid="version.filters"/>
       <fileset dir="webapps">
         <include name="ROOT/**"/>
+       <exclude name="ROOT/index.html"/>
         <include name="examples/**"/>
         <include name="manager/**"/>
         <include name="host-manager/**"/>
       </fileset>
     </copy>
+    <copy todir="${tomcat.build}/webapps" encoding="ISO-8859-1">
+      <filterset refid="version.filters" />
+      <fileset dir="webapps">
+        <include name="ROOT/index.html"/>
+      </fileset>
+    </copy>
 
     <copy tofile="${tomcat.build}/webapps/ROOT/RELEASE-NOTES.txt" file="RELEASE-NOTES" encoding="ISO-8859-1">
       <filterset refid="version.filters"/>