I am trying to replace a modified property.jar in WAS.jar, what's the quickest way to do this? Replacing normal files back to a jar is very easily by using input/output stream. How can I do it with jar/ear types?
Please advise, thanks
I am trying to replace a modified property.jar in WAS.jar, what's the quickest way to do this? Replacing normal files back to a jar is very easily by using input/output stream. How can I do it with jar/ear types?
Please advise, thanks
Three steps:
I'm not saying that this is a good idea. I don't see why you should have to do such a thing. Don't consider supplying the steps as an endorsement.
jar and ear files are zip-files. What you need to do is equivalent to replacing an entry in a zip-file.