File MYFILE.jar not found - Native error: 00012

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oman002
    Visitor
    • Mar 2012
    • 3

    File MYFILE.jar not found - Native error: 00012

    Hi,

    I'm launching BC3 from git as follows:

    Code:
    git difftool MYFILE.jar
    This starts Folder Compare and then immediately the command window returns to the prompt. Normally when I use git difftool for a file compare it doesn't return to the prompt until I have closed the tab in BC3.

    Then, when I select files in the Folder Compare to compare I get the error:

    File MYFILE.jar not found - Native error: 00012
    My git config:

    Code:
    merge.tool=bc3
    mergetool.BeyondCompare3.path=C:/Program Files/Beyond Compare 3/bcomp.exe
    diff.guitool=beyondcompare3
    difftool.beyondcompare3.path=C:/Program Files/Beyond Compare 3/bcomp.exe
    mergetool.bc3.path=c:/program files/beyond compare 3/bcomp.exe
  • Aaron
    Team Scooter
    • Oct 2007
    • 16000

    #2
    Hello,

    Jar files are archives, and are handled a bit differently by BC3. Passing in a pair of archives on the command line is like passing a pair of folders rather than files. You can change this, to treat them like files, but this would likely open them in the Hex Compare (which probably is not what you want). If it is, you can go to the Tools menu -> Options dialog, Folder views section, and in the Archive Associations remove the extension (*.jar) from any reference.

    BC3 does not support using the diff command on a pair of "folders".
    Aaron P Scooter Software

    Comment

    • oman002
      Visitor
      • Mar 2012
      • 3

      #3
      Thanks for your reply. Ideally I would like to treat jar files like folders, so I can compare individual files in the archive, and be able to do this from git diff.

      Comment

      • oman002
        Visitor
        • Mar 2012
        • 3

        #4
        PS: I've found a workaround in the meantime -a jar folder style compare initiated from TortoiseGit will work without error. TortoiseGit is setup to use:

        Code:
        "C:\Program Files\Beyond Compare 3\BComp.exe" %base %mine /title1=%bname /title2=%yname /leftreadonly

        Comment

        Working...