[squeak-dev] Monticello duplicate package

David Röthlisberger squeak at webcitas.ch
Sun Oct 26 10:04:09 UTC 2008


Hi Mark,

I guess 'Volkmann' is the original package name, right? Then 
'Volkmann-Morphic' or 'Volkmann-Quinto' etc. are actually originally not 
packages, but just class categories. This is how Monticello works: You 
define 'Volkmann' as the package name and everything separated by a '-' 
is then a class category contained in this package.
If you now create explicitly a new package called 'Volkmann-Morphic' you 
  get once this new package and once the class-category stored in 
'Volkmann'. Both contain the same classes, because there is no 
first-class representation of packages in Squeak, everything is relying 
on string. For Squeak itself there are only class categories, Monticello 
bundles class categories with the same systemCategoryPrefix (here 
'Volkmann') together to packages, but if there is once a package and a 
class cat with the same name, Squeak cannot distinguish them.

Cheers,
David


> I wrote some code on a Windows machine and wanted to use it on my Mac. 
> Here's what I did to copy it over.
> 1) On the Windows machine I created a new Monticello package containing 
> the code.
> 2) On the Mac machine I loaded that package.
> 
> In my browser I see two entries for the package which I named 
> "Volkmann-Morphic".
> Here's a screenshot of part of the category pane.
> 
> 
> ------------------------------------------------------------------------
> 
> 
> 
> 
> Any idea why it did this? They both contain the same code. If I delete 
> one, they both go away.
> 
> ---
> Mark Volkmann
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 





More information about the Squeak-dev mailing list