[Packages] Packages: Packages-Core-kph.35.mcz
squeaksource-noreply at iam.unibe.ch
squeaksource-noreply at iam.unibe.ch
Fri May 16 00:41:21 UTC 2008
A new version of Packages-Core was added to project Packages:
http://www.squeaksource.com/Packages/Packages-Core-kph.35.mcz
==================== Summary ====================
Name: Packages-Core-kph.35
Author: kph
Time: 16 May 2008, 1:41:14 am
UUID: 5c7b54f1-bd51-4638-be42-2e90f1d0a5a6
Ancestors: Packages-Core-kph.34
. typo
=============== Diff against Packages-Core-kph.34 ===============
Item was changed:
SakeTask subclass: #Packages
instanceVariableNames: 'unloadBlock unloadPriors provides name version'
classVariableNames: 'Provided'
poolDictionaries: ''
category: 'Packages-Core'!
Packages class
instanceVariableNames: 'lastUpdate theUUniverse'!
+ !Packages commentStamp: 'kph 5/16/2008 01:40' prior: 0!
- !Packages commentStamp: 'kph 5/16/2008 01:26' prior: 0!
To generate all of the methods based upon universes definitions:
Packages taskGenerateAllUniverses run.
or
Packages taskGenerateAll run.
Sake/Packages usage:
Public API
============
"load package definition for your current version of Squeak"
Packages current load: 'Seaside'.
Packages beta named: 'Seaside'.
or
(Packages current named: 'Seaside') run. " or runQuietly, runStepping, runLogging"
(Packages beta named: 'Seaside') run.
multiples:
Packages current load: #('Seaside' 'Magma' 'Logging')
Run-variants
=========
#runStepping , - presents a confirm/debug dialog before each action.
#run - default.
#runQuietly - auto-confirms any SakeConfirm dialogs.
#runLogging - Writes any SakeStop warnings to self log.
Unloading
========
Unloading comes in two variants.
Each package task loaded by Sake/Packages is remembered in the 'provided' list
If you perform:
Packages unload: 'Seaside' .
Packages unloadStepping: 'Seaside' .
Then the 'historical' unload scripts are used, as defined when the original load tasks were run.
If instead you perform:
(Packages current named: 'Seaside') unload runStepping.
Then the most recently defined unload script will be run.
Note: If packages such as "Magma server" and "Magma client" provides "Magma", then
+ Packages unload: 'Magma'.
- (ackages unload: 'Magma'.
Will unload whichever of the two are loaded.
===
Misc notes...
Universes are using 'instance side' task definition, so the task extensions mechanism does not work in this context.
!
More information about the Packages
mailing list