Vcomponents in Mach-O Package

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Dec 20 20:03:36 CST 2005


On 12/20/05 6:51 PM, "Dave Addey" <listmail1 at dsl.pipex.com> wrote:

Hi Dave,
 
> No, I'd already read that thread and tried everything it suggests.  The
> problem is that when you compile as a Mach-O application in REALbasic, the
> application is *already* a bundled .app folder, with the structure in place.
> So, AppBundler can't do anything with it.

What AppBundler cannot do for you ??
 
> I think the Mach-O term for it is a Package rather than a Bundle, but the
> structure is essentially the same.
 
> If you compile a REALbasic project as a Mach-O app, and then right-click on
> the application in the Finder, you should have an option to "Show Package
> Contents".  This opens the .app as a folder, and lets you look inside.

yes
 
> I'm pretty comfortable with packages.  I already have an applescript that
> will copy a .dylib file (for using HID input devices) into a
> /Contents/Frameworks/ folder once REALbasic has built the Mach-O
> application.
> 
> To be honest, having worked with the "package" format, I wouldn't use
> AppBundler anyway, excellent as it is.  I just do the file copying myself
> after I have comiled the Mach-O application.
 
> Here's a page from the Apple site, which talks about loading code at runtime
> for Mach-O:
> 
> http://developer.apple.com/documentation/DeveloperTools/Conceptual/MachOTopi
> cs/Articles/loading_code.html
> 
> My guess is that the V4RB plugin is looking for the files it needs in the
> executable application's folder (@executable_path) and looking in CFMSupport
> if it can't find them there first.  What it *could* do instead is to:

V4RB do not and cannot search in executable_path, because it is CARBON.

 
> * Look in the application bundle's /Contents/Frameworks/ folder first
> * Look in the application's folder (as it does at the moment)
> * Look in the CFMSupport folder (as it does at the moment)
> 
> My guess is that it isn't doing this first step, which is why it never finds
> my files.
> 
> This would mean that we could copy the files inside the Mach-O Package if we
> wanted, and then the plugin code would check each location in turn at
> runtime until it found the files it needs.

If you download Valentina Studio or Valentina Server you will see that they
have packages and VComponents inside. All right.

The same we have for Valentina For Revolution, which is in MACHO format.

But V4RB is CARBON for now.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list