Loading in Pharo 2.0

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

Loading in Pharo 2.0

DiegoLont
Hi all,

I tried loading Seaside 3.0 (using the configuration) in Pharo 2.0 (the current one click), and this failed. I remember that this used to work (in the summer build), but some things are now missing: OmniBrowser no longer loads, and also I cannot find the BlockContext any more in Pharo 2.0, and this is needed for some things in Seaside. I can fix the first issue by not loading the OmniBrowser tools, but I don't know what to do with the second issue.

Does anyone know what I should do if I want to make a Seaside image based on Pharo 2.0? Works Seaside 3.1 better?_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Loading in Pharo 2.0

Sven Van Caekenberghe
Diego,

On 31 Oct 2012, at 13:14, Diego Lont <[hidden email]> wrote:

> Hi all,
>
> I tried loading Seaside 3.0 (using the configuration) in Pharo 2.0 (the current one click), and this failed. I remember that this used to work (in the summer build), but some things are now missing: OmniBrowser no longer loads, and also I cannot find the BlockContext any more in Pharo 2.0, and this is needed for some things in Seaside. I can fix the first issue by not loading the OmniBrowser tools, but I don't know what to do with the second issue.
>
> Does anyone know what I should do if I want to make a Seaside image based on Pharo 2.0? Works Seaside 3.1 better?_______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

At the end of august, the following worked:

The trick is to use the following script:

https://github.com/renggli/builder/blob/master/scripts/seaside31-pharo2.st

Here is the code to execute in a Workspace:

"Basic"
Gofer new
        squeaksource: 'Seaside31';
        package: 'Grease-Core';
        package: 'Grease-Pharo20-Core';
        package: 'Grease-Tests-Core';
        package: 'Grease-Tests-Pharo20-Core';
        package: 'Seaside-Core';
        package: 'Seaside-Pharo20-Core';
        package: 'Seaside-Tests-Core';
        package: 'Seaside-Tests-UTF8';
        package: 'Seaside-Tests-Pharo20-Core';
        package: 'Seaside-Canvas';
        package: 'Seaside-Pharo-Canvas';
        package: 'Seaside-Tests-Canvas';
        package: 'Seaside-Session';
        package: 'Seaside-Tests-Session';
        package: 'Seaside-Component';
        package: 'Seaside-Tests-Component';
        package: 'Seaside-RenderLoop';
        package: 'Seaside-Tests-RenderLoop';
        package: 'Seaside-Tools-Core';
        package: 'Seaside-Widgets';
        package: 'Seaside-Environment';
        package: 'Seaside-Pharo-Environment';
        package: 'Seaside-Tests-Environment';
        load.
!
"Traditional"
Gofer new
        squeaksource: 'Seaside31';
        package: 'Seaside-Tests-Functional';
        package: 'Seaside-Tests-Pharo-Functional';
        package: 'Seaside-Pharo-Continuation';
        package: 'Seaside-Tests-Pharo-Continuation';
        package: 'Seaside-Flow';
        package: 'Seaside-Pharo-Flow';
        package: 'Seaside-Tests-Flow';
        package: 'Seaside-Tools-Web';
        package: 'Seaside-Pharo20-Tools-Web';
        package: 'Seaside-Tests-Tools-Web';
        package: 'Seaside-Development';
        package: 'Seaside-Pharo-Development';
        package: 'Seaside-Tests-Development';
        package: 'Seaside-Tests-Pharo-Development';
        package: 'Seaside-Examples';
        package: 'Seaside-Tests-Examples';
        load.
!
"RSS"
Gofer new
        squeaksource: 'Seaside31';
        package: 'RSS-Core';
        package: 'RSS-Tests-Core';
        package: 'RSS-Examples';
        load.
