On 01/19/2011 01:24 PM, Stéphane Ducasse wrote:
hi guys
what should be the load or loadDefault definition if I want to load the latest version as defined by a method of this style?
version02: spec
<version: '0.2'> spec for: #common do: [ spec repository: 'http://www.squeaksource.com/Soup'. spec package: 'Soup-Core' with: 'Soup-Core-StephaneDucasse.8'; package: 'Soup-Tests-Core' with: 'Soup-Tests-Core-StephaneDucasse.2'; package: 'Soup-Help' with: 'Soup-Help-StephaneDucasse.2' ].
AM I correct to believe that
load "self load"
^self project latestVersion load
execute version02: if this is the last method version?
Stef
Stef, Yes that is correct. #latestVersion filters out versions with #baseline, #broken, or #development blessings... Dale