avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-apps/db build.xml
Date Fri, 29 Mar 2002 09:48:56 GMT
donaldp     02/03/29 01:48:56

  Modified:    db       build.xml
  Log:
  Made it so that the distribution is contained within directory named
  
  avalon-db-0.3/**
  
  Revision  Changes    Path
  1.45      +14 -6     jakarta-avalon-apps/db/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-apps/db/build.xml,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- build.xml	29 Mar 2002 09:39:41 -0000	1.44
  +++ build.xml	29 Mar 2002 09:48:56 -0000	1.45
  @@ -312,22 +312,27 @@
     <target name="dist" depends="sars" description="Generates the distribution">
   
       <property name="dist.name" value="${Name}-${version}"/>
  +    <property name="dist.image" value="${name}-${version}"/>
  +    <mkdir dir="${dist.image}"/>
   
  -    <zip zipfile="dist/${dist.name}-src.zip">
  +    <copy todir="${dist.image}">
         <fileset dir=".">
           <include name="src/**"/>
           <include name="lib/**"/>
           <include name="build.xml"/>
           <include name="readme.txt"/>
  +      </fileset>
  +    </copy>
  +
  +    <zip zipfile="dist/${dist.name}-src.zip">
  +      <fileset dir=".">
  +        <include name="${dist.image}/**"/>
         </fileset>         
       </zip>
   
       <tar longfile="gnu" tarfile="dist/${dist.name}-src.tar" >
  -      <tarfileset dir="${dist.name}/.." username="avalon" group="avalon">
  -        <include name="src/**"/>
  -        <include name="lib/**"/>
  -        <include name="build.xml"/>
  -        <include name="readme.txt"/>
  +      <tarfileset dir="." username="avalon" group="avalon">
  +        <include name="${dist.image}/**"/>
         </tarfileset>
       </tar>
   
  @@ -335,6 +340,9 @@
             src="dist/${dist.name}-src.tar"/>
       <delete file="dist/${dist.name}-src.tar"/>
   
  +    <delete>
  +      <fileset dir="${dist.image}" defaultexcludes="no"/>
  +    </delete>
   
     </target>
   
  
  
  

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


Mime
View raw message