Lyn Headley
Lyn Headley

Reputation: 11588

How to load Magritte Seaside?

I've loaded Magritte and Seaside from the configuration browser into Pharo 4, but I don't see that the package Magritte-Seaside was loaded.

How do I load this package?

Upvotes: 0

Views: 377

Answers (3)

Lyn Headley
Lyn Headley

Reputation: 11588

I saw the group Seaside defined as a Metacello group in the configuration's baseline for 3.3 (which is used by 3.5, the current version). So I was able to load the package by evaluating:

(ConfigurationOfMagritte3 project version: #stable) load: 'Seaside'.

Upvotes: 0

Hernán
Hernán

Reputation: 1749

I highly recommend you loading the Stephan's QCMagritte package which includes the correct directives to load Seaside 3 with a Zinc adaptor so you can start a web server without loading anything else:

From MinGW command line:

    $ wget -O- http://get.pharo.org/40+vm | bash
    $ ./pharo-vm/Pharo.exe Pharo.image config \
         "http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo40" \
         "ConfigurationOfQCMagritte" --printVersion --install=stable --group=All

Create an adaptor, start a web server with the Seaside Control Panel on port 8080, and then point your browser to http://localhost:8080/browse to see applications

Upvotes: 1

Stephan Eggermont
Stephan Eggermont

Reputation: 15907

The configuration browser only loads default groups for the configurations it loads. In the ConfigurationOfSeaside and ConfigurationOfMagritte you'll find many more groups.

In the ConfigurationOfQCMagritte I use 'Seaside' from Magritte and #('JQueryUI' 'JQuery-JSON') from Seaside. If you don't mind the extra packages, you could just load QCMagritte from the configuration browser.

To just add the missing packages, you could load the latest Magritte-Seaside and Magritte-Pharo-Seaside packages from the Magritte3 smalltalkhub repository with the Monticello Browser.

A pre-loaded QCMagritte image is available from http:ci.inria.fr/pharo-contribution/job/QCMagritte

Upvotes: 0

Related Questions