Squeak and bluetooth

Alain Fischer mailinglist.fischer at bluewin.ch
Wed Jan 18 11:11:24 UTC 2006


Well ... adding more search space for plugin could slow plugin loading.
I tried a quick hack as a workaround and it worked:

1) Create a Carbon bundle project with XCode named ObjectiveCPlugin
2) Compile it
3) Open the generated bundle and replace the genarted binary  
ObjectiveCPlugin in "ObjectiveCPlugin.bundle/Contents/MacOS/"
    with the ObjectiveCPlugin for the unix mac VM
4) Put the ObjectiveCPlugin.bundle in the Plugins directory

Alain


On 18 janv. 06, at 10:29, John M McIntosh wrote:

> The carbon VM only understand Bundles. However is some wants to  
> test this I'll generate a new VM that, after trying bundles, then  
> will invoke the unix vm load plugin logic.
> However I'll need someone to test this feature.
>
>
> On 17-Jan-06, at 9:51 AM, Davide Varvello wrote:
>
>> Hi Alain,
>>
>> On 17 Jan 2006, at 14:46, Alain Fischer wrote:
>>
>>> Davide,
>>>
>>> When you say: "The vm can find the plugin" are you sure ?
>>
>> You are right, the stack trace tells: "a primitive has failed" and  
>> Smalltalk listLoadedModules don't show the plugin. So... what do  
>> you mean with: "the convention to search for a plugin is  
>> different" i.e. what can I change to load the plugin into a carbon  
>> vm?
>> Thanks
>>  Davide
>>
>>> What have you used to verify this ? Smalltalk listLoadedModules ?
>>> Because I tried just now to put ObjectiveCPlugin in "Squeak\  
>>> 3.8.6Beta6.app/Contents/MacOS/"
>>> in "Plugins/" and in ""
>>> and this doesn't work I have always 'a primitive has failed'.
>>> This is normal since the convntion to search for a plugin is  
>>> different for the CarbonMac than for the UnixMac VM.
>>> But I just see that all seem to work nice for you wit the UnixMac  
>>> VM.
>>>
>>> Alain
>>>
>>>
>>>
>>> On 17 janv. 06, at 13:55, Davide Varvello wrote:
>>>
>>>> Hi Alan
>>>>
>>>>>> I don't think so, I pu the plugin in several directories one  
>>>>>> at a time, with no luck. The vm can find the plugin but there  
>>>>>> is an error during the inizialize of the ObjcBridge class. If  
>>>>>> oyou are interested I can send you the SqueakDebug.log
>>>>>
>>>>> My suspicion was wrong then. Where did you put the plugin in  
>>>>> the application directory tree when the plugin was able to load ?
>>>>
>>>>
>>>> I made three attempts:
>>>>
>>>> 1) /Users/davide/Squeak3.7
>>>> 2) /Users/davide/Squeak3.7/Plugins
>>>> 3) /Users/davide/Squeak3.7/Squeak 3.7.5Beta1.app/Contents/MacOS
>>>>
>>>> nothing works.
>>>> Davide
>>>>
>>>
>>>
>>
>>
>
> --
> ====================================================================== 
> =====
> John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
> Corporate Smalltalk Consulting Ltd.  http:// 
> www.smalltalkconsulting.com
> ====================================================================== 
> =====
>
>




More information about the Squeak-dev mailing list