On Mon, 7 May 2001, Ceki [iso-8859-1] G�lc� wrote:

> 
> I have asked this before but is there a need for an intermediary
> directory? For example, to take an example I am familiar with, Tomcat
> 4.x, a damn good project I might add, has a build/ directory and a
> dist/ directory where dist/ is a copy of build/. I do not know why
> Tomcat is doing this but it is. Other projects are doing similar
> things. I am obviously missing something...
> 

The two targets are *not* identical.

Tomcat developers want to do the minimum amount of work necessary to
create a runnable version of Tomcat -- thus, they execute the default
build.xml target ("deploy-main") that creates an executable Tomcat 4.0 in
the "build" directory.  To speed things up, this dispenses with Javadoc
creation, JARing things up, and stuff like that.

When you're ready to cut a release (or a nightly build), the "dist" target
is used, which creates a complete binary distribution.  Obviously, large
parts of this can be copied from the "build" output (it would not make
sense to recompile everything, and so on) -- but there are also additional
steps.  But this target is not used for daily development work.

Bottom line -- having an intermediate build directory substantially
improves the turnaround time for me as a Tomcat developer.

Craig


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to