<br><br><div class="gmail_quote">On Thu, May 14, 2009 at 11:58 PM, David T. Lewis <span dir="ltr"><<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>></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>
><br>
> --- El jue 14-may-09, David T. Lewis <<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>> escribi?:<br>
<div class="im">><br>
> > De: David T. Lewis <<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>><br>
> > Asunto: Re: [squeak-dev] Where is FilePlugin ? was Error installing Omnibase<br>
> > Para: "The general-purpose Squeak developers list" <<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>><br>
> > Fecha: jueves, 14 de mayo de 2009, 4:26 pm<br>
> > On Thu, May 14, 2009 at 08:58:01AM<br>
> > -0700, marcelo Cortez wrote:<br>
> > ><br>
> > > Mariano , Folks<br>
> > ><br>
> > > the 3.9.1 stock image seems to be fine, but the<br>
> > OmniBase test require<br>
> > > FilePlugin. how to load it?<br>
> ><br>
> > FilePlugin is included in the VMMaker package, available on<br>
> > SqueakSource.<br>
><br>
> You mean compiling ?<br>
> The Vmmaker process is obscure for me, is posible avoid compiling?<br>
> here any guide or link?<br>
> Vmmaker brings a compiled version of this plugin?<br>
> (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>
"source code" 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'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'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't know what FilePlugin was. I just saw it were as plugin. <br> </div></div>Cheers,<br><br>Mariano<br>