cons-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Conscript_chdir doesn't stick


From: Alan Grow
Subject: Re: Conscript_chdir doesn't stick
Date: Mon, 12 Apr 2004 23:49:24 +0000

I didn't mean to complain about having the Conscript_chdir parameter around--I feel it's absolutely necessary. I want to see it apply twenty four seven.

I too am saddled with some build tools that need to be run in the same directory as the source files. And besides I think it just makes more sense to chdir to the sub-build's directory, since otherwise it may need knowledge of the source tree structure far above it.

What about adding an attribute to each build action to specify what cwd it should be run with respect to? Whenever Conscript_chdir is turned on, that is.

-Alan

From: address@hidden
To: "Alan Grow" <address@hidden>, address@hidden
Subject: Re: Conscript_chdir doesn't stick
Date: Mon, 12 Apr 2004 10:46:49 -0700

You are correct on all accounts.  But when you think about it, doing the
chdir during process time allows you to more easily determine the source
and targets dynamically as well as reference them with shorter relative
paths.  After the conscripts have been processed, Cons should already now
the full location of every source and target and there is less need to
chdir when you know all the paths.  We have run into the situation where
the tool being executed had to be in the directory.  I was looking for how
we solved it, but I could not find it.  Probably aren't using it anymore.

Rick Croote
Philips Medical










"Alan Grow" <address@hidden>
Sent by:
address@hidden
04/10/2004 11:04 PM


        To:     address@hidden
        cc:     (bcc: Rick Croote/ATL-BTL/MS/PHILIPS)
        Subject:        Conscript_chdir doesn't stick
        Classification:



Hi,

  I'm trying to get cons 2.3.0 to do my hierarchical builds. However,
Conscript_chdir 1 appears only to apply when the Conscript files are
processed--when it comes time to actually execute the build actions,
they're
being done back up in the Construct file directory, not the Conscript
directory.

  Seems undesirable and confusing to process your build script w/ respect
to
one cwd, but then execute it w/ respect to another. What's the point of
processing it in the Conscript dir in the first place then?

  -Alan

_______________________________________________
address@hidden
http://mail.gnu.org/mailman/listinfo/cons-discuss
Cons URL: http://www.dsmit.com/cons/



_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.com/go/onm00200415ave/direct/01/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]