Hi all,
a new version of ConfigurationOfMagma is available for Pharo.
Notes:
Pharo 1.0 ----------------------
- 1.1r1 is the last versions that works in Pharo 1.0. This is because upstream Magma code depends on code that only exists on Pharo 1.1 and superior. - Pharo 1.0 uses Preferences to enable/disable the underscore as assigment in code. This release captures current value of this preference. Enables it for loading Magma and restores it to the original value after installing Magma.
Pharo 1.1, Pharo 1.2 ---------------------- - The configuration for these Pharo releases is based on the one from Pharo 1.0. - 1.1r2 uses a new baseline because Magma has a new package dependency (Ma files additions). - Pharo 1.1 and superior uses Scanner allowUnderscoreAsAssignment instead of Preferences. The current value is captured and restored after installation of Magma. - Pharo 1.1 and superior doesn't include FlapTab class anymore. Magma adds some methods to it so the Configuration adds an empty class named FlapTab before installing and removes from the system after installing. This avoid a warning prompt when installing Magma. - This Configuration includes support for installing Magma releases previous to 1.1r2. Those versions should install correctly on Pharo 1.1 and greater but if a lot of problems are detected, the support for those old versions will be removed, and only 1.1r2 and newer versions will be supported.
Now that Pharo has Universes, Magma has different ConfigurationOfMagma in each universe for Pharo. Each of those Configuration install the appropriate packages in Pharo.
Installing Magma
Pharo 1.0 --------------- Evaluate:
Gofer new squeaksource: 'UniverseForPharo10'; package: 'ConfigurationOfMagma'; load.
And then, one of:
ConfigurationOfMagma project latestVersion load: 'Client'. ConfigurationOfMagma project latestVersion load: 'Server'. ConfigurationOfMagma project latestVersion load: 'Tester'.
latestVersion is 1.1r1
Pharo 1.1 --------------- Evaluate:
Gofer new squeaksource: 'UniverseForPharo11'; package: 'ConfigurationOfMagma'; load.
And then, one of:
ConfigurationOfMagma project latestVersion load: 'Client'. ConfigurationOfMagma project latestVersion load: 'Server'. ConfigurationOfMagma project latestVersion load: 'Tester'.
latestVersion is 1.1r2
Pharo 1.2 --------------- Evaluate:
Gofer new squeaksource: 'UniverseForPharo12'; package: 'ConfigurationOfMagma'; load.
And then, one of:
ConfigurationOfMagma project latestVersion load: 'Client'. ConfigurationOfMagma project latestVersion load: 'Server'. ConfigurationOfMagma project latestVersion load: 'Tester'.
latestVersion is 1.1r2
Comments and bugs accepted.
Enjoy.