I want to add a particular class file in an EAR file.
My EAR has many JAR file. In a particular JAR i want to delete an MyJavaClassFile.class and an updated(fix) MyJavaClassFile.class in the same place as previous.
I have a test.ear. I tried to unzip and zip it mentioned in this link
jar -xvf test.ear
jar -cvf test.ear yourclassesdir
but there is difference in checksum between
(test.ear
) and (test.ear --> test/ --> test.ear
)
Am I correct with these steps ? If I am wrong guide me..