[squeak-dev] Re: Metacello questions

Dale dale.henrichs at gemstone.com
Thu May 6 17:29:14 UTC 2010



Teleplacer wrote:
> 
> On 5/5/2010 11:36 PM, Torsten Bergmann wrote:
>> Just have a look at ConfigurationOfSQLite3 for a simple
>> example. This one has a "project dependency" on ConfigurationOfFFI.
>>
>> If you want Help system project to be loaded in your configurartion
>>   you need to define it in the baselineXXX method and set a specific
>> version of the project in your own #versionXXX method
> 
> Thanks. Does that mean the documentation is just wrong then? It says
> 
> MetacelloReferenceConfig>>baseline10:
> 
> 	"... snip ..."
> 
> 		spec
> 			"Create or update a project reference"
> 			project: 'UI Support' with: [							
> 				"One or more of the following attributes may be defined or changed"
> 				spec
> 					"Name of config class (i.e., ConfigurationOfXXX)"
> 					className: 'ConfigurationOfUI';
> 					"Version of project to be loaded. if theversionString is not 
> specified, then the latest version of the project is used."
> 					versionString: '1.0';
> 
> This last comment made me assume that not providing a version would be 
> enough to make Metacello load the latest version. Also, the reference 
> config has no #version: anywhere related to the project dependency. Oh, 
> and what's the difference between #version: (SQLite3) and 
> #versionString: (MetacelloReferenceConfig)?
> 
> Cheers,
>    - Andreas
> 
Andreas,

The documentation is correct and your understanding is correct ... at the
moment I'm not exactly sure why the Help System is not loaded in your case
... if you could share your complete config, what version of Squeak you are
working with and the expression you use to load (privately if you want), I
might be able to figure out the answer to your question...

Dale
-- 
View this message in context: http://forum.world.st/Metacello-questions-tp2132073p2133038.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.



More information about the Squeak-dev mailing list