Today I create my first configurationOf for my project.
I want seaside to be loaded. If I create a baseline like this (see below), I get the error "Message not understood: receiver of "loadUsing" isNil" I included the other stuff (artefact, JQueryWidgetBox,xmlsupport, mongo) the same way, but with the ConfigurationOfSeaside30 it did not work. Can you please give me a hint, how to add seaside30 to my baseline. Or just wait til http://forum.world.st/Pharo-2-0-scriptaculous-does-not-work-tt4691931.html is solved? Sabine baseline100: spec <version: '1.0-baseline'> spec for: #common do: [ spec blessing: #baseline. spec project: 'seaside' with: [ spec className: 'ConfigurationOfSeaside30'; loads: #('ALL' ); versionString: '3.0.8'; repository: 'http://ss3.gemstone.com/ss/MetaRepoForPharo20' ]. .... |
Administrator
|
I don't see an obvious problem... Will you attach more of the call chain from the error or check out ConfigurationOfSeasideRest in http://www.squeaksource.com/MetacelloRepository which loads seaside 30
Cheers,
Sean |
I take a new 2.0. image and try to load only seaside with the following code:
baseline100: spec <version: '1.0-baseline'> spec for: #common do: [ spec blessing: #baseline. spec project: 'seaside' with: [ spec className: 'ConfigurationOfSeaside30'; loads: #('ALL'); versionString: '3.0.8'; repository: 'http://ss3.gemstone.com/ss/MetaRepoForPharo20' ] ] version110: spec <version: '1.1' imports: #('1.0-baseline')> spec for: #common do: [ spec blessing: #development. ] This fails when loading 'Kom''1.0.9' because projectPackage isNil. I dont need to solve this probolem, I only need a snippet how to load seaside within my Configuration of. this is the Stack: UndefinedObject(Object)>>doesNotUnderstand: #loadUsing: MetacelloMCProjectSpec>>ensureLoadedForDevelopmentUsing: MetacelloMCVersionSpecLoader>>load in Block: [:pkg | ... Array(SequenceableCollection)>>do: MetacelloMCVersionSpecLoader>>load MetacelloMCVersion>>executeLoadFromArray: MetacelloMCVersion>>fetchRequiredFromArray: in Block: [:dict | ^ self executeLoadFromArray: anArray] MetacelloPharoPlatform(MetacelloPlatform)>>useStackCacheDuring:defaultDictionary: in Block: [^ aBlock value: dict] BlockClosure>>on:do: MetacelloPharoPlatform(MetacelloPlatform)>>useStackCacheDuring:defaultDictionary: MetacelloMCVersion>>fetchRequiredFromArray: in Block: [self versionSpec loader: newLoader.... BlockClosure>>ensure: MetacelloMCVersion>>fetchRequiredFromArray: in Block: [[self versionSpec loader: newLoader.... MetacelloPharoPlatform>>do:displaying: in Block: [:bar | ... BlockClosure>>cull: Job>>run in Block: [result := block cull: self] BlockClosure>>on:do: Job>>run in Block: [self prepareForRunning.... BlockClosure>>ensure: Job>>run MorphicUIManager(UIManager)>>displayProgress:from:to:during: ByteString(String)>>displayProgressFrom:to:during: MetacelloPharoPlatform>>do:displaying: MetacelloMCVersion>>fetchRequiredFromArray: MetacelloMCProjectSpec>>loadVersion: in Block: [:dict | ... MetacelloPharoPlatform(MetacelloPlatform)>>useStackCacheDuring:defaultDictionary: in Block: [^ aBlock value: dict] BlockClosure>>on:do: MetacelloPharoPlatform(MetacelloPlatform)>>useStackCacheDuring:defaultDictionary: MetacelloMCProjectSpec>>loadVersion: MetacelloMCProjectSpec>>load |
Ok, I think I can answer my question myself:
spec project: 'Seaside30' with: [ spec className: 'ConfigurationOfSeaside30'; versionString: #'stable'; loads: #('default'); repository: 'http://www.squeaksource.com/MetacelloRepository' ]. works. |
works here too indeed. pharo 2.0 fresh. Le 11 juin 2013 10:54, "Sabine Knöfel" <[hidden email]> a écrit :
Ok, I think I can answer my question myself: |
Free forum by Nabble | Edit this page |