tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Downey <>
Subject RE: 3.3 build tree
Date Thu, 01 Feb 2001 22:07:50 GMT
Most GNU projects work the same way. For example GCC. Typical fs layout is
something like:

then, from in the bld-gcc-2.95.2, you run ../gcc-2.95.2/configure, and the
build environment is created, while the source environment remains pristine.
This is imperative if you're building for several environments out of the
same source tree. In which case you might have

-----Original Message-----
From: []
Sent: Thursday, February 01, 2001 5:08 PM
Subject: Re: 3.3 build tree

> I see what you are saying, that a "make install" usually creates the files
> in etc or opt rather and not in the source directory. I guess I look at
> "build" as more equivalent to "make", because I ususally just copy the
> resulting directory structure from build to the production location
> manually.

Take a look at any RedHat ( or any similar, RPM-based linux system):

Not that RedHat is doing it the "right" way - it's just a valid way to do
things that keeps the source clean.

> While the proposed new solution may not completely be the *nix standard,
> it is, IMHO, a little better than the current method inasmuch as it is not
> recursing up the directory structure. That has always struck me as a
> little unsafe for reasons that i, admittedly, cannot fully quantify (just
> a feeling). My opinion would be that the new structure be the default. I

I can say the same about building in the source directory... It just feels
wrong and ugly ( kind of like having .class and .java in the same
directory, instead of using javac -d ). 

> know that there are enough scripts in place that it would be a subtle pain
> for some, but there always seems to be something to change between
> releases anyway :-)

I would rather change java code... 


To unsubscribe, e-mail:
For additional commands, email:
electronic mail transmission
may contain confidential information and is intended only for the person(s)
named.  Any use, copying or disclosure by any other person is strictly
prohibited.  If you have received this transmission in error, please notify
the sender via e-mail. <><><><><><><><><><><><><><><><><><><><><>

View raw message