Apache Lucene open-source search software
Augmented list of patterns for text files in which to convert line endings to CRLF style in the Solr source .zip package
Steven Roweb5dbbf5e2945
diff --git a/solr/build.xml b/solr/build.xmlindex ca3cb15ffea..51b137eab91 100644--- a/solr/build.xml+++ b/solr/build.xml@@ -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"/>