On Thu, 25 Apr 2002, Joel Rees <[EMAIL PROTECTED]> wrote: > On Thursday, April 25, 2002 12:26 AM Stefan Bodewig" > <[EMAIL PROTECTED]> wrote > >> On Wed, 24 Apr 2002, Dominique Devienne <[EMAIL PROTECTED]> wrote: >> >> > So <depend> which only looks at the bytecode would not see the >> > dependency to "Constants"... > > So the behavior I'm looking at, where the dependency on my class > full of constants does not get picked up by Ant is because the class > reference is optimized out by the time Ant gets a look at the object > code?
You don't use the <depend> task at all, do you? <javac> doesn't do any dependency checking at all. It will pass all source files that are newer than the corresponding .class files to <our compiler and lets the compiler do the rest. Stefan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
