Loading Glorp in a BaseImage

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Loading Glorp in a BaseImage

Maarten Mostert

 

Hi,

 

If I unload load Glorp within a normal Image this works without any flaws.

 

If I do the same within the BaseImage not all parcels are loaded and it notably complains about the following !

 

Autoloading GlorpVWPort from $(VISUALWORKS)\glorp\GlorpVWPort.pcl

BaseExpression is Undeclared

MessageArchiver is Undeclared


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Loading Glorp in a BaseImage

Niall Ross
Dear Maarten,

> If I unload load Glorp within a normal Image this works without any flaws.
>
>If I do the same within the BaseImage not all parcels are loaded and it notably complains about the following !
>
>
>Autoloading GlorpVWPort from $(VISUALWORKS)\glorp\GlorpVWPort.pcl
>BaseExpression is Undeclared
>MessageArchiver is Undeclared
>
1) By "unload", do you mean load?

2) What do you mean by "a normal image" and "the BaseImage"?

3) You will routinely see
    BaseExpression is Undeclared
    MessageArchiver is Undeclared
when loading Glorp (or Store, now that Store uses Glorp) in an image
without it;  nothing is wrong.  Glorp is dialect-neutral code.  
VW-specific code is in GlorpVWPort (and corresponding dialect-specific
code is in GlorpVAPort and ... ).  The VW-specific code references
BaseExpression and MessageArchiver, which are declared in the
dialect-neutral code, and the load order therefore warns before loading
and resolving.  (Back in 7.7 / 7.7.1 time, I discussed with Alan
tweaking things to avoid these messages, but other tasks took precedence.)

             Yours faithfully
                   Niall Ross

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Loading Glorp in a BaseImage / More on depolyment

Maarten Mostert

Dear Nial,

 

Yes I meant to so say load !

An visualnc.im comes with Glorp in it. I can unload it from an visualnc.im and then load without without complaining.


The base image is the one provided in \preview\packaging\base.im

 

You can load unload parcels within this image but with Glorp it complains with the BaseExpression MessageArchiver Undeclared message.

(PS it does similare complains with DLLCC).

 

The Base.im has a limited tool set but does propose to Browse Ambiguous references which raises other questions as it basically quits the image ?:

 

http://screencast.com/t/i2dRzMSpZd6

I've being experimenting with trying to declare preload packages on the properties tab of the Glorp package. But this is not really documented and remained without succes for the moment. For me that looks a bit derouting. What is the sence really of being able to declare something to preload if it does not solve the Undeclared message thing ?  Did I miss something in the documentation ?

 

Another experiment you do to see some problems, is to do Ardens simple runtime delivary example.

 

Notice that the example in itself works without any problem !!

 

If you want to see problems try to expand the example with declaring Glorp as a prerequisite to the SpideSolitaire 1.7 package of David Buck.

 

This time the loading of Glorp will require you parcels like GlorpDatabase GlorpExpressions etc.  My first reaction was no problem I publish these sub-packes and have them loaded through the Autload feature.

Unfortunately I can't publish the Glorp sub packages. It gives a filename error ?

 

I have been complaiaing earlier about the -cnf option on Image loading.

I tried Arden's example with a plain vialnc.im and the cnf option and then it works Oké (in the sence that it tries loading parcels from a file description.  I think the method loadParcelsFromConfigurationFile: configurationFileNameStream in ImageConfigurationSystem got stripped of in Arden's example while the method loadParcel: parcelNameStream didn't

 

Regards,   And a VERY HAPPY NEYEAR TO ALL OF YOU !!!!!!!

 

Maarten,

 

 

 

"Niall Ross" <[hidden email]> said:

> Dear Maarten,


>
> > If I unload load Glorp within a normal Image this works without any flaws.
> >
> >If I do the same within the BaseImage not all parcels are loaded and it
> notably complains about the following !
> >
> >
> >Autoloading GlorpVWPort from $(VISUALWORKS)\glorp\GlorpVWPort.pcl
> >BaseExpression is Undeclared
> >MessageArchiver is Undeclared
> >
> 1) By "unload", do you mean load?
>
> 2) What do you mean by "a normal image" and "the BaseImage"?
>
> 3) You will routinely see
> BaseExpression is Undeclared
> MessageArchiver is Undeclared
> when loading Glorp (or Store, now that Store uses Glorp) in an image
> without it; nothing is wrong. Glorp is dialect-neutral code.
> VW-specific code is in GlorpVWPort (and corresponding dialect-specific
> code is in GlorpVAPort and ... ). The VW-specific code references
> BaseExpression and MessageArchiver, which are declared in the
> dialect-neutral code, and the load order therefore warns before loading
> and resolving. (Back in 7.7 / 7.7.1 time, I discussed with Alan
> tweaking things to avoid these messages, but other tasks took precedence.)
>
> Yours faithfully
> Niall Ross
>
>

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc