Vincent Massol wrote:
>
> Looking at the generated build.bat (generated by gen.bat) I can see it
> will do a CVS update/checkout and then copy all the files to basedir.
>
> I guess there are 2 reasons :
> a) to make sure you start with clean directories
> b) to still be able to build even if the network connection is down ?
> (i.e. if the cvs update fails)

One of the main reasons is to capture the update log.

But mostly, it is because I don't trust "build clean".

> I'm asking because the projects I am building are about 320 Mo in size
> and it takes forever to do a xcopy. It is faster to do a clean update
> (update -A -C -d -P).

Will -C delete files?

Note: there are tools like rsync which will do the job faster... deleting
files and only copying over the changed files.

http://jakarta.apache.org/gump/workspace.html

Look at the sync attribute.

> For b), if the cvs update fails, what's the point in doing the build ?

If an update of castor fails (which occurs from time to time), it need not
be fatal

> Conclusion: why couldn't we do a clean update instead of copying the
> whole CVS workspace copy ?
>
> I'm sure I'm missing something ...

Not necessarily...

- Sam Ruby


"Vincent Massol" <[EMAIL PROTECTED]> on 03/30/2002 11:24:15 AM

Please respond to "Alexandria Developers List"
       <[EMAIL PROTECTED]>

To:    <[EMAIL PROTECTED]>
cc:
Subject:    [Gump] build.bat copy



Sam,

Looking at the generated build.bat (generated by gen.bat) I can see it
will do a CVS update/checkout and then copy all the files to basedir.

I guess there are 2 reasons :
a) to make sure you start with clean directories
b) to still be able to build even if the network connection is down ?
(i.e. if the cvs update fails)

I'm asking because the projects I am building are about 320 Mo in size
and it takes forever to do a xcopy. It is faster to do a clean update
(update -A -C -d -P).

For b), if the cvs update fails, what's the point in doing the build ?

Conclusion: why couldn't we do a clean update instead of copying the
whole CVS workspace copy ?

I'm sure I'm missing something ...
Thanks
-Vincent



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




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

Reply via email to