Augmented list of patterns for text files in which to convert line endings to CRLF style in the Solr source .zip package

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1078812 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Rowe 2011-03-07 15:35:58 +00:00
parent 3575d56c40
commit b5dbbf5e29
1 changed files with 14 additions and 1 deletions

View File

@ -809,10 +809,23 @@
<gunzip src="${dist}/${fullnamever}-src.tgz" dest="${dest}/${fullnamever}-src.tar"/>
<untar src="${dest}/${fullnamever}-src.tar" dest="${dest}"/>
<!--
This is a list of text file patterns to convert to CRLF line-ending style.
Shell scripts and files included in shell scripts should not be converted.
NB: The line-ending conversion process will mangle non-UTF8-encoded files.
-->
<fixcrlf srcdir="${dest}/${fullnamever}"
encoding="UTF-8"
eol="crlf"
includes="**/*.txt **/*.xml **/*.java **/*.html **/*.csv **/*.css **/*.properties **/*.jsp **/*.xsl **/*.py **/*.rb **/*.js **/*.json **/*.pl"
includes="**/*.alg **/*.cgi **/*.cpp **/*.css **/*.csv **/*.dtd **/*.erb
**/*.fcgi **/.htaccess **/*.htm **/*.html **/*.incl **/*.java
**/*.javacc **/*.jflex **/*.jflex-macro **/*.jj **/*.js
**/*.json **/*.jsp **/*LICENSE **/*.pl **/*.pom
**/*pom.xml.template **/*.properties **/*.py **/*.rake
**/Rakefile **/*.rb **/*.rbbi **/README **/README.* **/*.rhtml
**/*.rslp **/*.rxml **/*.script **/*.svg **/*.tsv **/*.txt
**/UPGRADING **/USAGE **/*.uxf **/*.vm **/*.xcat **/*.xml
**/*.xsl **/*.xslt **/*.yml"
excludes="**/stopwordsWrongEncoding.txt **/gb18030-example.xml"
/>