ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <>
Subject Re: The build directory
Date Fri, 29 Jun 2001 17:35:21 GMT
To clarify, we have in each file the following javadoc comment "@version

We also have other files, like configuration files that need a path in them.
We like to define the path in a single place (like as a property in the
build.xml file) so that when this path changes we only update it in one
place. Also some paths need to be absolute so they are resolved by Ant
(using ${basedir}). Another usage is for manifest files (version). Yet
another one is to perform some XSL transformation on an XML source file (for
stylebook documentation for example) ...

Regarding full copy of java sources, as Diane said I don't see any other
good reason either.


----- Original Message -----
From: "Diane Holt" <>
To: <>
Sent: Friday, June 29, 2001 5:08 PM
Subject: Re: The build directory

> --- Kyle Adams <> wrote:
> > 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?
> For the Cactus one, it looks like the idea is that they have files with
> tokens that need to be replaced, so they do a copy-with-filtering. I'm
> assuming this means they have tokens either in every file or in at least
> enough files to make copying the entire tree worthwhile (or they have a
> really small tree). If you don't have that, then I can't think of any
> reason why you'd copy all your source to another tree.
> Diane
> =====
> (
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail

View raw message