<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Package collisions cause a lot of problems with
loading multiple packages. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Two kinds of package collisions are</FONT><FONT
face=Arial size=2> when two packages define the same class
or additional methods on classes not in the package.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Are there any tools for discovering (all the)
package collisions in the current squeak map?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The Version Number package and the KomPackaging
BOTH define VersionNumber.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When a class, method or group of those are removed
from one package and put into another package, the package that they were
removed from needs to have a new version publised that removes the specific
code. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>IF a package has "alternate" versions of a class or
method that is defined in another package we need some way to identify this in
the SqueakMap so that potential loading and running problems can be
avoided.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>A tool that can load all the packages in the squeak
map and identify all package collisions would be very useful and save us all a
great deal of time and effort. If this tool were somehow part of the squeak map
it could show these conficts so that people could avoid them and alert others to
fix them (i.e. the specific package maintainers).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have a package management system (a very simple
one) that includes at the beginning of the file a list of all the classes and
methods, sorted alphabetically, within the package for humans to read
(this would be nice to add to Montecillo ;--). This concept could be extended so
that Squeak Map could read this list and quickly find the collisions in classes,
class categories and methods. Alternatively the entire package needs to be
scanned (I think there is a browser that does somthing like this so you can view
the source without loading it).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>What do you think?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>All the best,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Peter William Lount</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:peter@smalltalk.org">peter@smalltalk.org</A></FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:peter@activeinfo.ca">peter@activeinfo.ca</A></FONT></DIV>
<DIV> </DIV></BODY></HTML>