2

I'm using Araxis Merge to try and compare two Java archive files. I've done it in Beyond Compare but have recently switched to a Mac. Right now Araxis treats the JARs like files and I just see a lot of binary/hex stuff. I'd like to see which classes have differences and to treat the JAR like a folder. Any ideas?

Matthew Simoneau
  • 6,199
  • 6
  • 35
  • 46
AEIOU
  • 763
  • 3
  • 8
  • 15

3 Answers3

1

Decompress the contents of the archive to folders, and diff the folders

Jason Williams
  • 56,972
  • 11
  • 108
  • 137
  • And before starting the diff, you could decompile the .class files. Might not be very useful if they were obfuscated or a major change happened. – SuperOli Nov 19 '10 at 15:02
0

A JAR file is basically a zip file with a different extension.
Araxis merge can't compare the content inside a zip file.

shoosh
  • 76,898
  • 55
  • 205
  • 325
0

A JAR file is basically a ZIP file with a different extension. Araxis Merge can't compare the content inside a ZIP file.

As a workaround, decompress the contents of the archive to folders. Then diff the folders.

Matthew Simoneau
  • 6,199
  • 6
  • 35
  • 46