View | Details | Raw Unified | Return to bug 47609
Collapse All | Expand All

(-)build.xml (-2 / +19 lines)
Lines 1914-1923 Link Here
1914
1914
1915
  <!-- Packages the source code distribution in tar.gz format -->
1915
  <!-- Packages the source code distribution in tar.gz format -->
1916
  <target name="package-src-tgz">
1916
  <target name="package-src-tgz">
1917
    <!-- See Bugzilla 47609 - Failsafe EOL conversion -->
1918
    <!-- Fix files without extensions -->
1917
    <fixcrlf srcdir="${tomcat.dist}/src"
1919
    <fixcrlf srcdir="${tomcat.dist}/src"
1918
        excludes="**/*.bin,**/*.bmp,**/*.dia,**/*.exe,**/*.gif,**/*.ico,**/*.jar,**/*.jpg,**/*.pdf,**/*.rtf,**/*.war"
1920
        excludes="**/*.*"
1919
        eol="lf"
1921
        eol="lf"
1920
        encoding="ISO-8859-1" fixlast="false" />
1922
        encoding="ISO-8859-1" fixlast="false"/>
1923
    <!-- Fix files with extensions -->
1924
    <fixcrlf srcdir="${tomcat.dist}/src"
1925
        eol="lf"
1926
        encoding="ISO-8859-1" fixlast="false">
1927
        <include name="**/*.MF,**/*.TXT"/>
1928
        <include name="**/*.am,**/*.amd64,**/*.autoconf,**/*.awk,**/*.bat,**/*.c,**/*.classpath,**/*.conf,**/*.css"/>
1929
        <include name="**/*.def,**/*.default,**/*.dsp,**/*.dsw,**/*.dtd,**/*.exp,**/*.h,**/*.html,**/*.hw"/>
1930
        <include name="**/*.ia64,**/*.in,**/*.ini,**/*.ism,**/*.java,**/*.jsp,**/*.jspf,**/*.jspx"/>
1931
        <include name="**/*.launch,**/*.layout,**/*.lib,**/*.libdir,**/*.linux,**/*.m4,**/*.mak,**/*.manifest,**/*.mc"/>
1932
        <include name="**/*.mdl,**/*.minimal,**/*.mk,**/*.module,**/*.netware,**/*.nsi"/>
1933
        <include name="**/*.patch,**/*.pl,**/*.policy,**/*.pro,**/*.project,**/*.properties,**/*.qclsrc"/>
1934
        <include name="**/*.rc,**/*.reg,**/*.sample,**/*.sh,**/*.shtml,**/*.sln,**/*.solaris,**/*.spec"/>
1935
        <include name="**/*.tag,**/*.tasks,**/*.tld,**/*.tmpl,**/*.txt,**/*.vbs,**/*.vc,**/*.vcproj"/>
1936
        <include name="**/*.x86,**/*.xml,**/*.xsd,**/*.xsl"/>
1937
    </fixcrlf>
1921
1938
1922
    <tar longfile="gnu" compression="gzip"
1939
    <tar longfile="gnu" compression="gzip"
1923
         tarfile="${tomcat.release}/v${version}/src/${final-src.name}.tar.gz">
1940
         tarfile="${tomcat.release}/v${version}/src/${final-src.name}.tar.gz">

Return to bug 47609