On 1 oct. 2009, at 09:40, Lukas Renggli wrote:
The problem is
caused be the failure to load Fame.
Ok, now I understand. This is your fault, because you have overlapping
package names.
OK I see, then we will have more problem with Mondrian (Mondrian /
MondrianPaintings).
Repackaging Moose is envisaged, but it's not gonna be very easy. By
the way, I tried the 'rename package' refactoring and it didnt quite
work as expected: it creates a new package with the name, but classes
(and class extensions) remain in the old package. Also it does some
tricks in Monticello so that the new package seems to appear as a
version with ancestors (it seems a bit magic to me, but perhaps MC
supports package renaming)
If you give the prefix 'Fame' then any of the packages 'Fame',
'FameLabs' and 'FameUtil' is picked at random. Previously it only has
worked by chance, as the sorting was implemented slightly different (I
sorted the complete repository, not just the versions in question).
The latest version of Gofer should fix the problem. I added another
hack to the algorithm figuring out the version to load. If there are
exact package matches, the prefix matches are removed. That solves
this problem, and I hope it does not introduce new ones. In any case
you should consider renaming/removing these Fame packages, because
they are not cleanly loadable anyway.
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
Simon