ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: java file dependencies
Date Sun, 09 Jun 2002 09:56:55 GMT
Richard Trahan wrote:
> I'm new to ant and am having some trouble.
> 
> Ant re-compiles my Java source file every time, even though a class
> file exists and the source hasn't been modified. The problem seems to
> be related to package names; Ant apparently feeds destdir to the
> javac -d switch, and javac in turn stores the class files in
> subdirectories according the the package names. But when Ant checks
> dependencies, it only looks in its destdir for the class files and,
> not finding them, announces (with -verbose) that they don't exist and
> proceeds to recompile.
> 
> I have read all the messages in this group's archive on compiler
> dependencies, and apparently other people are having similar
> problems, but I haven't read any solutions.
> 
> I'm probably missing something. Any help, please.
> 

Check the FAQ
http://jakarta.apache.org/ant/faq.html#always-recompiles

Conor



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