ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suu Quan" <>
Subject how do I add one more level of dependency
Date Tue, 29 May 2001 16:52:33 GMT
I played with making this simple jar file
  <target name="utils" >
    <delete file="lib/utils.jar"/>
    <javac srcdir="utils" includes="*.java"/>
    <jar jarfile="${lib}/utils.jar"  basedir="utils"  includes="*.class"  />

javac takes care of not recompiling if the .class is already uptodate.
how do I tell ant to not recompile a .java if lib/utils.jar is uptodate?

The way I'm doing it, it always recreates a new jar file (identical to the


View raw message