Hi, i have 2 jar files. They are the alike except for a few modifications. I would like a program thar finds those difference since there are too many classes inside and its impossible to do it manually. Can you recommend me a good program to do it?
Hi, i don't know if it can help you but, this is what i found from other friends:
what do youo mean 'difference' ? are you reffering the contents of the files. if so, you can uncompress it by '# jar tf file1.jar > /tmp/file1 ; jar tf file2.jar > /tmp/jar2'
#diff file1 file2
I could do that, but there are several files inside so still, i need a program that can tell me what files are different and where. For example, i have 2 files called example.jar and example2.jar. They are almost identical since they both have 50 classes: a class, b class and so on. The content of each class in example.jar have almost the same content as its counterpart in example2.jar BUT 1 or 2 classes (maybe more) have slight differences in the content. I need to find out which ones are the classes NOT identical to their counterpart and where in the content is the thing that makes them different from each other. It there were only 2 or 3 files i could compare them manually, but there are just way too many so i need a program that can do it for me.