tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-4.0 build.xml
Date Thu, 11 Oct 2001 18:30:47 GMT
remm        01/10/11 11:30:47

  Modified:    .        build.xml
  Log:
  - Port the fixcrlf, and use the longfile attribute to avoid the warnings.
  
  Revision  Changes    Path
  1.46      +9 -5      jakarta-tomcat-4.0/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/build.xml,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- build.xml	2001/10/07 18:08:51	1.45
  +++ build.xml	2001/10/11 18:30:47	1.46
  @@ -195,7 +195,7 @@
     <target name="dist-source">
       <mkdir  dir="${tomcat.dist}/src"/>
       <copy todir="${tomcat.dist}/src">
  -      <fileset dir=".">
  +      <fileset dir="${basedir}">
           <exclude name="**/build/**"/>
           <exclude name="**/dist/**"/>
           <exclude name="build.properties"/>
  @@ -293,7 +293,10 @@
           <include name="RUNNING.txt" />
         </fileset>
       </copy>
  -    <tar tarfile="${tomcat.dist}/${final.name}.tar">
  +    <fixcrlf srcdir="${tomcat.dist}/${final.name}" 
  +     includes="*.txt,LICENSE" eol="lf"/>
  +    <fixcrlf srcdir="${tomcat.dist}/${final.name}/conf" eol="lf"/>
  +    <tar longfile="gnu" tarfile="${tomcat.dist}/${final.name}.tar">
         <tarfileset dir="${tomcat.dist}" mode="755">
           <include name="${final.name}/bin/catalina.sh" />
           <include name="${final.name}/bin/digest.sh" />
  @@ -320,8 +323,7 @@
   
     <target name="package-src-zip">
       <zip zipfile="${tomcat.dist}/${final-src.name}.zip">
  -      <zipfileset dir="${tomcat.dist}/src" prefix="${final-src.name}" 
  -       includes="**" />
  +      <zipfileset dir="${tomcat.dist}/src" prefix="${final-src.name}" />
       </zip>
     </target>
   
  @@ -332,7 +334,9 @@
           <include name="**" />
         </fileset>
       </copy>
  -    <tar tarfile="${tomcat.dist}/${final-src.name}.tar">
  +    <fixcrlf srcdir="${tomcat.dist}/${final-src.name}" 
  +     excludes="**/*.jar" eol="lf"/>
  +    <tar longfile="gnu" tarfile="${tomcat.dist}/${final-src.name}.tar">
         <tarfileset dir="${tomcat.dist}">
           <include name="${final-src.name}/**" />
         </tarfileset>
  
  
  

Mime
View raw message