cons-discuss
[Top][All Lists]
Advanced

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

Re: Split cons code (was: Re: Debian package and development of CONS)


From: rick . croote
Subject: Re: Split cons code (was: Re: Debian package and development of CONS)
Date: Fri, 5 Sep 2003 16:42:15 -0700


Thank you for that clarification.  That is not the problem I solved.  I had very little experience with Cons prior to 2.3.0, as one of my first assignments was to upgrade our initial prototype of using Cons to 2.3.0.  We do have the problem that you identify, and it is a problem in that many developers use DevStudio to build, but our official build is Cons and they must use that.  I knew, and have informed them that outside contamination by other build systems requires a clean build in the Cons environment.  But, I didn't make a big deal of this because Make, and I'm sure DevStudio would have the same problem.

I apologize for leading you astray as to having a fix,
---
Rick Croote








Johan Holmberg <address@hidden>

Sent by:
address@hidden

09/05/2003 08:01 AM

       
        To:        address@hidden
        cc:        (bcc: Rick Croote/ATL-BTL/MS/PHILIPS)
        Subject:        Re: Split cons code (was: Re: Debian package and development of CONS)

        Classification:        





On Fri, 5 Sep 2003 address@hidden wrote:
>
> On Sept. 6, 2002, I submitted a message to this group that included source
> that has since fixed my dependency problems with the Command method.  We
> have been using Cons 2.3.0 and we are very happy with the performance and
> reliability.
> ---
> Rick Croote
>

Are we really talking about the same thing ?

Does your patched version work better than like below ? (I tried to
apply your patch, but couldn't notice any difference in this
situation).

Suppose you have a Construct file like:

       $e = cons->new();
       $e->Command("tgt.txt", "src.txt", "cp %<  %>");

And issue the following commands:

       $ echo "qwerty" > src.txt
       $ cons .
       cp src.txt tgt.txt
       $ cp /dev/null tgt.txt
       $ cons .
       cons.pl: "." is up-to-date.    <----- should NOT be up-to-date


Note that this is just a "as small as possible" example. As far as I
know it is not specific to "Command", but a general problem in 2.3.0
an later (even with your patch).

I would be glad to be proven wrong ...

/Johan Holmberg



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



reply via email to

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