Hi there, (removing cross-post)
On 10/01/2006, at 1:18 AM, Dev WO wrote:
Merging what I found on the mailing list and Nathan Walker podcast #4 I was able to create the template:)The last thing I couldn't find:I added some custom files to the template, I added the header with the different variable (date, user, project name, etc), but it seems like Xcode doesn't check my custom files and just replaces the variables in it's own default files. I know it's not an issue in the way it won't break the application, but I'll be happy to know how to make Xcode replace the variables in the template's added files.
So far as replacing variables you'll need to add your variable keys and their associated values (i.e., your prefs for those keys) to the appropriate defaults dictionary...
So if you've got:defaults write com.apple.xcode PBXCustomTemplateMacroDefinitions - dict ORGANIZATIONNAME "My Company"
Then put:defaults write com.apple.xcode PBXCustomTemplateMacroDefinitions - dict-add SomeKey "some value" anotherKey "another value"...
with regards, -- Lachlan Deck
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