!
"Javascript"
Gofer new
        squeaksource: 'Seaside31';
        package: 'Javascript-Core';
        package: 'Seaside-JSON-Core';
        package: 'Seaside-Pharo-JSON-Core';
        package: 'Javascript-Pharo20-Core';
        package: 'Javascript-Tests-Core';
        package: 'Javascript-Tests-Pharo-Core';
        package: 'Seaside-Tests-JSON';
        package: 'JQuery-Core';
        package: 'JQuery-Tests-Core';
        package: 'JQuery-JSON';
        package: 'JQuery-Tests-JSON';
        package: 'JQuery-UI';
        package: 'JQuery-Tests-UI';
        package: 'Prototype-Core';
        package: 'Prototype-Tests-Core';
        package: 'Scriptaculous-Core';
        package: 'Scriptaculous-Tests-Core';
        package: 'Scriptaculous-Components';
        package: 'Scriptaculous-Tests-Components';
        package: 'Comet-Core';
        package: 'Comet-Examples';
        package: 'Comet-Pharo-Core';
        package: 'Comet-Tests-Core';
        load.
!
"Other Packages"
Gofer new
        squeaksource: 'Seaside31';
        package: 'Seaside-Welcome';
        package: 'Seaside-Pharo-Welcome';
        package: 'Seaside-Tests-Welcome';
        package: 'Seaside-HTML5';
        package: 'Seaside-Tests-HTML5';
        package: 'Seaside-InternetExplorer';
        package: 'Seaside-Tests-InternetExplorer';
        package: 'Seaside-Email';
        package: 'Seaside-Tests-Email';
        package: 'Seaside-Pharo-Email';
        package: 'Seaside-Tests-Pharo-Email';
        load.
!
"REST"
Gofer new
        squeaksource: 'Seaside31';
        package: 'Seaside-REST-Core';
        package: 'Seaside-Pharo-REST-Core';
        package: 'Seaside-Tests-REST-Core';
        load.


This does not yet load an adaptor.
You can go find ZnZincServerAdaptor in the Zinc repository, like this (updating all Zn):

Gofer new
        url: 'http://mc.stfx.eu/ZincHTTPComponents';
        package: 'Zinc-HTTP';
        package: 'Zinc-Tests;
        package: 'Zinc-FileSystem';
        package: 'Zinc-Seaside';
        load.

And finally,

ZnZincStaticServerAdaptor startOn: 8080.
ZnZincStaticServerAdaptor stop.

(The Seaside control panel is not there).

Sven_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Loading in Pharo 2.0

EstebanLM
In reply to this post by DiegoLont
Hi Diego,

2.0 is not the current one-click, it is still under heavy development (even not labeled beta yet, but soon)

the official release is still 1.4 Summer

Esteban

ps: of course any progress on make Seaside run on 2.0 is welcome :)

On Oct 31, 2012, at 1:14 PM, Diego Lont <[hidden email]> wrote:

> Hi all,
>
> I tried loading Seaside 3.0 (using the configuration) in Pharo 2.0 (the current one click), and this failed. I remember that this used to work (in the summer build), but some things are now missing: OmniBrowser no longer loads, and also I cannot find the BlockContext any more in Pharo 2.0, and this is needed for some things in Seaside. I can fix the first issue by not loading the OmniBrowser tools, but I don't know what to do with the second issue.
>
> Does anyone know what I should do if I want to make a Seaside image based on Pharo 2.0? Works Seaside 3.1 better?_______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Loading in Pharo 2.0

Julian Fitzell-2
If BlockContext isn't there, you don't need the method that Seaside is adding to it, so you should be able to proceed through that error for now.

On Wed, Oct 31, 2012 at 12:20 PM, Esteban Lorenzano <[hidden email]> wrote:
Hi Diego,

2.0 is not the current one-click, it is still under heavy development (even not labeled beta yet, but soon)

the official release is still 1.4 Summer

Esteban

ps: of course any progress on make Seaside run on 2.0 is welcome :)

On Oct 31, 2012, at 1:14 PM, Diego Lont <[hidden email]> wrote:

> Hi all,
>
> I tried loading Seaside 3.0 (using the configuration) in Pharo 2.0 (the current one click), and this failed. I remember that this used to work (in the summer build), but some things are now missing: OmniBrowser no longer loads, and also I cannot find the BlockContext any more in Pharo 2.0, and this is needed for some things in Seaside. I can fix the first issue by not loading the OmniBrowser tools, but I don't know what to do with the second issue.
>
> Does anyone know what I should do if I want to make a Seaside image based on Pharo 2.0? Works Seaside 3.1 better?_______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside