ant-user mailing list archives

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

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)

    ${basedir}/org/zellner/fred

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).

-- 
   Johannes

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message