Double clicking on a war file in Beyond Compare's folder compare will expand it as a folder because war files are essentially zip files.
To decompile Java class files to source code in Beyond Compare, install the Java Class to Source file format. With the file format installed, when you double click on a .class file inside a .war archive, it will display the decompiled source code in Beyond Compare's Text Compare.
Download page for file formats: http://www.scootersoftware.com/download.php?zz=kb_moreformatsv4
Note the Java class to source file format is only available for Windows, it isn't available for the Linux or Mac versions of Beyond Compare.
Answer from Chris Kennedy on Stack OverflowDouble clicking on a war file in Beyond Compare's folder compare will expand it as a folder because war files are essentially zip files.
To decompile Java class files to source code in Beyond Compare, install the Java Class to Source file format. With the file format installed, when you double click on a .class file inside a .war archive, it will display the decompiled source code in Beyond Compare's Text Compare.
Download page for file formats: http://www.scootersoftware.com/download.php?zz=kb_moreformatsv4
Note the Java class to source file format is only available for Windows, it isn't available for the Linux or Mac versions of Beyond Compare.
Download Java Class to Source file format from http://www.scootersoftware.com/download.php?zz=kb_moreformatsv4
In Beyond Compare, pick Tools | Import Settings.
Fill in the downloaded filename, and click Next and proceed to finish.