Title: Javac dependicies

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>

Reply via email to