baseline for seaside 3.0

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

baseline for seaside 3.0

Sabine Manaa
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' ].
....
Reply | Threaded
Open this post in threaded view
|

Re: baseline for seaside 3.0

Sean P. DeNigris
Administrator
Sabine Knöfel wrote
If I create a baseline like this (see below), I get the error
"Message not understood: receiver of "loadUsing" isNil"
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
Reply | Threaded
Open this post in threaded view
|

Re: baseline for seaside 3.0

Sabine Manaa
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
Reply | Threaded
Open this post in threaded view
|

Re: baseline for seaside 3.0

Sabine Manaa
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.

Reply | Threaded
Open this post in threaded view
|

Re: baseline for seaside 3.0

philippeback

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:

spec
project: 'Seaside30'
        with: [
                spec
                 className: 'ConfigurationOfSeaside30';
                 versionString: #'stable';
                 loads: #('default');
                 repository: 'http://www.squeaksource.com/MetacelloRepository' ].

works.





--
View this message in context: http://forum.world.st/baseline-for-seaside-3-0-tp4692630p4692747.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.