"Permission Denied" when trying to launch BC4 as external diff tool in IntelliJ IDEA

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gimpster
    Journeyman
    • Sep 2011
    • 15

    "Permission Denied" when trying to launch BC4 as external diff tool in IntelliJ IDEA

    I attempted to configure IntelliJ IDEA 12 to use BC4 as an external diff tool. When launching the Diff tool from within IntelliJ, I received a "Permission Denied" error. Screenshot of configuration and error below.
  • Aaron
    Team Scooter
    • Oct 2007
    • 15997

    #2
    Hello,

    Instead of referencing the BCompare app, please try using the Beyond Compare menu -> Install Command Line Tools, then use the installed BComp.

    We have other examples of version control, here:
    http://www.scootersoftware.com/vbull...ad.php?t=11677

    How does this work for you? If it does work, I'd certainly appreciate any steps you can provide, and I would update the above forum post accordingly.
    Aaron P Scooter Software

    Comment

    • gimpster
      Journeyman
      • Sep 2011
      • 15

      #3
      This worked great. The steps below were performed on IntelliJ IDEA Ultimate, but should work equally well on the Community Edition and PHPStorm.

      1. Launch IntelliJ IDEA
      2. Open the Preferences
      3. Under the "IDE Settings" select "External Diff Tools"
      4. Check the boxes to use an external tool for folder diffs, file diffs, and merges.

      These are the settings:

      Compare folders
      Path to executable: /usr/local/bin/bcomp

      Compare files
      Path to executable: /usr/local/bin/bcomp

      Merge tool
      Path to executable: /usr/local/bin/bcomp
      Parameters: %1 %3 %2 %4

      Comment

      Working...