stevel      2003/01/15 17:26:15

  Modified:    java     build.xml
  Log:
  improving java dependency checking; this reduces the no. of changes which need a 
clean build to take. This task works by extracting the import info from .class files 
(and caching it), then deletes class files that are out of date w.r.t. any 
dependencies, not just the direct source file. So everything but constant import 
should get picked up.
  
  Revision  Changes    Path
  1.224     +3 -0      xml-axis/java/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/build.xml,v
  retrieving revision 1.223
  retrieving revision 1.224
  diff -u -r1.223 -r1.224
  --- build.xml 2 Jan 2003 13:10:47 -0000       1.223
  +++ build.xml 16 Jan 2003 01:26:15 -0000      1.224
  @@ -87,6 +87,9 @@
     <!-- Compiles the source directory                                       -->
     <!-- =================================================================== -->
     <target name="compile" depends="printEnv" unless="compile.built">
  +    <depend srcdir="${src.dir}" destdir="${build.dest}"
  +            cache="${build.dir}/dependencycache" closure="no">
  +    </depend>  
       <javac srcdir="${src.dir}" destdir="${build.dest}" debug="${debug}"
         deprecation="${deprecation}"
         classpathref="classpath">
  
  
  


Reply via email to