Re: [cciug] Java and Clearmake

From: Christian Goetze (cg@digisle.net)
Date: Mon Jul 30 2001 - 15:10:40 EDT


On Mon, 30 Jul 2001, Vincent Broyles wrote:

> I am using time dependency with java in my make system to
> rebuild java files that are newer than the associated class file. This
> is working in a snapshot view, but not in a dynamic view. Does anyone
> know why? Is there some time/date flag to turn on for dynamic views?
> Or some switch to pass make or something to enable this dependency
> check?

You cannot use your own time based "out of date" check within dynamic
views, for fairly obvious reasons:

 1) Timestamps represent the creation time of the selected version.
    Changing the config spec may change the selected version, which
    will change the timestamp but usually not in such a way that
    the source file will appear newer than the DO.

 2) Timestamps can actually move backwards, for example when cancelling
    a checkout

You need to express all your dependencies and let clearmake decide, or you
need to use a tool that can deal with cases (1) and (2) above, for example
Peter Miller's "cook".

--
cg

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 22:04:05 EDT