[jboss-cvs] JBossAS SVN: r111236 - branches/JBPAPP_5_1/build.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Apr 21 17:21:23 EDT 2011


Author: fnasser at redhat.com
Date: 2011-04-21 17:21:23 -0400 (Thu, 21 Apr 2011)
New Revision: 111236

Modified:
   branches/JBPAPP_5_1/build/build.xml
Log:
JBPAPP-4897 - Many configuration files do not contain the right CR+LF...

Modified: branches/JBPAPP_5_1/build/build.xml
===================================================================
--- branches/JBPAPP_5_1/build/build.xml	2011-04-21 19:51:23 UTC (rev 111235)
+++ branches/JBPAPP_5_1/build/build.xml	2011-04-21 21:21:23 UTC (rev 111236)
@@ -768,6 +768,7 @@
     <antcall target="apply_patch"/>
     <antcall target="skipped_unsign"/>
     <antcall target="unsign"/>
+    <antcall target="fixeol"/>
   </target>
 
   <target name="apply_auth_patch" unless="build.unsecure">
@@ -1607,4 +1608,11 @@
      
    </target>
 
+   <target name="fixeol" description="Make sure config files have CRLF as EOL characters.">
+     <fixcrlf srcdir="${install.root}" eol="crlf">
+       <include name="**/*.properties"/>
+       <include name="**/*.xml"/>
+     </fixcrlf>
+   </target>
+
 </project>



More information about the jboss-cvs-commits mailing list