Hi Craig,

>Ceki, could you expand on why you're objecting to the multistage build
>process?  I'm with Peter on this one ... multi-stage builds save time for
>the developers (because they do the minimum amount of work required), and
>also make the "dist" target work better:
>
>- They reuse what's already been done, with transformations as needed
>  (so it runs faster, versus rebuilding everything again)

Indeed.

>- They add any *extra* steps needed (create Javadocs, copy sources, etc.)
>  that are appropriate for the binary distribution.

There is nothing wrong with a multistage build process. It is pretty obvious that one 
needs to split the build process into multiple stages. Having a multistaged build is 
not the same as requiring a intermediary build directory. 

IMHO, the intermediate build directory can and should be avoided. Instead of 
selectively copying from the intermediate build/ directory to dist/, one can generate 
directly to dist/ and use tar/zip selectively to create the distribution. The latter 
solution keeps just one copy of files which saves space. More importantly the latter 
is less error-prone as there is only one place to edit files. Does that make sense? 
Ceki    

>- Most fundamentally, they let the "shape" of the intermediate build
>  directory tree be different from that of the binary distribution
>  if that's appropriate to your project.

Couldn't selective tar or zip operation work? Couldn't the <copy> operation be avoided?

>What is it that you believe we are missing?

I dunno. The only difference I see is the requirement for an intermediate directory. 
Regards, Ceki








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

Reply via email to