El sáb, 23-01-2010 a las 12:38 -0500, David T. Lewis escribió:
There is also SmalltalkImage current listBuiltinModules, which lists the modules that are compiled into the VM executable, as opposed to "external" modules that are in shared libraries (.dll or .so files).
The available plugins are those that appear in #listBuiltinModules, plus any external plugins that the VM can find in shared libraries. If you look at #listBuiltinModules plus the shared libraries you have in your installation, that will tell you the available plugins.
The #listLoadedModules are the plugins (internal and external) that your image has actually used since you last restarted it, so you have to actually do something in Smalltalk that uses a plugin before it will show up in #listLoadedModules.
When you inspect the list of loaded modules, you will notice either '(i)' or '(e)' to indicate whether the loaded module is an internal plugin or and external plugin. For example, 'BitBltPlugin 20 January 2010 (i)' indicates that the BitBltPlugin was loaded from a module that was compiled into the VM executable, and 'UnixOSProcessPlugin 20 January 2010 (e)' indicates a module that was loaded from an external shared library.
Thanks for the info. In my machine: SmalltalkImage current listBuiltinModules: #('ADPCMCodecPlugin 26 August 2009 (i)' 'AsynchFilePlugin 26 August 2009 (i)' 'BMPReadWriterPlugin 26 August 2009 (i)' 'B2DPlugin 26 August 2009 (i)' 'BitBltPlugin 26 August 2009 (i)' 'CroquetPlugin 26 August 2009 (i)' 'DSAPrims 26 August 2009 (i)' 'ZipPlugin 26 August 2009 (i)' 'DropPlugin 26 August 2009 (i)' 'FFTPlugin 26 August 2009 (i)' 'FilePlugin 26 August 2009 (i)' 'FloatArrayPlugin 26 August 2009 (i)' 'FloatMathPlugin 26 August 2009 (i)' 'GeniePlugin v2.0 26 August 2009 (i)' 'JPEGReadWriter2Plugin 26 August 2009 (i)' 'JPEGReaderPlugin 26 August 2009 (i)' 'JoystickTabletPlugin 26 August 2009 (i)' 'Klatt 26 August 2009 (i)' 'LargeIntegers v1.5 26 August 2009 (i)' 'LocalePlugin 26 August 2009 (i)' 'Matrix2x3Plugin 26 August 2009 (i)' 'MiscPrimitivePlugin 26 August 2009 (i)' 'RePlugin 26 August 2009 (i)' 'SecurityPlugin 26 August 2009 (i)' 'SerialPlugin 26 August 2009 (i)' 'SocketPlugin 26 August 2009 (i)' 'SoundCodecPrims 26 August 2009 (i)' 'SoundGenerationPlugin 26 August 2009 (i)' 'SoundPlugin 26 August 2009 (i)' 'StarSqueakPlugin 26 August 2009 (i)' 'SurfacePlugin Sep 16 2009 (i)')
Dave
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Miguel Cobá http://miguel.leugim.com.mx