Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-04-04 02:17:14


David Abrahams wrote:

> > 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.

Not yet right -- it rewrites the content of the scracth directory created
when the tester object was created, not the current working dir.

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

Except for os.chdir? Have not need it yet.

> > > > 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.

Actually, half-way there, just because its something simple and pleasant to
have in the beginning of a day.

> > 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!

Good night!

- Volodya

 


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