Hi sven can you tell us what we should load in Pharo2.0? Stef On Dec 26, 2012, at 10:51 AM, Sven Van Caekenberghe wrote:
Dennis,
On 26 Dec 2012, at 03:57, Dennis Schetinin <chaetal@gmail.com> wrote:
Trying to load Zinc-HTTP, I encounter a problem: Zinc-HTTP package removes #asZnUrl and #asZnMimeType from String (added by Zinc-Resource-Meta-Core).
I don't fully understand why it occurs. The workaround is straightforward: to add those methods manually after load.
Best regards, Dennis Schetinin
There were indeed some repacking changes in Zn.
Short answer:
ConfigurationOfZincHTTPComponents load.
Or even
ConfigurationOfZincHTTPComponents project latestVersion load.
Long answer (from my CI build script, remove the ! if necessary):
"Load Zinc" Gofer new url: 'http://mc.stfx.eu/ZincHTTPComponents'; package: 'Zinc-Character-Encoding-Core'; package: 'Zinc-Character-Encoding-Tests'; package: 'Zinc-Resource-Meta-Core'; package: 'Zinc-Resource-Meta-Tests'; package: 'Zinc-HTTP'; package: 'Zinc-FileSystem'; package: 'Zinc-Tests'; package: 'Zinc-WebSocket-Core'; package: 'Zinc-WebSocket-Tests'; load. ! "Load Zodiac" Gofer new url: 'http://mc.stfx.eu/Zodiac'; package: 'Zodiac-Core'; package: 'Zodiac-Tests'; package: 'Zodiac-Extra'; load. ! "Load Zinc support for Zodiac" Gofer new url: 'http://mc.stfx.eu/ZincHTTPComponents'; package: 'Zinc-Zodiac'; load. ! { ZnMimeType. ZnByteEncoder. ZnConstants. ZnNetworkingUtils. ZnSingleThreadedServer. ZnServer } do: [ :each | each initialize ].
HTH,
Sven
-- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill