Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-04-04 02:04:13


----- Original Message -----
From: "Vladimir Prus" <ghost_at_[hidden]>

> > copy_tree - copies an existing directory tree and sets the
working
> > directory to the root of the copy.
>
> Nay, this is not what the method does. It actually does
> rm -rf . && cp -r dir .
> as you already spelled it, not
> mkdir /tmp/another_tmp_dir && cp dir /tmp/another_tmp_dir && cd
/tmp/another_tmp_dir

Oh.

rewrite_cwd - replaces the contents of the current working
directory with the contents of a specified directory.

BTW, is there a way to then change the cwd to a sub-directory of the
rewritten tree?

> > > Why would you like it? When specifying name to {except, ignore}*
> >
> > methods, it
> >
> > > make no difference. Or do you have wider applications for such
class?
> >
> > 1. I think it would be cleaner.
> > 2. Fewer quotes
> > 3. I think Scons will want it eventually
> > 4. I am looking into the future at making Scons and Jam more
similar.
>
> I understand you and your argumentation is OK for me. I'll implement
this
> someday, hopefully soon.

No rush.

> Please also comment on the issues that you've omitted due to lack of
the
> updated version of the docs.

I'll go back and look at that tomorrow, after I've slept ;-)
Good morning!

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk