Re: How to run prefPane from Project Builder/gdb
Re: How to run prefPane from Project Builder/gdb
- Subject: Re: How to run prefPane from Project Builder/gdb
- From: Mike Ferris <email@hidden>
- Date: Sat, 7 Dec 2002 09:58:22 -0800
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@hidden>
Date: Fri Dec 6, 2002 6:04:15 PM US/Pacific
To: email@hidden
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@hidden
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@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.