Skip navigation.
 
mlRe: How to run prefPane from Project Builder/gdb
FROM : Mike Ferris
DATE : Sat Dec 07 18:58:22 2002

If the app (System Preferences) has no options for geting it to load
bundles from locations other than the standard ones, the first thing I
would do is submit a bug/feature request asking for such a feature. 
For example, Project Builder supports an NSUserDefault called
"PBXExtraPlugInFolders" that allows specifying extra folders to look in
for plug-ins.  That way, if you're developing a plug-in you can set up
an executable in your project that launches PB with the command line
arguments: -PBXExtraPlugInFolders $(SYMROOT).  Launched with these
arguments, PB will automatically load the built plugin from your build
directory.

If System Prefs does not have such a thing, ask for it.  In the
meantime, I would suggest making a symlink in ~/Library/Preferences
that points to the build pane in your build products folder.  Then you
can set up an executable that launches Systems Prefs and it will load
your plugin and you will not need to recopy it after each build...

Mike Ferris


Begin forwarded message:

> From: Greg Hurrell <<email_removed>>
> Date: Fri Dec 6, 2002  6:04:15 PM US/Pacific
> To: <email_removed>
> Subject: How to run prefPane from Project Builder/gdb
>
> Hello...
>
> Wondering if anyone can tell me how I might be able to test a prefPane
> bundle from within Project Builder.
>
> So far I have been building the bundle, copying it to the
> ~/Library/PreferencePanes folder, and testing it from inside
> SystemPreferences.app.
>
> Is there a way to test it without leaving Project Builder?
>
> The only way I can think of so far is to make a really simple target
> just for testing purposes that basically simulates the function of
> SystemPreferences.app; loads the prefPane bundle and displays it.
>
> Any other suggestions or shortcuts?
>
> cheers
> Greg
> _______________________________________________
> cocoa-dev mailing list | <email_removed>
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.

_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlHow to run prefPane from Project Builder/gdb Greg Hurrell Dec 7, 03:04
mlRe: How to run prefPane from Project Builder/gdb Kris Amico Dec 7, 04:43
mlRe: How to run prefPane from Project Builder/gdb Mike Ferris Dec 7, 18:58
mlRe: How to run prefPane from Project Builder/gdb Anders Ödlund Dec 14, 20:45