Re: Using CodeWarrior as the 'compare handling' application
Re: Using CodeWarrior as the 'compare handling' application
- Subject: Re: Using CodeWarrior as the 'compare handling' application
- From: James Bucanek <email@hidden>
- Date: Wed, 6 Apr 2005 09:00:44 -0700
Sean McBride wrote on Wednesday, April 6, 2005:
>In "XCode -> Preferences -> SCM Access" there is a "View comparisons
>using" option. The options are File Merge, BBEdit, and other. I would
>like to use CodeWarrior as the 'other' but it does not seem to work.
File diffs are done via a command line tool. The FileMerge application can be invoked from the command line using the /usr/bin/opendiff tool. Likewise, BBEdit provides a bbdiff tool.
To use CodeWarrior (or any other application), you'll have to have some kind of bridge from the command line to the app. If you wanted to roll your own, you might try writing a shell script that passed the filename arguments to an AppleScript, that could then send AppleEvents telling CodeWarrior to perform a diff. I don't even know if the last part is possible, as I haven't tried to AppleScript CodeWarrior in years. Maybe someone has already done this?
Personally, I can't imaging any reason not to use BBEdit for diffs. ;)
--
James Bucanek <mailto: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