Kyle,
I think most projects copy the files to a "build" directory to replace the
tokens within the files. Also, for "official" builds, it gives you a place
from which to archive the source that was used to create the build.
I wrote our targets to compile from the source without doing a copy first.
But, that might change in the future as needs and requirements change...
-Mark
-----Original Message-----
From: Kyle Adams [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 29, 2001 7:50 AM
To: [EMAIL PROTECTED]
Subject: The build directory
In several of the papers I've read on using Ant (specifically Ant in Anger
and the short tutorial on Ant in the Cactus subproject), a "build" directory
is included in the "ideal" directory structure. Build, as far as I can
tell, is used a temporary holding place for source files while Ant is
compiling them. Right now the scripts I'm creating make use of this;
however, I can't explain why, and my supervisors are asking "why?" So I'll
propose the question to the list - why copy source files to a temporary
directory instead of compiling them straight from the source directory?
Kyle