[Pkg] Packages: Packages-Core-kph.44.mcz

squeaksource-noreply at iam.unibe.ch squeaksource-noreply at iam.unibe.ch
Mon Jul 7 02:28:08 UTC 2008


A new version of Packages-Core was added to project Packages:
http://www.squeaksource.com/Packages/Packages-Core-kph.44.mcz

==================== Summary ====================

Name: Packages-Core-kph.44
Author: kph
Time: 7 July 2008, 3:28:06 am
UUID: d18726d5-10d1-445b-9c39-9c59f02a5e9c
Ancestors: Packages-Core-kph.43

removed 'version' instVar, use info for metadata is needed

=============== Diff against Packages-Core-kph.43 ===============

Item was changed:
  SakeTask subclass: #Packages
+ 	instanceVariableNames: 'unloadBlock unloadPriors provides name'
- 	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!
  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'.
  
  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