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/site build.xml
Date Tue, 02 Apr 2002 11:51:11 GMT
hammant     02/04/02 03:51:11

  Modified:    site     build.xml
  Log:
  site docs target
  
  Revision  Changes    Path
  1.5       +21 -0     jakarta-avalon-apps/site/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-apps/site/build.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.xml	28 Mar 2002 16:56:28 -0000	1.4
  +++ build.xml	2 Apr 2002 11:51:11 -0000	1.5
  @@ -25,6 +25,7 @@
     <property name="manifest.dir" value="${src.dir}/manifest"/>
     <property name="conf.dir" value="${src.dir}/conf"/>
     <property name="docs.dir" value="docs"/>
  +  <property name="www.dir" value="../../jakarta-avalon-site/docs"/>  
     
     <property name="build.xdocs" value="${build.dir}/xdocs"/>
     <property name="build.context" value="${build.dir}/documentation"/>
  @@ -146,6 +147,26 @@
       <ant dir="../xcommander/" target="site"/>      
     
     </target>   
  +  
  +  <!-- Update the www directory -->
  +  <target name="site-docs" depends="site">
  +
  +    <mkdir dir="${www.dir}/apps"/>
  +
  +    <!-- delete all old documents but keep CVS directories -->
  +    <!-- note that by doing an include the defaultexcludes (CVS dirs) will be kept -->
  +    <delete>
  +      <fileset dir="${www.dir}">
  +        <include name="apps/**"/>
  +      </fileset>
  +    </delete>
  +
  +
  +    <copy todir="${www.dir}/apps">
  +      <fileset dir="${docs.dir}" />
  +    </copy>
  +
  +  </target>  
     
     <target name="dist" description="Runs all dists from apps projects">  
     
  
  
  

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