You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2003/05/20 10:04:10 UTC

cvs commit: cocoon-2.1/src/targets dist-build.xml

cziegeler    2003/05/20 01:04:09

  Modified:    src/targets dist-build.xml
  Log:
  Hopefully fixing the permissions problem for the dist
  Removing dependency to forrest
  
  Revision  Changes    Path
  1.4       +18 -4     cocoon-2.1/src/targets/dist-build.xml
  
  Index: dist-build.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/targets/dist-build.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- dist-build.xml	29 Apr 2003 08:19:05 -0000	1.3
  +++ dist-build.xml	20 May 2003 08:04:09 -0000	1.4
  @@ -1,6 +1,6 @@
   <!-- === Distribution targets ============================================== -->
   
  -  <target name="dist" depends="init, forrest" description="[admin] Builds the distribution">
  +  <target name="dist" depends="init" description="[admin] Builds the distribution">
   
       <mkdir dir="${dist.root}"/>
       <mkdir dir="${dist}"/>
  @@ -50,16 +50,30 @@
       <fixcrlf srcdir="${dist}" includes="**.sh" eol="lf"/>
       <fixcrlf srcdir="${dist}" includes="antRun" eol="lf"/>
       <fixcrlf srcdir="${dist}" includes="**.bat" eol="crlf"/>
  -
  +<!--
       <zip zipfile="${dist.target}/${dist.name}.zip" 
            basedir="${dist.root}" 
            includes="${dist.name}/**">
       </zip>
  -
  -    <tar tarfile="${dist.target}/${dist.name}.tar" 
  +-->
  +<!--    <tar tarfile="${dist.target}/${dist.name}.tar" 
            longfile="gnu"
            basedir="${dist.root}"
            includes="${dist.name}/**">
  +    </tar> -->
  +    <tar tarfile="${dist.target}/${dist.name}.tar" 
  +         longfile="gnu">
  +         <tarfileset dir="${dist.root}">
  +             <include name="${dist.name}/**"/>
  +             <exclude name="${dist.name}/cocoon.sh"/>
  +             <exclude name="${dist.name}/build.sh"/>
  +             <exclude name="${dist.name}/tools/bin/antRun"/>
  +         </tarfileset>
  +         <tarfileset dir="${dist.root}" mode="755">
  +             <include name="${dist.name}/cocoon.sh"/>
  +             <include name="${dist.name}/build.sh"/>
  +             <include name="${dist.name}/tools/bin/antRun"/>
  +         </tarfileset>
       </tar>
       <gzip zipfile="${dist.target}/${dist.name}.tar.gz" src="${dist.target}/${dist.name}.tar"/>
       <delete file="${dist.target}/${dist.name}.tar"/>