• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using CodeWarrior as the 'compare handling' application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Using CodeWarrior as the 'compare handling' application
      • From: "Sean McBride" <email@hidden>
References: 
 >Using CodeWarrior as the 'compare handling' application (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Using CodeWarrior as the 'compare handling' application
  • Next by Date: Re: Using CodeWarrior as the 'compare handling' application
  • Previous by thread: Using CodeWarrior as the 'compare handling' application
  • Next by thread: Re: Using CodeWarrior as the 'compare handling' application
  • Index(es):
    • Date
    • Thread