You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2004/03/20 00:08:54 UTC

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

michi       2004/03/19 15:08:54

  Modified:    src/targets dist-build.xml
  Log:
  zip target added in order to deploy webapp
  
  Revision  Changes    Path
  1.5       +9 -0      cocoon-lenya/src/targets/dist-build.xml
  
  Index: dist-build.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/targets/dist-build.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- dist-build.xml	31 Jan 2004 19:10:13 -0000	1.4
  +++ dist-build.xml	19 Mar 2004 23:08:54 -0000	1.5
  @@ -99,3 +99,12 @@
       <delete dir="${build.root}"/>
       <delete dir="${dist.root}"/>
     </target>
  +
  +
  +  <target name="zip-webapp" depends="init" description="Zips the webapp in order to deploy within another servlet container">
  +    <echo>Create ./${build.dir}/${fullname}-bin-${SNAPSHOT_STAMP}.tar.gz</echo>
  +
  +    <tar tarfile="./${build.dir}/${fullname}-bin-${SNAPSHOT_STAMP}.tar" basedir="${build.webapp}"/>
  +    <gzip zipfile="./${build.dir}/${fullname}-bin-${SNAPSHOT_STAMP}.tar.gz" src="./${build.dir}/${fullname}-bin-${SNAPSHOT_STAMP}.tar"/>
  +    <delete file="./${build.dir}/${fullname}-bin-${SNAPSHOT_STAMP}.tar"/>
  +  </target>
  
  
  

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