Iam developing a utility to compare Jar/EAR/WAR Files.
I am facing an issue while comapring EAR files i.e. I am able to get the sizes of files inside EAR file including WAR File , But I want to be able to iterate the WAR file (which is present inside EAR) and get sizes of files inside it.
The above funtionality would enable users to identify the file inside WAR file of a EAR file which has changed.
Please find below the code Iam using to get the contents and as can be seen I am able to get file name and file date timestamp of files inside WAR file but not the sizes.
Please let me know your thoughts regarding the approach which can be adopted.