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 binary .zip package
Steven Rowe78a3cb462d8b
diff --git a/solr/build.xml b/solr/build.xmlindex c38a47fad8b..ccda2fd4762 100644--- a/solr/build.xml+++ b/solr/build.xml@@ -824,10 +824,23 @@<gunzip src="${package.dir}/${fullnamever}.tgz" dest="${dest}/${fullnamever}.tar"/><untar src="${dest}/${fullnamever}.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 **/*.cfg **/*.cgi **/*.cpp **/*.css **/*.csv **/*.dtd+ **/*.erb **/*.fcgi **/.htaccess **/*.htm **/*.html **/*.incl+ **/*.java **/*.javacc **/*.jflex **/*.jflex-macro **/*.jj+ **/*.js **/*.json **/*.jsp **/*LICENSE **/package-list **/*.pl+ **/*.pom **/*pom.xml.template **/*.properties **/*.py+ **/*.rake **/Rakefile **/*.rb **/*.rbbi **/README* **/*.rhtml+ **/*.rslp **/*.rxml **/*.script **/*.svg **/*.tsv **/*.txt+ **/UPGRADING **/USAGE **/*.uxf **/*.vm **/*.xcat **/*.xml+ **/*.xsl **/*.xslt **/*.yml"excludes="**/stopwordsWrongEncoding.txt **/gb18030-example.xml"/>