Tx for the pointer Thierry.

So, I did a small script (because there were 314 methods) to see number of non-class-extension methods with and without loading the dirty marker package and I could spot the culprit.

Running this script before and after loading the second package and doing a difference on the two sets shows determining the overridden method.

methods := (RPackage organizer packageNamed: packageName) definedClasses flatCollect: [:class | class ��methodDict values].
methods := methods select: [:aMethod | aMethod category asString includesSubstring: '*'].


regards,
usman


On Wed, May 28, 2014 at 4:30 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Hi Usman,

look if the loaded package has overrides on other packages. If yes, it will dirty them, and looking for changes will clean them.

Thierry

Le 28/05/2014 15:59, Usman Bhatti a ��crit :

Hi,

It is second time in a week that I have to analyze a problem related to
a package getting dirty because of loading another package. But when
looking for changes, the first package becomes clean again.


One occurrence of the problem can be seen in the latest moose image:
- download the latest image here:https://ci.inria.fr/moose/job/moose-5.0/
- monticello browser -> Collections-Abstract -> changes and the package
becomes clean.

Any idea how to determine which method(s) from the incoming package
might be causing changes in the loaded package? Or generally, how to go
about correcting this problem?

usman


--
Thierry Goubier
CEA list
Laboratoire des Fondations des Syst��mes Temps R��el Embarqu��s
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95