Re: identifying existing apps to package

Ned Konz <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.foundation
Message-ID <[email protected]>
On Wednesday 12 February 2003 07:13 pm, Avi Bryant wrote:
> On Wed, 12 Feb 2003, Ned Konz wrote:
> > I'd like to start the packaging process for parts of the 3.5
> > image, as planned.
> >
> > I know Daniel and others have written tools for static analysis;
> > I was hoping someone could come up with a good way to actually
> > discover the contents of the different packages (strongly coupled
> > clusters of otherwise independent classes along with class
> > extensions that they use or that refer to them). Plus, I'd like
> > to get the names of the major writers of the existing code.
>
> Ned,
>
> The hard part, I think, is associating class extensions with the
> right package.  I added some dependency queries to PackageInfo as a
> step towards being able to do this;
> PackageInfo>>browseExternalReferences is particularly useful when
> trying to carve out the image manually, but I never got anywhere
> with an automated tool to do this.  My vague thought was that any
> external references to that package (ie, methods that use that
> package's methods or classes) could be evaluated for inclusion in
> the package, and brought in if that would make the package have
> fewer external references in total.  After a few iterations this
> ought to converge on some kind of rough approximation of the right
> methods, I hope - but I've never tried it.
>
> Is that the kind of tool you were thinking of?

Yes. I think Spaghetti Tracer can do some of this.

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.