Re: Scripting Xcode
Re: Scripting Xcode
- Subject: Re: Scripting Xcode
- From: Daniel Jalkut <email@hidden>
- Date: Wed, 18 Jan 2006 19:43:14 -0500
In general I don't think Xcode's scripting interface to Subversion is
going to be as reliable or informative as going straight to the
source. I would use a script that calls subversion directly and
parses those results.
I have been down this road before, and would also like to have more
reliable results from Xcode, but in the end I don't think it's worth
pulling too many hairs about.
Daniel
On Jan 18, 2006, at 7:04 PM, Steve Mills wrote:
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:
sweater.com
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