[Glass] Pier3AddOns package don't load

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

[Glass] Pier3AddOns package don't load

GLASS mailing list
Ciao,

i'm working to load Pier3AddOns into Gemstone 3.1.0.6 with Glass 1.0-beta.9.2.

When i do the command:  

Metacello new configuration: 'Pier3AddOns';
version: '3.0.3';
 onUpgrade: [ :ex :existing :new | 
 existing locked 
 ifTrue: [ ex disallow ]
 ifFalse: [ ex allow ] ]; 
 onConflict: [ :ex | ex disallow ]; 
 onLock: [:ex :existing :new | 
 existing baseName = 'Seaside3' 
 ifTrue: [ ex honor ]. 
 ex pass ]; 
 load.

the system work.

But some package ( marked ) is not load from version declaration

version303: spec
<version: '3.0.3' imports: #('3.0.2-baseline' )>

spec for: #'common' do: [
spec blessing: #'development'.
spec description: 'fixes for Gemstone, refactored the tab widget'.
spec author: 'NickAger'.
spec timestamp: '02/19/2012 21:07'.
spec 
project: 'JQuery Widgetbox' with: '2.6';
project: 'Pier Core' with: #stable;
project: 'RSS' with: #stable;
project: 'XML Parser' with: #stable.
spec
package: 'Pier-Admin' with: 'Pier-Admin-NickAger.87';
package: 'Pier-Blog' with: 'Pier-Blog-NickAger.158';
package: 'Pier-Book' with: 'Pier-Book-NickAger.158';
package: 'Pier-Design' with: 'Pier-Design-NickAger.12';
package: 'Pier-Documents' with: 'Pier-Documents-NickAger.29';
package: 'Pier-EditorEnh' with: 'Pier-EditorEnh-NickAger.62';
package: 'Pier-Exporter-Code' with: 'Pier-Exporter-Code-TudorGirba.53';
package: 'Pier-FileUpload-Common-Wysiwyg' with: 'Pier-FileUpload-Common-Wysiwyg-NickAger.8';
**** package: 'Pier-FileUpload-Nginx-Wysiwyg' with: 'Pier-FileUpload-Nginx-Wysiwyg-NickAger.1';
package: 'Pier-FileUpload-Wysiwyg' with: 'Pier-FileUpload-Wysiwyg-NickAger.6';
package: 'Pier-Google' with: 'Pier-Google-NickAger.20';
package: 'Pier-JQuery' with: 'Pier-JQuery-NickAger.13';
package: 'Pier-Kernel-Distributions' with: 'Pier-Kernel-Distributions-NickAger.52';
package: 'Pier-LinkChecker' with: 'Pier-LinkChecker-lr.7';
**** package: 'Pier-Randomizer' with: 'Pier-Randomizer-NickAger.8';
**** package: 'Pier-Setup' with: 'Pier-Setup-NickAger.103';
package: 'Pier-Shout' with: 'Pier-Shout-NickAger.5';
package: 'Pier-TagCloud' with: 'Pier-TagCloud-NickAger.26';
package: 'Javascript-Jasmine' with: 'Javascript-Jasmine-NickAger.2';
package: 'JQWidgetBox-JSTree' with: 'JQWidgetBox-JSTree-Core-NickAger.17';
**** package: 'Pier-Tests-Exporter-Code' with: 'Pier-Tests-Exporter-Code-NickAger.8';
package: 'Pier-Tests-Wysiwyg' with: 'Pier-Tests-Wysiwyg-NickAger.17';
package: 'Pier-Wysiwyg' with: 'Pier-Wysiwyg-NickAger.83' ].

spec for: #'squeakCommon' do: [
spec project: 'OSProcess' with: '4.3.11'.
spec
package: 'Pier-Twitter' with: 'Pier-Twitter-NickAger.24' ].
spec for: #gemstone do: [
spec
package: 'Shout-Parsing' with: 'Shout-Parsing-NickAger.3';
package: 'Pier-Book' with: 'Pier-Book.gemstone-NickAger.159' ]

I don't understund because ?

The relative baseline looks ok.

Thank,

Dario

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Pier3AddOns package don't load

GLASS mailing list
Dario,

When you use the Metacello `load` command, Metacello loads the 'default' group.

In Pier3AddOns, the 'default' group is defined as:

        group: 'default' with: #('Pier-Admin');

and Pier-Admin is defined as:

        package: 'Pier-Admin'
          with:
            [
              spec
                requires:
                  #('Pier Core' 'JQuery Widgetbox UILayout' 'Pier-Kernel-Distributions' 'JQWidgetBox-JSTree-Core'
                     'Pier-Blog' 'Pier-Book' 'Pier-Design' 'Pier-Documents' 'Pier-EditorEnh' 'Pier-Google' 'Pier-JQuery'
                     'Pier-LinkChecker' 'Pier-TagCloud' 'Pier-Wysiwyg' 'Pier-Tests-Wysiwyg' 'Pier-FileUpload-Common-Wysiwyg'
                     'Pier-FileUpload-Wysiwyg' 'Pier-Shout' 'Twitter Bootstrap' 'Top Feeder' 'Pier-Exporter-Code') ]
                yourself.

And the packages you noted are not required by Pier-Admin or any of the packages required by Pier-Admin.

If you want to load all of the addOns, you can do the following:

  load: 'ALL'

'ALL' is a synthetic group that will cause all packages to be loaded ...

or you can pick an choose the set of packages you want by doing the following:

  load: #('default' 'Pier-Randomizer' 'Pier-Setup'  'Pier-FileUpload-Nginx-Wysiwyg' 'Pier-Tests-Exporter-Code')

And that should do the trick...

Dale


On Wed, Nov 19, 2014 at 3:26 AM, Dario Trussardi via Glass <[hidden email]> wrote:
Ciao,

i'm working to load Pier3AddOns into Gemstone 3.1.0.6 with Glass 1.0-beta.9.2.

When i do the command:  

Metacello new configuration: 'Pier3AddOns';
version: '3.0.3';
 onUpgrade: [ :ex :existing :new | 
 existing locked 
 ifTrue: [ ex disallow ]
 ifFalse: [ ex allow ] ]; 
 onConflict: [ :ex | ex disallow ]; 
 onLock: [:ex :existing :new | 
 existing baseName = 'Seaside3' 
 ifTrue: [ ex honor ]. 
 ex pass ]; 
 load.

the system work.

But some package ( marked ) is not load from version declaration

version303: spec
<version: '3.0.3' imports: #('3.0.2-baseline' )>

spec for: #'common' do: [
spec blessing: #'development'.
spec description: 'fixes for Gemstone, refactored the tab widget'.
spec author: 'NickAger'.
spec timestamp: '02/19/2012 21:07'.
spec 
project: 'JQuery Widgetbox' with: '2.6';
project: 'Pier Core' with: #stable;
project: 'RSS' with: #stable;
project: 'XML Parser' with: #stable.
spec
package: 'Pier-Admin' with: 'Pier-Admin-NickAger.87';
package: 'Pier-Blog' with: 'Pier-Blog-NickAger.158';
package: 'Pier-Book' with: 'Pier-Book-NickAger.158';
package: 'Pier-Design' with: 'Pier-Design-NickAger.12';
package: 'Pier-Documents' with: 'Pier-Documents-NickAger.29';
package: 'Pier-EditorEnh' with: 'Pier-EditorEnh-NickAger.62';
package: 'Pier-Exporter-Code' with: 'Pier-Exporter-Code-TudorGirba.53';
package: 'Pier-FileUpload-Common-Wysiwyg' with: 'Pier-FileUpload-Common-Wysiwyg-NickAger.8';
**** package: 'Pier-FileUpload-Nginx-Wysiwyg' with: 'Pier-FileUpload-Nginx-Wysiwyg-NickAger.1';
package: 'Pier-FileUpload-Wysiwyg' with: 'Pier-FileUpload-Wysiwyg-NickAger.6';
package: 'Pier-Google' with: 'Pier-Google-NickAger.20';
package: 'Pier-JQuery' with: 'Pier-JQuery-NickAger.13';
package: 'Pier-Kernel-Distributions' with: 'Pier-Kernel-Distributions-NickAger.52';
package: 'Pier-LinkChecker' with: 'Pier-LinkChecker-lr.7';
**** package: 'Pier-Randomizer' with: 'Pier-Randomizer-NickAger.8';
**** package: 'Pier-Setup' with: 'Pier-Setup-NickAger.103';
package: 'Pier-Shout' with: 'Pier-Shout-NickAger.5';
package: 'Pier-TagCloud' with: 'Pier-TagCloud-NickAger.26';
package: 'Javascript-Jasmine' with: 'Javascript-Jasmine-NickAger.2';
package: 'JQWidgetBox-JSTree' with: 'JQWidgetBox-JSTree-Core-NickAger.17';
**** package: 'Pier-Tests-Exporter-Code' with: 'Pier-Tests-Exporter-Code-NickAger.8';
package: 'Pier-Tests-Wysiwyg' with: 'Pier-Tests-Wysiwyg-NickAger.17';
package: 'Pier-Wysiwyg' with: 'Pier-Wysiwyg-NickAger.83' ].

spec for: #'squeakCommon' do: [
spec project: 'OSProcess' with: '4.3.11'.
spec
package: 'Pier-Twitter' with: 'Pier-Twitter-NickAger.24' ].
spec for: #gemstone do: [
spec
package: 'Shout-Parsing' with: 'Shout-Parsing-NickAger.3';
package: 'Pier-Book' with: 'Pier-Book.gemstone-NickAger.159' ]

I don't understund because ?

The relative baseline looks ok.

Thank,

Dario

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass