ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suu Quan" <sq...@wwc.com>
Subject Re: how do I add one more level of dependency
Date Thu, 31 May 2001 16:39:10 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" />
> >   </target>
> > 
> > javac takes care of not recompiling if the .class is already
> > uptodate.  but how do I tell ant to not recompile a .java if
> > lib/utils.jar is uptodate?
> 
> Why do you delete utils.jar in the first place? 

Because I was stupid.
Taking that out took care of the problem.
Thanks.


Mime
View raw message