xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ce...@apache.org
Subject cvs commit: xml-xmlbeans/v2 build.xml
Date Tue, 02 Mar 2004 16:50:54 GMT
cezar       2004/03/02 08:50:54

  Modified:    v2       build.xml
  Log:
  Improved uptodate jam checks.
  
  Revision  Changes    Path
  1.43      +11 -13    xml-xmlbeans/v2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v2/build.xml,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- build.xml	2 Mar 2004 04:26:17 -0000	1.42
  +++ build.xml	2 Mar 2004 16:50:54 -0000	1.43
  @@ -792,14 +792,11 @@
       <delete dir='build/classes/jam'/>
     </target>
   
  -    <target name="jam.parser.check">
  -<!--
  -      <uptodate property="jam.parser.notRequired" targetfile="${jam_gendir}">
  -        <srcfiles dir="${jam_gendir}" includes="**/*"/>
  -        <srcfiles dir="src/jam" includes="java.g"/>
  -      </uptodate>
  --->
  -    </target>
  +  <target name="jam.parser.check">
  +    <uptodate property="jam.parser.notRequired" targetfile="${jam_gendir}/JavaParser.java">
  +      <srcfiles dir="src/jam" includes="java.g"/>
  +    </uptodate>
  +  </target>
   
     <target name='jam.parser' depends="jam.parser.check" unless="jam.parser.notRequired">
       <delete dir='${jam_gendir}'/>
  @@ -813,21 +810,20 @@
            <pathelement path='build/classes'/>
          </classpath>
       </antlr>
  -
     </target>
   
     <target name="jam.compile.check">
  -<!--
  -     <uptodate property="jam.compile.notRequired" targetfile="build/classes/jam">
  +     <uptodate property="jam.compile.notRequired" targetfile="build/classes/jam/.flagfile">
           <srcfiles dir="${jam_gendir}" includes="**/*"/>
           <srcfiles dir="src/jam" includes="**/*"/>
        </uptodate>
  --->
     </target>
   
  +  <target name='jam.compile' depends='dirs, jam.parser, jam.compile.check'
  +  	  unless="jam.compile.notRequired" >
   
  -  <target name='jam.compile' depends='dirs,jam.compile.check' unless='jam.compile.notRequired'
 >
       <mkdir dir='build/classes/jam'/>
  +
       <javac srcdir='src/jam' destdir='build/classes/jam' source='1.4' debug='on'>
         <src path='src/jam'/>
         <src path='${jam_gendir}'/>
  @@ -837,6 +833,8 @@
           <pathelement path='build/classes'/>
         </classpath>
       </javac>
  +
  +    <touch file="build/classes/jam/.flagfile" />
     </target>
   
     <!-- binding target =============================================== -->
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-cvs-help@xml.apache.org


Mime
View raw message