Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make template tags be parsed and replaced on a custom



Message: 1
From: Isaac Rivera <email@hidden>
Subject: How to make template tags be parsed and replaced on a custom
  template?
Date: Fri, 27 Aug 2004 07:14:32 -0400
To: email@hidden

I've created a custom XCode Flash application framework template and it
works pretty well. All files get copied and the application .fla file
gets renamed accordingly. However, my problem is that I have several
actionscript sourcecode files that should update their template tags to
reflect the correct classpath after the project gets saved. These just
use the standard template variables of +PROJECTNAME; or +FILEBASENAME;,
for instance, in the sourcecode. Additionally I have lieted them in the
projects .plist file as FilesToMacroExpand. Still their tags are not
replaced.


Please check that the file encoding of the .plist file is Mac OS Roman when you edit it. Otherwise the characters << and >> (at my German keyboard alt-q/alt-Q) are misinterpreted, and macro expanding won4t work.

Also you may want to check if you put the right hand side of the list in FilesToRename = {} into the list in FilesToMacroExpand = {}.

Rolf
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.