xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ce...@apache.org
Subject cvs commit: xml-xmlbeans/v1 build.xml
Date Wed, 29 Oct 2003 21:14:36 GMT
cezar       2003/10/29 13:14:36

  Modified:    v1       build.xml
  Log:
  Adding src distribution files and tgz versions for src and bin dist.
  
  Revision  Changes    Path
  1.9       +31 -3     xml-xmlbeans/v1/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v1/build.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- build.xml	29 Oct 2003 05:12:14 -0000	1.8
  +++ build.xml	29 Oct 2003 21:14:36 -0000	1.9
  @@ -406,9 +406,13 @@
     </target>
   
   
  -  <target name="dist" depends="xbean, docs">
  +  <target name="dist" depends="dist-src, dist-bin">
  +  </target>
  +
  +  <target name="dist-bin" depends="xbean, docs">
        <delete dir="build/private/xmlbeans-${product.version}"/>
        <delete file="build/private/incubating-xmlbeans-${product.version}.zip"/>
  +     <delete file="build/private/incubating-xmlbeans-${product.version}.tgz"/>
   
        <mkdir dir="build/private/xmlbeans-${product.version}"/>
        <copy todir="build/private/xmlbeans-${product.version}">
  @@ -428,10 +432,34 @@
           <fileset dir="build/docs"/>
        </copy>
   
  -      <!-- todo for gump?: add yyyyMMdd into filename - rem -->
  -      <zip destfile="build/private/incubating-xmlbeans-${product.version}.zip"
  +     <zip destfile="build/private/incubating-xmlbeans-${product.version}.zip"
             basedir="build/private"
             includes="xmlbeans-${product.version}/**"/>
  +     <tar destfile="build/private/incubating-xmlbeans-${product.version}.tgz"
  +          basedir="build/private"
  +          includes="xmlbeans-${product.version}/**"
  +          compression="gzip"/>
  +  </target>
  +
  +  <target name="dist-src" depends="clean, dirs">
  +     <delete file="build/private/incubating-xmlbeans-${product.version}-src.zip"/>
  +	 <delete file="build/private/incubating-xmlbeans-${product.version}-src.tgz"/>
  +
  +	 <zip destfile="build/private/incubating-xmlbeans-${product.version}-src.zip">
  +     	<zipfileset
  +     		dir="."
  +       		includes="**"
  +       		excludes="build/**"
  +       		prefix="xmlbeans-${product.version}"/>
  +     </zip>
  +	 <tar destfile="build/private/incubating-xmlbeans-${product.version}-src.tgz"
  +	 	  compression="gzip">
  +     	<tarfileset
  +     		dir="."
  +       		includes="**"
  +       		excludes="build/**"
  +       		prefix="xmlbeans-${product.version}"/>
  +     </tar>
     </target>
   
     <!-- previously in xbean.xml -->
  
  
  

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


Mime
View raw message