forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: xml-forrest build.xml
Date Mon, 19 Jan 2004 18:02:28 GMT
nicolaken    2004/01/19 10:02:28

  Modified:    .        build.xml
  Log:
  Add 'refresh-code' target that recompiles the Forrest Jar and deployes
  it in the forrest dist.
  
  This makes it faster to do coding of new cocoon components in Forrest.
  
  Revision  Changes    Path
  1.97      +9 -3      xml-forrest/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/build.xml,v
  retrieving revision 1.96
  retrieving revision 1.97
  diff -u -r1.96 -r1.97
  --- build.xml	18 Jan 2004 21:33:19 -0000	1.96
  +++ build.xml	19 Jan 2004 18:02:28 -0000	1.97
  @@ -222,6 +222,12 @@
       -->
     </target>
    
  +  <target name="refresh-code" depends="jar">
  +    <copy todir="${dist-shbat.dir}/context/WEB-INF/lib">
  +      <fileset dir="${build.dir}" includes="*.jar"/>
  +    </copy>
  +  </target>
  + 
     <target name="dist-shbat" 
       depends="init, jar, validate-config" >
   
  @@ -242,9 +248,9 @@
       <!-- Copy Forrest jars -->
       <!-- @TODO REDUCE COPYING -->
       <mkdir dir="${dist-shbat.dir}/context/WEB-INF/lib" />
  -    <copy todir="${dist-shbat.dir}/context/WEB-INF/lib">
  -      <fileset dir="${build.dir}" includes="*.jar"/>
  -    </copy>
  +  
  +    <antcall target="refresh-code"/>
  +    
       <copy todir="${dist-shbat.dir}/context/WEB-INF/lib">
         <fileset dir="./lib/core" includes="*.jar"/>
         <fileset dir="./lib/endorsed" includes="*.jar"/>
  
  
  

Mime
View raw message