pier2?

Dale Henrichs dale.henrichs at gemstone.com
Wed Jan 27 03:56:55 MET 2010


Andreas,

Gofer is just missing for the initial load of the Configuration itself...

Dale
----- "Andreas Raab" <andreas.raab at gmx.de> wrote:

| Miguel Enrique Cobá Martinez wrote:
| > El mar, 26-01-2010 a las 14:15 -0800, Randal L. Schwartz escribió:
| >>
| >> Is there any way to automate all of this in some sort of "doit"?
| >
| > No way unless squeak trunk includes Gofer as part of the image.
| 
| Strange you should say that. I find the following in
| http://www.squeaksource.com/MetacelloRepository/ConfigurationOfSeaside-DaleHenrichs.12.mcz
| 
| ensureMetacello
| 	"Bootstrap Gofer (if necessary), bootstrap ConfigurationOfMetacello
| (using old Gofer API), then load the latest
| 	version of Metacello itself."
| 
| 	Smalltalk at: #MetacelloProject ifAbsent: [
| 		Smalltalk at: #Gofer ifAbsent: [
| 			"Current version of Gofer from which to bootstrap - as of
| 1.0-beta.21"
| 			self bootstrapPackage: 'Gofer-Core-lr.115' from:
| 'http://seaside.gemstone.com/ss/metacello' ].
| 		Smalltalk at: #Gofer ifPresent: [:goferClass | | gofer |
| 			gofer := goferClass new
| 				url: 'http://seaside.gemstone.com/ss/metacello';
| 				yourself.
| 			[ gofer addPackage: 'ConfigurationOfMetacello' ] on: Warning do:
| [:ex
| | ex resume ].
| 			gofer load ].
| 		"load 'default' group of Metacello"
| 		(Smalltalk at: #ConfigurationOfMetacello) perform: #load ].
| 
| This looks like it's loading Gofer automatically if not present.
| 
| Cheers,
|    - Andreas
| 
| _______________________________________________
| Magritte, Pier and Related Tools ...
| https://www.iam.unibe.ch/mailman/listinfo/smallwiki



More information about the smallwiki mailing list