cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject cvs commit: xml-cocoon build.xml
Date Sun, 15 Apr 2001 14:07:59 GMT
giacomo     01/04/15 07:07:59

  Modified:    .        Tag: xml-cocoon2 build.xml
  Log:
  changed old use of delete to use a fileset
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.6.2.73  +12 -9     xml-cocoon/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/build.xml,v
  retrieving revision 1.6.2.72
  retrieving revision 1.6.2.73
  diff -u -r1.6.2.72 -r1.6.2.73
  --- build.xml	2001/04/13 17:39:51	1.6.2.72
  +++ build.xml	2001/04/15 14:07:59	1.6.2.73
  @@ -268,21 +268,24 @@
     <!-- =================================================================== -->
     <!-- Generate the Java code from XML using XSLT                          -->
     <!-- =================================================================== -->
  -  <target name="generate-java-code">
  -    <delete dir="${build.src}/org/apache/cocoon/components/browser"
  -	    includes="BrowserImpl.java"/>
  +  <target name="generate-java-code" depends="init">
  +    <delete>
  +      <fileset dir="${build.src}/org/apache/cocoon/components/browser">
  +        <include name="BrowserImpl.java"/>
  +      </fileset>
  +    </delete>
       <style basedir="${src.dir}/org/apache/cocoon/components/browser"
  -	   destdir="${build.src}/org/apache/cocoon/components/browser"
  -	   includes="BrowserImpl.xml"
  -	   extension=".java"
  -	   style="BrowserImpl.xsl"/>
  +           destdir="${build.src}/org/apache/cocoon/components/browser"
  +           includes="BrowserImpl.xml"
  +           extension=".java"
  +           style="BrowserImpl.xsl"/>
     </target>
   
  -  
  +
     <!-- =================================================================== -->
     <!-- Compiles the source directory                                       -->
     <!-- =================================================================== -->
  -  <target name="compile" depends="prepare-src,generate-java-code" 
  +  <target name="compile" depends="prepare-src,generate-java-code"
             description="Compiles the source code">
       <copy todir="${build.dest}">
         <fileset dir="${build.src}">
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message