[squeak-dev] Refactoring browser loading

Tobias Pape Das.Linux at gmx.de
Wed Jan 16 20:23:26 UTC 2019


Hi

> On 16.01.2019, at 20:20, tim Rowledge <tim at rowledge.org> wrote:
> 
> I had a mind to try loading the refactoring browser (see http://ss3.gemstone.com/ss/RefactoringToolsForSqueak.html/Overview?_s=52NK9gjdy81WlQ51&_k=wKVVyVYhknD_y4GY) but none of the three methods mentioned for loading it actually work in a current image.
> 

The snippets there are actually intended to just give a heads start.
It was a good idea in 2011 or so, today no longer.
The installer/Gofer versions don't work as expected, sorry, thats actually my fault…

> The Installer code snippet initially fails because an InstallerURL dNU #project:.
> 
> The Gofer snippet won't work because Gofer does not exist in the image.
> 
> Opening the MC repository works but loading the  ConfigurationOfRefactoringTools-topa.1 does nothing and attempting to load the latest  RefactoringTools-eem.7 fails with many complaints about classes needing loading first.
> 
> Fixing the Installer snippet to refer to squeaksource3 @http://ss3.gemtalksystems.com/ss/ instead of using the obsolete http://ss3.gemstone.com/ss/ makes a promising start but very quickly opens the same error as simply trying to load RefactoringTools-eem.7
> 
> What have I messed up?

Nothing. The thing is intended to be loaded as so:

	Installer ensureRecentMetacello.
	(Smalltalk at: #Metacello) new
		configuration: 'RefactoringTools';
		load.


The "ConfigurationOfRefactoringTools" is a description of what must be loaded.
See the class "ConfigurationOfRefactoringTools" in the package "ConfigurationOfRefactoringTools", methods #baseline10: (which declares dependencies) and #version101: (which gives concrete versions to load).

If you use #record instead of #load you get a nice printout of what _would_ be loaded.

Best regards
	-Tobias
> 
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Useful random insult:- Permanently out to lunch.
> 
> 
> 



More information about the Squeak-dev mailing list