avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: jakarta-avalon-apps/db build.xml
Date Thu, 28 Mar 2002 20:15:15 GMT
hammant     02/03/28 12:15:15

  Modified:    db       build.xml
  Log:
  build file advanced for dist
  
  Revision  Changes    Path
  1.43      +24 -46    jakarta-avalon-apps/db/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-apps/db/build.xml,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- build.xml	28 Mar 2002 11:47:04 -0000	1.42
  +++ build.xml	28 Mar 2002 20:15:15 -0000	1.43
  @@ -11,8 +11,8 @@
   
     <property name="name" value="avalon-db"/>
     <property name="Name" value="AvalonDB"/>
  -  <property name="version" value="0.7"/>
  -  <property name="year" value="1999-2001"/>
  +  <property name="version" value="0.3"/>
  +  <property name="year" value="2001-2002"/>
   
     <property name="build.debug" value="on"/>
     <property name="build.optimize" value="off"/>
  @@ -216,9 +216,9 @@
   
   
       <!-- The JDBC driver -->
  -    <jar jarfile="${build.lib}/avalon-db-driver-cmdstream.jar">
  +    <jar jarfile="${build.lib}/avalon-db-driver-altrmi.jar">
         <fileset dir="${build.classes}">
  -        <include name="org/apache/avalon/db/transport/cmdstream/client/**"/>
  +        <include name="org/apache/avalon/db/transport/altrmi/client/**"/>
           <include name="org/apache/avalon/db/transport/*"/>
           <include name="org/apache/avalon/db/common/**"/>
           <include name="org/apache/avalon/db/driver/**"/>
  @@ -255,7 +255,6 @@
         </lib>      
   
         <lib dir="lib">
  -        <include name="bcel.jar"/>
           <include name="bsf.jar"/>
           <include name="js.jar"/>
           <include name="jakarta-regexp.jar"/>
  @@ -310,54 +309,32 @@
     </target>
   
     <!-- Completely build all dists -->
  -  <target name="dist" description="Generates the distribution">
  -
  -    <property name="dist.name" value="${Name}-${version}"/>
  -
  -    <mkdir dir="${dist.base}"/>
  -
  -    <antcall target="bin-dist" inheritAll="false">
  -      <param name="bin.dist.dir" value="${dist.name}" />
  -    </antcall>
  +  <target name="dist" depends="sars" description="Generates the distribution">
  +
  +    <property name="dist.name" value="${Name}-${version}"/>
   
  -    <zip zipfile="${dist.base}/${dist.name}-bin.zip"
  -         basedir="${dist.name}/.."
  -         includes="${dist.name}/**"/>
  +    <zip zipfile="dist/${dist.name}-src.zip">
  +      <fileset dir=".">
  +        <include name="src/**"/>
  +        <include name="lib/**"/>
  +        <include name="build.xml"/>
  +        <include name="readme.txt"/>
  +      </fileset>         
  +    </zip>
   
  -    <tar longfile="gnu" tarfile="${dist.base}/${dist.name}-bin.tar">
  +    <tar longfile="gnu" tarfile="dist/${dist.name}-src.tar" >
         <tarfileset dir="${dist.name}/.." username="avalon" group="avalon">
  -        <include name="${dist.name}/**"/>
  +        <include name="src/**"/>
  +        <include name="lib/**"/>
  +        <include name="build.xml"/>
  +        <include name="readme.txt"/>
         </tarfileset>
       </tar>
   
  -    <gzip zipfile="${dist.base}/${dist.name}-bin.tar.gz"
  -          src="${dist.base}/${dist.name}-bin.tar"/>
  -
  -    <delete file="${dist.base}/${dist.name}-bin.tar"/>
  -    <delete dir="${dist.name}" />
  -
  -    <antcall target="src-dist" inheritAll="false">
  -      <param name="src.dist.dir" value="${dist.name}" />
  -    </antcall>
  -
  -    <zip zipfile="${dist.base}/${dist.name}-src.zip"
  -         basedir="${dist.name}/.."
  -         includes="${dist.name}/**"/>
  -
  -    <tar longfile="gnu" tarfile="${dist.base}/${dist.name}-src.tar" >
  -      <tarfileset dir="${dist.name}/.." mode="755" username="avalon" group="avalon">
  -        <include name="${dist.name}/build.sh"/>
  -      </tarfileset>
  -      <tarfileset dir="${dist.name}/.." username="avalon" group="avalon">
  -        <include name="${dist.name}/**"/>
  -        <exclude name="${dist.name}/build.sh"/>
  -      </tarfileset>
  -    </tar>
  +    <gzip zipfile="dist/${dist.name}-src.tar.gz"
  +          src="dist/${dist.name}-src.tar"/>
  +    <delete file="dist/${dist.name}-src.tar"/>
   
  -    <gzip zipfile="${dist.base}/${dist.name}-src.tar.gz"
  -          src="${dist.base}/${dist.name}-src.tar"/>
  -    <delete file="${dist.base}/${dist.name}-src.tar"/>
  -    <delete dir="${dist.name}" />
   
     </target>
   
  @@ -426,6 +403,7 @@
       <delete dir="${docs.dir}" />
       <delete dir="${bin.dist.dir}" />
       <delete dir="${dist.base}" />
  +    <delete dir="dist" />
     </target>
     
     <!-- Prepares the documentation directory -->
  
  
  

--
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