[squeak-dev] How do I create SqueakMap package for loading an MCConfiguration?

Bert Freudenberg bert at freudenbergs.de
Wed Jan 14 12:43:34 UTC 2015


> On 13.01.2015, at 18:08, Trygve Reenskaug <trygver at ifi.uio.no> wrote:
> 
> I want to configure BabyIDE with a number of examples into a package that interested Squeakers can install with a minimum of fuss. I chose MonticelloConfigurations because it looked much simpler than Metacello.
> Being utterly confused after reading code, the documentation I could find. Also trying what I could guess at.
> 
> The configuration is at
>    http://www.squeaksource.com/DCI/BBAllInOne-TRee.1.mcz
> and at
>    http://www.squeaksource.com/DCI/BBAllInOne-TRee.18.mcm
> 
> I have defined a SqueakMap package 'BabyIdeAllInOne' with 3 versions for loading the configuration. None of them work:
> I open a fresh image and use the SqueakMap Package Loader to load BabyIdeAllInOne 1.2. I get an error
> 'No package release found with version TRee.1'
> -----
> The question appears to be:
> Where did SMSqueakMap look when it didn't find a release?
> I have tried these scripts (among many):
>     SMSqueakMap default installPackageNamed: 'BBallInOne' version: 'TRee.1'
> and
>     SMSqueakMap default installPackageNamed: 'BBallInOne' version: 'TRee.18'
> 
> May be I shouldn't have used a script at all, but relied on some unknown convention?
> 
> I'm completely lost and badly need help.

Did you try without a typo?

	'BBAllInOne' ~= 'BBallInOne'.

I have not tried with SqueakMap but this appears to work:

	(Installer squeaksource project: 'DCI') install: 'BBAllInOne'

- Bert -



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4115 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150114/aa481f65/smime.bin


More information about the Squeak-dev mailing list