Re: PB File Template Tokens
Re: PB File Template Tokens
- Subject: Re: PB File Template Tokens
- From: Andy Lee <email@hidden>
- Date: Fri, 27 Dec 2002 15:55:09 -0500
At 12:15 PM -0800 12/27/02, Joseph Jones wrote:
I REALLY want to get rid of the __MyCompanyName__ token that exists
in new files created under PB. I noticed in the PB Templates that
this is a replacement for ORGANIZAIONNAME. The question I have is,
where is this info coming from? I can't find anything in PB
Preferences for setting this information. Can anyone help me resolve
this issue?
When PB creates new files, it uses templates stored under
"/Developer/ProjectBuilder Extras/File Templates". You can override
these by creating your own versions in your home directory (you
should not modify the official ones because they will get overridden
the next time you install a Dev Tools release).
For my Cocoa needs, I duplicated the directory
"/Developer/ProjectBuilder Extras/File Templates/Cocoa" in my home
directory (as ~/Developer/...). I edited various file templates
there.
If you just want to substitute a different value for the token than
"__MyCompanyName__", you can change the setting as follows:
defaults write com.apple.ProjectBuilder
'PBXCustomTemplateMacroDefinitions' '{ORGANIZATIONNAME =
"WhateverYouWant" ; }'
I agree this stuff should be configurable in Preferences.
--Andy
_______________________________________________
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.