Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2012
    Posts
    3

    Default 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

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    7,358

    Default

    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

  3. #3
    Join Date
    Mar 2012
    Posts
    3

    Default

    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.

  4. #4
    Join Date
    Mar 2012
    Posts
    3

    Default

    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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •