On 5/14/2010 6:38 PM, Chris Cunnington wrote:
> ConfigurationOfExternalWebBrowser perform: #loadLatestVersion > > Why? > There is no #loadLatestVersion on the class side either. > > There is #lastMetacelloVersionLoad. I try: > > ConfigurationOfExternalWebBrowser perform: #loadLatestVersion > > Nope, that's a dud. > > My summary is this: if you install a config and it has #load on the > class side, you're golden. If not, then you're in a world of the unknown. > All things being equal, I'd say that Dale has created this with > something in mind where this is not a problem. Maybe it's a Pharo thing. > Perhaps they have a tool that fills in the gap. But for me: no #load, > means no go. And until we can get a standard API here, then it's flawed. > I'm guessing that you used AppleScript on some configurations that had > #load, and now you've found one that doesn't. It's the curse of not having a common superclass. Various variants get created because there's no shared standard. I think the canonical form is actually this: ConfigurationOfXXX project load. But I could be wrong; I'm no Metacello expert. Cheers, - Andreas |
Administrator
|
In reply to this post by Chris Cunnington
Yes, not enough context in my example. The Applescript project is a dependency of ExternalWebBrowser that is automatically loaded during the initialization of a class in ExternalWebBrowser. And, my musing was not about how to get this specifically to load (I hacked away during the installation and got it running), but what I see as a gap in the current spec format. What I am pulling for, is a way to know exactly what versions of what fork a Config is made for. For example, this Config only had a #pharo part in the baseline, no #common (I'm guessing this is why it failed in Squeak). However, it didn't work in Pharo 1.0 *or* 1.1. If it was clear from looking at the spec what variants it works on (e.g. Pharo 1.x, or 0.9 to 1.3, or whatever), then it wouldn't be a mystery when it failed on another. There could even be a warning dialog telling the installer 'hey this may not work on this platform, do you still want to try?' (a la SqMap). Yes, I've run into this. I've always been able to load, but sometimes it involves throwing several messages at the wall - it would definitely be easier if they all had a load. In this case, it's: (ConfigurationOfExternalWebBrowser project) latestVersion load. Sean
Cheers,
Sean |
Free forum by Nabble | Edit this page |