Andreas Raab uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-ar.319.mcz==================== Summary ====================
Name: System-ar.319
Author: ar
Time: 22 April 2010, 9:58:43.28 pm
UUID: 97aa93e5-80b6-224e-9c51-8dcd23ac421e
Ancestors: System-hjh.318
Merging System-hjh.318:
(removed preference changes)
Fixed documentation of class CodeLoader. People should be directed to use Installer instead.
=============== Diff against System-ul.317 ===============
Item was changed:
Object subclass: #CodeLoader
instanceVariableNames: 'baseURL sourceFiles segments publicKey'
classVariableNames: 'DefaultBaseURL DefaultKey'
poolDictionaries: ''
category: 'System-Download'!
+ !CodeLoader commentStamp: 'hjh 4/22/2010 12:58' prior: 0!
- !CodeLoader commentStamp: 'nice 3/25/2010 22:59' prior: 0!
CodeLoader provides a simple facility for loading code from the network.
+ CodeLoader has a very specific purpose, primarily for loading Etoys projects. It is not meant to be used for anything else. Use Installer for general purposes.
+
Examples:
| loader |
loader := CodeLoader new.
loader baseURL:'
http://isgwww.cs.uni-magdeburg.de/~raab/test/'.
loader localCache: #('.cache' 'source').
"Sources and segments can be loaded in parallel"
loader loadSourceFiles: #('file1.st' 'file2.st.gz').
loader localCache: #('.cache' 'segments').
loader loadSegments: #('is1.extseg' 'is2.extseg.gz').
"Install sources first - will wait until the files are actually loaded"
loader installSourceFiles.
"And then the segments"
loader installSegments.!