forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest build.xml
Date Sat, 16 Nov 2002 13:24:24 GMT
jefft       2002/11/16 05:24:24

  Modified:    .        build.xml
  Log:
  Add dist tar.gz targets.  Zip is useless on Unix platforms because all the
  shell scripts aren't made executable.
  
  Revision  Changes    Path
  1.48      +45 -1     xml-forrest/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/build.xml,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- build.xml	16 Nov 2002 12:45:32 -0000	1.47
  +++ build.xml	16 Nov 2002 13:24:24 -0000	1.48
  @@ -72,10 +72,16 @@
       <mkdir dir="${build.dir}"/>
     </target>
   
  -  <target name="clean">
  +  <target name="clean" description="Delete all generated files">
       <delete dir="${build.dir}"/>
     </target>
   
  +
  +  <!-- =================================================================== -->
  +  <!-- Make release distributions                                          -->
  +  <!-- =================================================================== -->
  +
  +
     <target name="release-dist-src" depends="init"
       description="Makes a source release distribution">
       <mkdir dir="${dist.dir}"/>
  @@ -116,6 +122,28 @@
         <zipfileset prefix="${release-name-src}" dir="${tmp-scripts}"/>
         <zipfileset prefix="${release-name-src}" dir="etc" includes="RELEASE-NOTES-${version}.txt"/>
       </zip>
  +
  +    <tar longfile="gnu"
  +      compression="gzip"
  +      destfile="${dist.dir}/${release-name-src}.tar.gz" >
  +      <tarfileset dir="." prefix="${release-name-src}" username="forrest" group="forrest">
  +        <exclude name="build/**"/>
  +        <patternset refid="noscripts"/>
  +      </tarfileset>
  +      <tarfileset prefix="${release-name-src}" dir="${tmp-scripts}"
  +        mode="755" username="forrest" group="forrest">
  +        <include name="**/*.sh"/>
  +        <include name="**/ant"/>
  +        <include name="**/forrest"/>
  +      </tarfileset>
  +      <tarfileset prefix="${release-name-src}" dir="${tmp-scripts}"
  +        username="forrest" group="forrest">
  +        <exclude name="**/*.sh"/>
  +        <exclude name="**/ant"/>
  +        <exclude name="**/forrest"/>
  +      </tarfileset>
  +      <tarfileset prefix="${release-name-src}" dir="etc" includes="RELEASE-NOTES-${version}.txt"/>
  +    </tar>
     </target>
   
   
  @@ -127,7 +155,23 @@
         <zipfileset dir="${dist-shbat.dir}" prefix="${release-name-bin}"/>
         <zipfileset dir="etc"  prefix="${release-name-bin}" includes="RELEASE-NOTES-${version}.txt"/>
       </zip>
  +    <tar longfile="gnu" compression="gzip"
  +      destfile="${dist.dir}/${release-name-bin}.tar.gz" >
   
  +      <tarfileset prefix="${release-name-bin}" dir="${dist-shbat.dir}"
  +        username="forrest" group="forrest">
  +        <exclude name="**/*.sh"/>
  +        <exclude name="**/ant"/>
  +        <exclude name="**/forrest"/>
  +      </tarfileset>
  +      <tarfileset prefix="${release-name-bin}" dir="${dist-shbat.dir}"
  +        mode="755" username="forrest" group="forrest">
  +        <include name="**/*.sh"/>
  +        <include name="**/ant"/>
  +        <include name="**/forrest"/>
  +      </tarfileset>
  +      <tarfileset prefix="${release-name-bin}" dir="etc" includes="RELEASE-NOTES-${version}.txt"/>
  +    </tar>
     </target>
   
     <target name="release-dist" 
  
  
  

Mime
View raw message