A plugin depending on another plugin : loading problem

Samir Saidani saidani at info.unicaen.fr
Wed Jun 8 13:36:01 UTC 2005


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

-- 
Samir SAIDANI				
PhD Student in CS / Doctorant en informatique 	web : http://www.info.unicaen.fr/~saidani
Universite de Caen - Laboratoire GREYC          tel : 02-31-56-74-30
Equipe MAD - Campus II - 14032 Caen Cedex       fax : 02-31-56-76-30



More information about the Squeak-dev mailing list