stephan     2003/03/06 01:54:45

  Modified:    .        build.xml
  Log:
  Use build.tmp for the check-jars target.
  
  Revision  Changes    Path
  1.356     +8 -8      xml-cocoon2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.xml,v
  retrieving revision 1.355
  retrieving revision 1.356
  diff -u -r1.355 -r1.356
  --- build.xml 6 Mar 2003 02:49:02 -0000       1.355
  +++ build.xml 6 Mar 2003 09:54:44 -0000       1.356
  @@ -665,26 +665,26 @@
       </path>
   
       <property name="all.jars" refid="all.jars"/>
  -    <copy file="${lib}/jars.xml.tmpl" tofile="${build}/current-jars.xml" 
filtering="yes" overwrite="yes">
  +    <copy file="${lib}/jars.xml.tmpl" tofile="${build.temp}/current-jars.xml" 
filtering="yes" overwrite="yes">
         <filterset>
           <filter token="JARS" value="${all.jars}"/>
         </filterset>
       </copy>
   
       <!-- split the path in 'jar' XML elements -->
  -    <replace file="${build}/current-jars.xml" token="${path.separator}" 
value="&lt;/jar&gt;&#xA; &lt;jar&gt;"/>
  +    <replace file="${build.temp}/current-jars.xml" token="${path.separator}" 
value="&lt;/jar&gt;&#xA; &lt;jar&gt;"/>
       <!-- relativize file names by removing the current directory -->
  -    <replace file="${build}/current-jars.xml" 
token="${user}${file.separator}lib${file.separator}" value=""/>
  +    <replace file="${build.temp}/current-jars.xml" 
token="${user}${file.separator}lib${file.separator}" value=""/>
       <!-- and incase that fails, remove the base directory -->
  -    <replace file="${build}/current-jars.xml" 
token="${basedir}${file.separator}lib${file.separator}" value=""/>
  +    <replace file="${build.temp}/current-jars.xml" 
token="${basedir}${file.separator}lib${file.separator}" value=""/>
   
       <!-- replace platform-dependent path separator by '/' -->
  -    <replace file="${build}/current-jars.xml" token="${file.separator}" value="/"/>
  +    <replace file="${build.temp}/current-jars.xml" token="${file.separator}" 
value="/"/>
   
  -    <xslt in="${lib}/jars.xml" out="${build}/jars.xml"
  +    <xslt in="${lib}/jars.xml" out="${build.temp}/jars.xml"
              processor="trax"
              style="${tools}/src/check-jars.xsl">
  -      <param name="current-files" expression="../../${build}/current-jars.xml"/>
  +      <param name="current-files" 
expression="../../${build.temp}/current-jars.xml"/>
       </xslt>
     </target>
   
  
  
  

Reply via email to