Re: Project templates
Re: Project templates
- Subject: Re: Project templates
- From: Scott Tooker <email@hidden>
- Date: Wed, 25 Jun 2008 10:08:00 -0700
Since project/file templates are not officially documented, I don't
believe we actually list all the possible expansion macros anywhere :(
Your best shot is to search through the existing project and file
templates.
Scott
On Jun 25, 2008, at 9:49 AM, Karan, Cem (Civ, ARL/CISD) wrote:
I apologize, I can see how my original post was confusing; I didn't
mean
that I want a default location to define them, I meant where the
documentation for what exists and what it means lives. The problem is
that I know I can write defaults, and I know I can create template
files; what I don't know is the complete list of variables that can be
used in template files are (and I'm not talking about user defined
variables, I'm talking about ones supplied by Xcode).
As an example, think about DATE. This is a variable that changes
constantly, so it can't be defined in the Xcode plist; Xcode must
define
it each time it creates a new file from a template. I want to know
the
complete list of these variables, and what they each mean.
Thanks,
Cem Karan
-----Original Message-----
From: Dr. Rolf Jansen [mailto:email@hidden]
Sent: Wednesday, June 25, 2008 10:53 AM
To: Karan, Cem (Civ, ARL/CISD)
Cc: email@hidden
Subject: Re: Project templates
OK, I not sure, if I got you correct. Possibly, you are looking for
the
following CLI command:
defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions -
dict\
FULLUSERNAME "Cem Karan"\
ORGANIZATIONNAME "Boot Camp @ arl.army.mil"
You can use the following command to check your entries:
defaults read com.apple.Xcode PBXCustomTemplateMacroDefinitions
If you are looking for something else, then please ignore my message.
BTW: The best place for your custom templates would be:
~/Library/Application Support/Developer/Shared/Xcode/Project
Templates/
CemKaransTemplates
Best regards
Dr. Rolf Jansen
Am 25.06.2008 um 18:16 schrieb Karan, Cem (Civ, ARL/CISD):
OK, I'm taking this back to the original question; does anyone know
where the definitive list of Xcode supplied macros (FULLUSERNAME,
etc.)
lives? I finally got tired of looking and ran grep across my entire
/Developer directory, found DevToolsCore, ran strings on it, and
grabbed anything that was in uppercase, but that is a pretty poor way
of doing things.
Thanks,
Cem Karan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden