Re: [MacRuby-devel] BridgeSupport Requirement

2011-02-08 Thread Laurent Sansonetti
On Feb 8, 2011, at 5:30 AM, Martin Hawkins wrote: > Thank you for the replies. > >>> On 8/02/2011, at 10:50 PM, Laurent Sansonetti wrote: >> Hi Martin, >> There is a way: if you copy the .bridgesupport files of your system inside your application's bundle, under the Resources/Br

Re: [MacRuby-devel] Trying to use spotlight programmatically

2011-02-08 Thread Kaelin Colclasure
Martin, The FinderFilesOnly stuff is not really relevant to other applications using Spotlight. You should not need to do anything special to find email results. Try, for example, using the mdfind command from Terminal: $ mdfind -literal 'kMDItemAuthorEmailAddresses == *' If your query is not

Re: [MacRuby-devel] BridgeSupport Requirement

2011-02-08 Thread Martin Hawkins
Thank you for the replies. > > On 8/02/2011, at 10:50 PM, Laurent Sansonetti wrote: > > >> Hi Martin, > > >> There is a way: if you copy the .bridgesupport files of your system inside > >> your application's bundle, under the Resources/BridgeSupport directory, > >> MacRuby should look at them in

Re: [MacRuby-devel] BridgeSupport Requirement

2011-02-08 Thread Laurent Sansonetti
Yep it does. But if you copy the BridgeSupport file under the "special" Resources/BridgeSupport directory of your .app bundle, you do not need to pass the full path nor use #load_bridge_support_file. You can just use #framework as before. Laurent On Feb 8, 2011, at 1:56 AM, Robert Payne wrote

Re: [MacRuby-devel] BridgeSupport Requirement

2011-02-08 Thread Robert Payne
If you specify a full path does Bridge Support behave this way? Such as load_bridge_support_file NSBundle.mainBundle.pathForResource("MyFramework", ofType:"bridgesupport") Robert On 8/02/2011, at 10:50 PM, Laurent Sansonetti wrote: > Hi Martin, > > There is a way: if you copy the .bridgesuppo

Re: [MacRuby-devel] BridgeSupport Requirement

2011-02-08 Thread Laurent Sansonetti
Hi Martin, There is a way: if you copy the .bridgesupport files of your system inside your application's bundle, under the Resources/BridgeSupport directory, MacRuby should look at them in priority. Examples: Foo.app/Contents/Resources/BridgeSupport/Foundation.bridgesupport Foo

[MacRuby-devel] BridgeSupport Requirement

2011-02-08 Thread Martin Hawkins
I installed BridgeSupport Preview 3 in order to resolve some issues related to errors looking up constant values. The new BridgeSupport worked fine and the application I have been working runs fine. I have 'embedded' MacRuby so that it can be distributed but here I come unstuck. When run on a comp