Scripting Xcode
Scripting Xcode
- Subject: Scripting Xcode
- From: Steve Mills <email@hidden>
- Date: Wed, 18 Jan 2006 18:04:58 -0600
I've been pulling my hair out trying to figure out how to get all the
files that are currently checked out via Xcode. I don't see anything
in the dictionary that will get me that info easily without having to
iterate through the entire project. And when I iterate through each
"file reference" or "item reference", the status is always "unknown",
when I know files are either checked in or checked out.
I also don't see a way to go from "file documents" to "file
references". If I could do that, then I could look at each source
file that's open in a window and get its status (if status would
actually return something useful).
The script I want to write will make it easier for me to ensure that
every file I check out has the line endings set to Unix. I'm not sure
what the bug is, but most of the time when I check out a file and
open it in Xcode the Line Endings submenu has *nothing* checked. My
Perforce client has its line endings set to Unix, and I have Xcode's
prefs set to use Unix for new and existing files.
So, any idears?
Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
_______________________________________________
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