Hi,
i have try yo use magritte 3 and seaside 3.2 inside pharo 5. With seaside works all good. But when i try to install magritte 3. Magritte say that need the seaside html5 canvas package. The error is: 'Error name not found: Seaside-HTML5' These are the packages i use: Metacello new configuration: 'Seaside3'; repository: 'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main'; version: ’3.2.0'; load Gofer it smalltalkhubUser: 'Pharo' project: 'MetaRepoForPharo50'; configurationOf: 'Magritte3'; loadVersion: #stable. There is compatibility between magritte3 and seaside 3.2 on pharo 5? Thanks Francesco |
I don't use magritte but in the ConfigurationOfMagritte you can paste this method and then use the load instructions below it to use Seaside 3.2.
version360: spec <version: '3.6.0' imports: #('3.3-baseline')> spec for: #'common' do: [ spec blessing: #'development'. spec description: 'Switch to Seaside 3.2'. spec author: 'PaulDeBruicker'. spec timestamp: '06/29/2016 20:40'. spec project: 'Grease' with: #'release1.2'; project: 'Seaside3' with: #'release3.2'. spec package: 'Magritte-Model' with: 'Magritte-Model-SeanDeNigris.465'; package: 'Magritte-Tests-Model' with: 'Magritte-Tests-Model-DiegoLont.38'; package: 'Magritte-Seaside' with: 'Magritte-Seaside-EstebanMaringolo.359'; package: 'Magritte-Deprecated' with: 'Magritte-Deprecated-NickAger.7' ]. spec for: #'squeakCommon' do: [ spec package: 'Magritte-Tests-Pharo-Model' with: 'Magritte-Tests-Pharo-Model-lr.4'; package: 'Magritte-Pharo-Seaside' with: 'Magritte-Pharo-Seaside-lr.5'; package: 'Magritte-Morph' with: 'Magritte-Morph-SeanDeNigris.95'; package: 'Magritte-Pharo-Tools' with: 'Magritte-Pharo-Tools-NickAger.3' ]. spec for: #'squeak' do: [ spec package: 'Magritte-Pharo-Model' with: 'Magritte-Pharo-Model-NickAger.26' ]. spec for: #(#'pharo1.x' #'pharo2.x') do: [ spec package: 'Magritte-Pharo-Model' with: 'Magritte-Pharo-Model-DiegoLont.39' ]. spec for: #(#'pharo3.x' #'pharo4.x' #'pharo5.x') do: [ spec package: 'Magritte-Pharo3-Model' with: 'Magritte-Pharo3-Model-JohnCBorden.4' ]. spec for: #(#'pharo4.x') do: [ spec project: 'MagritteGlamourForPharo40' with: '1.0'. spec package: 'Magritte-GT' with: 'Magritte-GT-SeanDeNigris.5' ]. spec for: #'gemstone' do: [ spec project: 'GsCore' with: '0.242'. spec package: 'Magritte-GemStone-Model' with: 'Magritte-GemStone-Model-dkh.4'; package: 'Magritte-Tests-GemStone-Model' with: 'Magritte-Tests-GemStone-Model-DaleHenrichs.1'; package: 'Magritte-GemStone-Seaside' with: 'Magritte-GemStone-Seaside-DaleHenrichs.2' ] (ConfigurationOfMagritte3 project version: '3.6.0') load: #('Tests' 'Seaside'). Then the only tests that fail are the ones pertaining to MAStraitMementoTest and thats because that class name is mispelled (should be MAStraightMemento) and the MAStraitMementoTest>>#actualClass method should be MAStraitMementoTest>>#actualClass ^ MAStraightMemento I'd guess that there are some problems in the seaside implementation that could be easily fixed and you'll have an easier time if you run through the tests after changing the MADescriptionEditor class>>#initialize method to open a debugger in the image when an error comes up in the examples like this MADescriptionEditor class>>#initialize " self initialize. " | app | app := WAAdmin register: self asApplicationAt: 'magritte/editor'. app exceptionHandler: WADebugErrorHandler And then trying the examples at 127.0.0.1:8080/magritte/editor If somebody with commit rights to the Magritte repo wanted to make and submit those changes that would be great I know it doesn't answer your question but it should get you down the path to getting everything you need working. Hope this helps Paul
|
Free forum by Nabble | Edit this page |