True :), however I was referring to the specifics of this particular snippet of usage.
-----Original Message----- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 11:43 AM To: Ant Users List Subject: RE: doing a build with multiple directories --- Eddie Bernard <[EMAIL PROTECTED]> wrote: > The <javac> task using ${Src} as its root, walk down the directory > structure finding *.java, compiling it, and copying the associated > *.class files to the ${Dest} directory. Correction: The <javac> task doesn't do any copying of the class files -- the java compiler is responsible for creating the package-hierarchy subdirectories in the output directory and placing the class files in them accordingly (ie., according to the package the source file declares itself to be in). > I also imagine that there is a dependency on each java file, so your > classpath attribute might be: > > classpath="${Dest};${your.api}${another.api};" You don't need to include the directory pointed to by 'destdir', since that's automatically included for you by the <javac> task. Diane ===== ([EMAIL PROTECTED]) __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
