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/demo build.xml
Date Mon, 03 Jun 2002 17:30:00 GMT
hammant     2002/06/03 10:30:00

  Modified:    demo     build.xml
  Log:
  dist target makes rebuildable archive
  
  Revision  Changes    Path
  1.53      +39 -1     jakarta-avalon-apps/demo/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-apps/demo/build.xml,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- build.xml	22 May 2002 20:09:50 -0000	1.52
  +++ build.xml	3 Jun 2002 17:30:00 -0000	1.53
  @@ -547,7 +547,18 @@
   
       <zip zipfile="${dist.base}/${dist.name}-src.zip"
            basedir="${dist.name}/.."
  -         includes="${dist.name}/**"/>
  +         includes="${dist.name}/**">
  +      <!-- TODO - trim the jars to those that are relevant -->
  +      <fileset dir="..">
  +        <include name="common/lib/excalibur-*"/>
  +        <include name="common/lib/avalon-*"/>
  +        <include name="common/lib/cornerstone.jar"/>
  +        <include name="common/lib/phoenix-*"/>
  +        <include name="common/lib/xdoclet*"/>
  +        <include name="common/lib/xjavadoc*"/>
  +        <include name="common/lib/log4j-core*"/>
  +      </fileset>
  +    </zip>
   
       <tar longfile="gnu" tarfile="${dist.base}/${dist.name}-src.tar" >
         <tarfileset dir="${dist.name}/.." mode="755" username="avalon" group="avalon">
  @@ -557,6 +568,17 @@
           <include name="${dist.name}/**"/>
           <exclude name="${dist.name}/build.sh"/>
         </tarfileset>
  +      <!-- TODO - trim the jars to those that are relevant -->
  +      <tarfileset dir=".." username="avalon" group="avalon">
  +        <include name="common/lib/excalibur-*"/>
  +        <include name="common/lib/avalon-*"/>
  +        <include name="common/lib/cornerstone.jar"/>
  +        <include name="common/lib/phoenix-*"/>
  +        <include name="common/lib/xdoclet*"/>
  +        <include name="common/lib/xjavadoc*"/>
  +        <include name="common/lib/log4j-core*"/>
  +      </tarfileset>
  +      
       </tar>
   
       <gzip zipfile="${dist.base}/${dist.name}-src.tar.gz"
  @@ -581,6 +603,8 @@
   
       <!-- Not allowed to distribute glue thus no soapdemo jar -->
       <copy file="${build.lib}/avalon-demo.sar" tofile="${bin.dist.dir}/avalon-demo-${version}.sar"/>
  +    <copy file="${build.lib}/avalon-altrmidemo.sar" tofile="${bin.dist.dir}/avalon-altrmidemo-${version}.sar"/>
  +    <copy file="${build.lib}/avalon-altrmidemo-tester.jar" tofile="${bin.dist.dir}/avalon-altrmidemo-tester-${version}.jar"/>
   
       <chmod dir="${bin.dist.dir}" perm="go-rwx" />
     </target>
  @@ -600,6 +624,20 @@
       <copy todir="${src.dist.src}">
         <fileset dir="${src.dir}"/>
       </copy>
  +
  +    <copy todir="${src.dist.dir}">
  +      <fileset dir=".">
  +        <include name="build.xml"/>
  +      </fileset>
  +    </copy>
  +    
  +    <mkdir dir="${src.dist.dir}/lib"/>
  +    <copy todir="${src.dist.dir}/lib">
  +      <fileset dir="lib">
  +        <include name="**"/>
  +      </fileset>
  +    </copy>
  +    
       <fixcrlf srcdir="${src.dist.src}/java" includes="**/*.java" eol="lf"/>
   
       <chmod dir="${src.dist.dir}" perm="go-rwx" />
  
  
  

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