tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r904898 - /tomcat/trunk/dist.xml
Date Sat, 30 Jan 2010 21:43:41 GMT
Author: markt
Date: Sat Jan 30 21:43:41 2010
New Revision: 904898

URL: http://svn.apache.org/viewvc?rev=904898&view=rev
Log:
Changing line endings isn't limited to source files.

Modified:
    tomcat/trunk/dist.xml

Modified: tomcat/trunk/dist.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/dist.xml?rev=904898&r1=904897&r2=904898&view=diff
==============================================================================
--- tomcat/trunk/dist.xml (original)
+++ tomcat/trunk/dist.xml Sat Jan 30 21:43:41 2010
@@ -78,8 +78,8 @@
     <filter token="VERSION_MAJOR_MINOR" value="${version.major.minor}"/>
   </filterset>
 
-  <!-- Files that need to have their line endings changed for src distros -->
-  <patternset id="src.files" >
+  <!-- Files to change line endings for depending on target platform -->
+  <patternset id="text.files" >
     <include name="**/INSTALLLICENSE"/>
     <include name="**/KEYS"/>
     <include name="**/LICENSE"/>
@@ -646,7 +646,7 @@
   <target name="package-src-zip">
     <fixcrlf srcdir="${tomcat.dist}/src" eol="crlf"
         encoding="ISO-8859-1" fixlast="false" >
-      <patternset refid="src.files"/>
+      <patternset refid="text.files"/>
     </fixcrlf>
     <zip zipfile="${tomcat.release}/v${version}/src/${final-src.name}.zip">
       <zipfileset dir="${tomcat.dist}/src" prefix="${final-src.name}" />
@@ -661,7 +661,7 @@
   <target name="package-src-tgz">
     <fixcrlf srcdir="${tomcat.dist}/src" eol="lf"
         encoding="ISO-8859-1" fixlast="false" >
-      <patternset refid="src.files"/>
+      <patternset refid="text.files"/>
     </fixcrlf>
     <tar longfile="gnu" compression="gzip"
          tarfile="${tomcat.release}/v${version}/src/${final-src.name}.tar.gz">



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message