cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: cocoon-2.1/tools/src blocks-build.xsl
Date Wed, 17 Mar 2004 18:48:49 GMT
cziegeler    2004/03/17 10:48:49

  Modified:    tools/src blocks-build.xsl
  Log:
  Changing the order decreases the build time on my system by 30%!
  
  Revision  Changes    Path
  1.53      +13 -13    cocoon-2.1/tools/src/blocks-build.xsl
  
  Index: blocks-build.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/tools/src/blocks-build.xsl,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- blocks-build.xsl	16 Mar 2004 14:27:35 -0000	1.52
  +++ blocks-build.xsl	17 Mar 2004 18:48:49 -0000	1.53
  @@ -382,19 +382,6 @@
   
       <target name="{$block-name}-compile" depends="{$block-name}-build,{$block-name}-prepare,{$block-name}-mocks">
   
  -      <copy filtering="on" todir="${{build.blocks}}/{$block-name}/dest">
  -        <fileset dir="${{blocks}}/{$block-name}/java">
  -          <patternset refid="unprocessed.sources"/>
  -        </fileset>
  -      </copy>
  -
  -      <copy filtering="off" todir="${{build.blocks}}/{$block-name}/dest">
  -        <fileset dir="${{blocks}}/{$block-name}/java">
  -          <include name="**/Manifest.mf"/>
  -          <include name="META-INF/**"/>
  -        </fileset>
  -      </copy>
  -
         <!-- This is a little bit tricky:
              As the javac task checks, if a src directory is available and
              stops if its not available, we use the following property
  @@ -426,6 +413,19 @@
           <classpath refid="classpath"/>
           <exclude name="**/samples/**/*.java"/>
         </javac>
  +
  +      <copy filtering="on" todir="${{build.blocks}}/{$block-name}/dest">
  +        <fileset dir="${{blocks}}/{$block-name}/java">
  +          <patternset refid="unprocessed.sources"/>
  +        </fileset>
  +      </copy>
  +
  +      <copy filtering="off" todir="${{build.blocks}}/{$block-name}/dest">
  +        <fileset dir="${{blocks}}/{$block-name}/java">
  +          <include name="**/Manifest.mf"/>
  +          <include name="META-INF/**"/>
  +        </fileset>
  +      </copy>
   
         <jar jarfile="${{build.blocks}}/{$block-name}-block.jar" index="true">
           <fileset dir="${{build.blocks}}/{$block-name}/dest">
  
  
  

Mime
View raw message