ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Zellner <>
Subject dependencies for java 'package'
Date Sat, 14 Sep 2002 14:32:03 GMT

if my java source contains

    package org.zellner.fred;

and I compile with ant's javac task like this

    <javac srcdir   = '.' destdir  = '.'/>

the class files will go into (on unix)


If I build again, ant will compile the java sources again, even if the
sources didn't change, as ant seems to check only srcdir = '.' for class
files and in '.' there are no class files.

How do I set up the dependencies in ant correctly in this case? (so that
the files are NOT compiled twice if they didn't change).


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message