Finding class references (Was Re: [squeak-dev] The Trunk: SMLoader-fbs.78.mcz)

Tobias Pape Das.Linux at gmx.de
Tue Feb 26 15:53:07 UTC 2013


Am 26.02.2013 um 16:00 schrieb Frank Shearar <frank.shearar at gmail.com>:

> On 26 February 2013 07:21, Frank Shearar <frank.shearar at gmail.com> wrote:
>> :)
>> 
>> I'm working on an InstallerGitHub that will pull in WebClient as
>> needed
> 
> So I have something that will happily load chunk-format files:
> 
> (Installer github user: 'frankshearar' repository: 'Zippers' commitId:
> 'master') install
> 
> pulls a zipball down from github, unzips it and loads all the *.st
> files in that repository.
> 
> Except that I neglected to consider the small detail that since
> RootContext subclasses ZipperContext, I must first load (the file
> containing) ZipperContext before I load (the file containing)
> RootContext, since class initialization will otherwise fail.
> 
> Which leaves me in a mild pickle. I can either resolve the load order
> problem manually - GNU Smalltalk does this, with a package.xml file
> containing the load order (among other things), or I can try identify
> class names in each file and load the files in a topologically sorted
> fashion.
> 
> The former is brain-dead but requires people to write a package.xml
> file. The latter is perhaps easier to use but rather more difficult to
> implement... and possibly fragile.
> 
> Thoughts?


Cypress[1]/FileTree[2]?

[1] https://github.com/CampSmalltalk/Cypress
[2] https://github.com/dalehenrich/filetree

differently said,
When you load filetree, you can access github-filetree based projects
via a monticello api... more details at dale :)

Best
	-Tobias






More information about the Squeak-dev mailing list