#9 Store for later compare...

open
None
5
2009-12-01
2009-12-01
dom
No

I just installed version 0.8.8 on my Eclipse (3.5).
If I would like to compare the same class out of different projects then usually I do the following (in Eclipse): on the first file right mouse click, press "store for later compare". Then switch to the other file and press the Beyond Compare button (tool tip: compares the selected resources using Beyond Compare). Beyond Compare opens, but there will be shown only the start screen as if you start Beyond Compare without selecting something. I expected that the comparison of the two files will be shown. This worked in version 0.8.4.

May be this is a bug?

Regards
dom

Discussion

  • Hi Dom,
    I tried this out on both Eclipse 3.4 and 3.5 and it worked just fine for me following the steps you outlined.

    What about if you select both files at the same time and then click the Beyond Compare button? Does that work?

    What version of Beyond Compare are you using - BC3?

     
    • milestone: 541799 -->
    • assigned_to: nobody --> ccallendar
     
  • dom
    dom
    2009-12-02

    Hi Chris

    This is the precondition: both files (the same class, but of different projects, there exist differences) are opened in the editor.

    If I select the files just in the Package Explorer and click on Beyond Compare button, then it works.

    It also works, if on the first file I click on 'store fore later use', then switch to the second file and select it additionally in the Package Explorer and click on Beyond Compare button.
    But this is not the way, I used to compare files. There is one more step/click (ok, that's not much more.....)

    I think there is a problem when I switch to the second file. In comparison to prior version 0.8.4 the second file will not be "selected" in terms of Beyond Compare.

    I just found out that it also works, if I click on 'store fore later use' on the first file, then switch to the seond file and click on the Package Explorer tab sheet (just to activate this view).
    It seems to be that the Package Explorer must be activated somehow. This is not the case if I just switch between files (but this depends on Eclipse).

    If I just click on 'store fore later use' on a file and then click on Beyond Compare button, the result is the same as described in the first message.

    I use Beyond Compare version 3.0.4 (build 8855).

    Regards
    Dom

     
  • Hi Dom,

    I was able to re-produce your situation. I always select the file in the Package Explorer, so I hadn't run into this problem before.

    Since there are a few workarounds for this issue, I'll try to fix this when I next do a release.

    Chris

     
  • dom
    dom
    2009-12-04

    That's fine, thank you.

    Dom