help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] re-loading code


From: Holger Hans Peter Freyther
Subject: Re: [Help-smalltalk] re-loading code
Date: Sat, 22 Jan 2011 16:15:27 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b2 Thunderbird/3.1.7

On 01/22/2011 03:55 PM, Stefan Schmiedl wrote:
> Greetings,

> How do I get the updated MyWidget code into the running iliad.im
> so that the next invocation actually uses the new code?

In general i think this is something where GNU Smalltalk could be a lot
better. When you try to use FileStream fileIn: 'Source' you will need to
manually set the right namespace.

What I tend to do is to either:
a)
    $ Smalltalk removeFeature: #MyMod. PackageLoader fileInPackage: #MyMod
b)
    When developing the module just load everything from the module in
    the current namespace with 'FileStream fileIn' and then load new code
    again.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]