On 6/3/11, Dale Henrichs dhenrich@vmware.com wrote:
----- Original Message ----- | From: "Levente Uzonyi" leves@elte.hu | To: "Chris Muller" ma.chris.m@gmail.com | Cc: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org | Sent: Friday, June 3, 2011 9:49:46 AM | Subject: Re: [squeak-dev] Re: Testing Seaside in Squeak4.3alpha-11321 | | On Fri, 3 Jun 2011, Chris Muller wrote: |
<snip> | So the simple solution is to be explicit and change the installer | script | from loading ConfigurationOfOmniBrowser, to load | ConfigurationOfOmniBrowser-xyz.123. The same configuration should be | able | to load OB into Squeak 4.1, 4.2, head, etc.
Levente,
I have been toying with the idea of making it possible to specify the version of the configuration along with the version of the package in Metacello, for exactly the reasons you are describing ...
Dale
Dale
Yes, that seems to be a useful addition to Metacello.
Note 1 is about doing a load test Note 2 is about the ConfigurationOfSeaside30 as concerns Squeak. The problem is with ConfigurationOfOmniBrowser, which is loaded there, right?
--Hannes
Note 1: -- for the record (retest): I just did a re-test to load Seaside into a fresh Squeak4.3alpha-11454 image (as of now) with the code snippet from the 'Extending the system' workspace.
"Seaside 3.0 http://www.seaside.st" (Installer ss project: 'MetacelloRepository') install: 'ConfigurationOfSeaside30'. (Smalltalk at: #ConfigurationOfSeaside30) load. (Smalltalk at: #WAPharoServerAdaptorBrowser) open.
It has the same problem as mentioned at the start of this thread (Buttons in Seaside Control Panel do not work because of a missing fix Andreas Raab has provided in the meantime; not the right version of OmniBrowser loaded).
Note 2:
From the class ConfigurationOfSeaside30 method
baseline304: spec
Is this the method which is picked? Or where do I find the description you are referring to?
We have to look at the part 'squeakCommon', where ConfigurationOfOmniBrowser is loaded. There the solution has to come from.
baseline304: spec <version: '3.0.4-baseline' imports: #('3.0.4-baseline-commonBaseline' )>
spec for: #'common' do: [ spec blessing: #'baseline'. spec description: ''. spec package: 'Seaside-FileSystem' with: [ spec requires: #('Seaside-Core' ); repository: 'http://www.squeaksource.com/Seaside30LGPL'. ]; package: 'Seaside-Tests-FileSystem' with: [ spec requires: #('Seaside-FileSystem' ); repository: 'http://www.squeaksource.com/Seaside30LGPL'. ]. spec group: 'Core' with: #('Base' 'Development' 'RSS-Core' 'Javascript-Core' 'Prototype-Core' 'Scriptaculous-Core' 'JQuery-Core' 'JQuery-UI' 'Seaside-Email' 'Seaside-HTML5' 'Seaside-InternetExplorer' 'Seaside-Examples' 'RSS-Examples' 'Seaside-Tools-Web' 'Scriptaculous-Components' 'Seaside-Swazoo' 'Seaside-Adaptors-Swazoo' 'Seaside-Welcome' 'Seaside-Tools-OmniBrowser' 'Seaside-FileSystem' ); group: 'Tests' with: #('Base Tests' 'Development Tests' 'RSS-Tests-Core' 'Javascript-Tests-Core' 'Seaside-Tests-Email' 'Seaside-Tests-Functional' 'Prototype-Tests-Core' 'Scriptaculous-Tests-Core' 'Scriptaculous-Tests-Components' 'JQuery-Tests-Core' 'JQuery-Tests-UI' 'Seaside-Tests-HTML5' 'Seaside-Tests-InternetExplorer' 'Seaside-Tests-Examples' 'Seaside-Tests-Tools-Web' 'Seaside-Tests-UTF8' 'Seaside-Tests-FileSystem' 'Seaside-Tests-Welcome' ). ].
spec for: #'squeakCommon' do: [ spec project: 'Kom' with: [ spec className: 'ConfigurationOfKomHttpServer'; versionString: #'bleedingEdge'; repository: 'http://www.squeaksource.com/MetacelloRepository' ]; project: 'OB' with: [ spec className: 'ConfigurationOfOmniBrowser'; versionString: #'stable'; loads: #('Core' ); repository: 'http://www.squeaksource.com/MetacelloRepository' ]; project: 'SPort2' with: [ spec className: 'ConfigurationOfSPort2'; versionString: '2.31'; repository: 'http://www.squeaksource.com/MetacelloRepository' ]. spec package: 'Javascript-Core' with: [ spec includes: #('Javascript-Pharo-Core' ). ]; package: 'Seaside-Core' with: [ spec includes: #('Seaside-Pharo-Core' ). ]; package: 'Seaside-Canvas' with: [ spec includes: #('Seaside-Pharo-Canvas' ). ]; package: 'Seaside-Development' with: [ spec includes: #('Seaside-Pharo-Development' ). ]; package: 'Seaside-Email' with: [ spec includes: #('Seaside-Pharo-Email' ). ]; package: 'Seaside-Environment' with: [ spec includes: #('Seaside-Pharo-Environment' ). ]; package: 'Seaside-Flow' with: [ spec includes: #('Seaside-Pharo-Flow' ). ];
Hannes,
If you want to do a test load, you can use #record or #record: instead of #load or #load: and print the result ... you'll get a listing of the packages and configurations that will be loaded into your image ...
I assume that the Button problem is related to an OB issue on Squeak. I am not aware of a fix, but if a fixed version appears I can update the ConfigurationOfOmniBrowser to point to the appropriate packages ....
Dale
----- Original Message ----- | From: "Hannes Hirzel" hannes.hirzel@gmail.com | To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org | Cc: "Chris Muller" ma.chris.m@gmail.com | Sent: Friday, June 3, 2011 9:22:14 PM | Subject: Re: [squeak-dev] Re: Testing Seaside in Squeak4.3alpha-11454 | | On 6/3/11, Dale Henrichs dhenrich@vmware.com wrote: | > | > | > ----- Original Message ----- | > | From: "Levente Uzonyi" leves@elte.hu | > | To: "Chris Muller" ma.chris.m@gmail.com | > | Cc: "The general-purpose Squeak developers list" | > squeak-dev@lists.squeakfoundation.org | > | Sent: Friday, June 3, 2011 9:49:46 AM | > | Subject: Re: [squeak-dev] Re: Testing Seaside in | > | Squeak4.3alpha-11321 | > | | > | On Fri, 3 Jun 2011, Chris Muller wrote: | > | | > <snip> | > | So the simple solution is to be explicit and change the installer | > | script | > | from loading ConfigurationOfOmniBrowser, to load | > | ConfigurationOfOmniBrowser-xyz.123. The same configuration should | > | be | > | able | > | to load OB into Squeak 4.1, 4.2, head, etc. | > | > Levente, | > | > I have been toying with the idea of making it possible to specify | > the | > version of the configuration along with the version of the package | > in | > Metacello, for exactly the reasons you are describing ... | > | > Dale | > | > | | Dale | | Yes, that seems to be a useful addition to Metacello. | | Note 1 is about doing a load test | Note 2 is about the ConfigurationOfSeaside30 as concerns Squeak. | The problem is with ConfigurationOfOmniBrowser, which is loaded | there, right? | | --Hannes | | | Note 1: -- for the record (retest): | I just did a re-test to load Seaside into a fresh | Squeak4.3alpha-11454 | image (as of now) with the code snippet from the 'Extending the | system' workspace. | | "Seaside 3.0 http://www.seaside.st" | (Installer ss project: 'MetacelloRepository') install: | 'ConfigurationOfSeaside30'. | (Smalltalk at: #ConfigurationOfSeaside30) load. | (Smalltalk at: #WAPharoServerAdaptorBrowser) open. | | It has the same problem as mentioned at the start of this thread | (Buttons in Seaside Control Panel do not work because of a missing | fix | Andreas Raab has provided in the meantime; not the right version of | OmniBrowser loaded). | | | Note 2: | | >From the class ConfigurationOfSeaside30 method | baseline304: spec | | Is this the method which is picked? Or where do I find the | description | you are referring to? | | We have to look at the part 'squeakCommon', where | ConfigurationOfOmniBrowser is loaded. There the solution has to come | from. | | | baseline304: spec | <version: '3.0.4-baseline' imports: | #('3.0.4-baseline-commonBaseline' )> | | spec for: #'common' do: [ | spec blessing: #'baseline'. | spec description: ''. | spec | package: 'Seaside-FileSystem' with: [ | spec | requires: #('Seaside-Core' ); | repository: 'http://www.squeaksource.com/Seaside30LGPL'. ]; | package: 'Seaside-Tests-FileSystem' with: [ | spec | requires: #('Seaside-FileSystem' ); | repository: 'http://www.squeaksource.com/Seaside30LGPL'. ]. | spec | group: 'Core' with: #('Base' 'Development' 'RSS-Core' | 'Javascript-Core' 'Prototype-Core' 'Scriptaculous-Core' 'JQuery-Core' | 'JQuery-UI' 'Seaside-Email' 'Seaside-HTML5' | 'Seaside-InternetExplorer' | 'Seaside-Examples' 'RSS-Examples' 'Seaside-Tools-Web' | 'Scriptaculous-Components' 'Seaside-Swazoo' 'Seaside-Adaptors-Swazoo' | 'Seaside-Welcome' 'Seaside-Tools-OmniBrowser' 'Seaside-FileSystem' ); | group: 'Tests' with: #('Base Tests' 'Development Tests' | 'RSS-Tests-Core' 'Javascript-Tests-Core' 'Seaside-Tests-Email' | 'Seaside-Tests-Functional' 'Prototype-Tests-Core' | 'Scriptaculous-Tests-Core' 'Scriptaculous-Tests-Components' | 'JQuery-Tests-Core' 'JQuery-Tests-UI' 'Seaside-Tests-HTML5' | 'Seaside-Tests-InternetExplorer' 'Seaside-Tests-Examples' | 'Seaside-Tests-Tools-Web' 'Seaside-Tests-UTF8' | 'Seaside-Tests-FileSystem' 'Seaside-Tests-Welcome' ). ]. | | spec for: #'squeakCommon' do: [ | spec | project: 'Kom' with: [ | spec | className: 'ConfigurationOfKomHttpServer'; | versionString: #'bleedingEdge'; | repository: 'http://www.squeaksource.com/MetacelloRepository' ]; | project: 'OB' with: [ | spec | className: 'ConfigurationOfOmniBrowser'; | versionString: #'stable'; | loads: #('Core' ); | repository: 'http://www.squeaksource.com/MetacelloRepository' ]; | project: 'SPort2' with: [ | spec | className: 'ConfigurationOfSPort2'; | versionString: '2.31'; | repository: 'http://www.squeaksource.com/MetacelloRepository' ]. | spec | package: 'Javascript-Core' with: [ | spec includes: #('Javascript-Pharo-Core' ). ]; | package: 'Seaside-Core' with: [ | spec includes: #('Seaside-Pharo-Core' ). ]; | package: 'Seaside-Canvas' with: [ | spec includes: #('Seaside-Pharo-Canvas' ). ]; | package: 'Seaside-Development' with: [ | spec includes: #('Seaside-Pharo-Development' ). ]; | package: 'Seaside-Email' with: [ | spec includes: #('Seaside-Pharo-Email' ). ]; | package: 'Seaside-Environment' with: [ | spec includes: #('Seaside-Pharo-Environment' ). ]; | package: 'Seaside-Flow' with: [ | spec includes: #('Seaside-Pharo-Flow' ). ]; | |
squeak-dev@lists.squeakfoundation.org