ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Camron Shimy <csh...@Volumebuy.com>
Subject Javac dependicies
Date Tue, 14 Aug 2001 00:58:29 GMT
Here is the code I am trying to run.  Every time I run 'ant', ConfigA and
ConfigB is recompiled, even though the class file has the same timestamp as
the java file.  Is there something I am doing wrong with these dependencies?
Any tips would be greatly appreciated.  Here is the code:


  <target name="ConfigA">
    <javac srcdir="."
           destdir="../classes"
           includes="ConfigA.java"
           classpath="../classes"
    />
  </target>

  <target name="ConfigB" depends="ConfigA">
    <javac srcdir="."
           destdir="../classes"
           includes="ConfigB.java"
           classpath="../classes"
    />

  </target>

Mime
View raw message