A plugin depending on another plugin : loading problem
Andreas Raab
andreas.raab at gmx.de
Wed Jun 8 16:52:34 UTC 2005
Hi -
Whether that's a problem or not depends on whether the plugin has been
written according to spec. If a plugin requires an entry point of
another plugin it needs to use ioLoadFunctionFrom() from the interpreter
proxy. Any other way of using it _may_ work ... or it may not.
Cheers,
- Andreas
Samir Saidani wrote:
> Hi
>
> I encountered a strange thing while playing with PseudoTTY (Bug
> already reported in Mantis) : it seems that this class called a
> primitive, but this primitive itself needs a function situated in
> another plugin (AsyncFilePlugin), and it doesn't work. So I know that
> a plugin is automatically loaded during its first use, but it seems
> that this kind of dependency problem was not addressed, or maybe I
> miss something, maybe it's not a problem ? So I found a workaround, by
> calling a method of AsyncFile implementing a primitive which will load
> the Async plugin. Then you can use PseudoTTY. But it seems quite
> weird. Does it means that you have to load the dependent modules
> within the plugin ?
>
> Thanks !
> Samir
>
More information about the Squeak-dev
mailing list
|