• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to run prefPane from Project Builder/gdb
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >How to run prefPane from Project Builder/gdb (From: Greg Hurrell <email@hidden>)

  • Prev by Date: Re: How to draw a horizontal line in a NSTextView?
  • Next by Date: Re: Drag and Drop a File... help!!
  • Previous by thread: Re: How to run prefPane from Project Builder/gdb
  • Next by thread: Re: How to run prefPane from Project Builder/gdb
  • Index(es):
    • Date
    • Thread