<br><br><div class="gmail_quote">On Thu, May 14, 2009 at 11:58 PM, David T. Lewis <span dir="ltr">&lt;<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, May 14, 2009 at 12:47:11PM -0700, marcelo Cortez wrote:<br>
&gt;<br>
&gt; --- El jue 14-may-09, David T. Lewis &lt;<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>&gt; escribi?:<br>
<div class="im">&gt;<br>
&gt; &gt; De: David T. Lewis &lt;<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>&gt;<br>
&gt; &gt; Asunto: Re: [squeak-dev] Where is FilePlugin ? was Error installing Omnibase<br>
&gt; &gt; Para: &quot;The general-purpose Squeak developers list&quot; &lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
&gt; &gt; Fecha: jueves, 14 de mayo de 2009, 4:26 pm<br>
&gt; &gt; On Thu, May 14, 2009 at 08:58:01AM<br>
&gt; &gt; -0700, marcelo Cortez wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Mariano , Folks<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; the 3.9.1 stock image seems to be fine, but the<br>
&gt; &gt; OmniBase test require<br>
&gt; &gt; &gt; FilePlugin. how to load it?<br>
&gt; &gt;<br>
&gt; &gt; FilePlugin is included in the VMMaker package, available on<br>
&gt; &gt; SqueakSource.<br>
&gt;<br>
&gt; You mean compiling ?<br>
&gt; The Vmmaker process is obscure for me, is posible avoid compiling?<br>
&gt; here any guide or link?<br>
&gt; Vmmaker brings a compiled version of this plugin?<br>
&gt; (dll files for win32 platform).<br>
<br>
</div>No, you do not need to compile anything.<br>
<br>
I do not know what is in the OmniBase test, so apologies in advance<br>
if I am not giving the right information. However, this may help:<br>
<br>
FilePlugin is a Smalltalk class, just like any other class. It happens<br>
to be part of the VMMaker package (on SqueakSource, or from SqueakMap<br>
or Universes if you do not mind a slightly older version).<br>
<br>
I do not know why OmniBase tests would require FilePlugin, but<br>
assuming that it does use it for some reason, you can get a copy<br>
of the FilePlugin class by loading VMMaker.<br>
<br>
For background (and you do not need to know this for Omnibase, but<br>
it may be of interest), the Squeak virtual machine (/usr/local/bin/squeak,<br>
or Squeak.exe) is written largely in Smalltalk. When building an<br>
executable Squeak VM, a number of Smalltalk classes are translated<br>
to C source code, and from that into executable machine code. The<br>
class FilePlugin is one of the Smalltalk classes that serve as<br>
&quot;source code&quot; in this process, such that it can both be used as<br>
ordinary Smalltalk, and can also be translated into C code for<br>
inclusion in the VM.<br>
<br>
You do not need to worry about the executable FilePlugin module,<br>
because every Squeak VM already has this included (either directly<br>
compiled into the VM executable, or as a separate loadable module).<br>
If that were not the case, you would not be able to access files<br>
from Squeak, so you would not be able to load the image file or<br>
do much of anything.<br>
<br>
So don&#39;t worry about the FilePlugin executable, it is already present<br>
in your Squeak system. On the other hand, the Smalltalk class FilePlugin<br>
(which you can think of as the source code for the executable FilePlugin)<br>
is only present if you load it e.g. from the VMMaker package on SqueakSource.<br>
Once you have loaded this into your image, the methods in class<br>
FilePlugin can be evaluated just like any other method. My guess would<br>
be that the OmniBase tests are evaluating some method in class<br>
FilePlugin (I don&#39;t know why), so you need to have the FilePlugin<br>
class loaded, but you should not need to worry about compiling anything.<br>
<br>
Dave<br>
</blockquote><div><br><br>Wow! What a good explanation! Thanks for this Dave. I didn&#39;t know what FilePlugin was. I just saw it were as plugin. <br> </div></div>Cheers,<br><br>Mariano<br>