avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon-sandbox/merlin maven.xml
Date Tue, 09 Sep 2003 02:16:32 GMT
mcconnell    2003/09/08 19:16:32

  Modified:    merlin   maven.xml
  Log:
  Add tar.gz support for release.
  
  Revision  Changes    Path
  1.53      +30 -0     avalon-sandbox/merlin/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/merlin/maven.xml,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- maven.xml	7 Sep 2003 13:34:54 -0000	1.52
  +++ maven.xml	9 Sep 2003 02:16:32 -0000	1.53
  @@ -145,18 +145,48 @@
           <include name="*.jar"/>
         </fileset>
       </ant:zip>
  +    <ant:tar tarfile="${maven.build.dir}/${package.name}.tar">
  +      <tarfileset dir="${merlin.build.inst.dir}" prefix="merlin"/>
  +      <fileset dir="${basedir}">
  +        <include name="INSTALLATION.TXT"/>
  +      </fileset>
  +      <fileset dir="${basedir}/merlin-plugin/target">
  +        <include name="*.jar"/>
  +      </fileset>
  +      <fileset dir="${basedir}/../meta/plugin/target">
  +        <include name="*.jar"/>
  +      </fileset>
  +    </ant:tar>
  +    <ant:gzip 
  +      zipfile="${maven.build.dir}/${package.name}.tar.gz"
  +      src="${maven.build.dir}/${package.name}.tar"/>
  +    <ant:delete file="${maven.build.dir}/${package.name}.tar"/>
   
       <j:set var="docs.name" value="${maven.final.name}-docs-${timestamp}"/>
       <ant:echo>Building doc kit: ${docs.name}.zip</ant:echo>
       <ant:zip zipfile="${maven.build.dir}/${docs.name}.zip">
         <zipfileset dir="${maven.build.dir}/docs" prefix="docs"/>
       </ant:zip>
  +    <ant:tar tarfile="${maven.build.dir}/${docs.name}.tar">
  +      <tarfileset dir="${maven.build.dir}/docs" prefix="docs"/>
  +    </ant:tar>
  +    <ant:gzip 
  +      zipfile="${maven.build.dir}/${docs.name}.tar.gz"
  +      src="${maven.build.dir}/${docs.name}.tar"/>
  +    <ant:delete file="${maven.build.dir}/${docs.name}.tar"/>
   
       <j:set var="tutorial.name" value="${maven.final.name}-tutorial-${timestamp}"/>
       <ant:echo>Building tutorial kit: ${tutorial.name}.zip</ant:echo>
       <ant:zip zipfile="${maven.build.dir}/${tutorial.name}.zip">
         <zipfileset dir="${basedir}/target/tutorials" prefix="tutorial"/>
       </ant:zip>
  +    <ant:tar tarfile="${maven.build.dir}/${tutorial.name}.tar">
  +      <tarfileset dir="${basedir}/target/tutorials" prefix="tutorial"/>
  +    </ant:tar>
  +    <ant:gzip 
  +      zipfile="${maven.build.dir}/${tutorial.name}.tar.gz"
  +      src="${maven.build.dir}/${tutorial.name}.tar"/>
  +    <ant:delete file="${maven.build.dir}/${tutorial.name}.tar"/>
   
     </goal>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message