I have 2 jar files (A and B) where A is an obsolete version and B is the new version of my app. To do the "update" all I need is to obtain the properties from A. How can I programatically read A's properties from B? When I search for examples of this I can only find JarInJar situations rather than external jars. TIA.
This is not doing what I expected in that it is not traversing directories. I have exactly 2 directories at the top level of the jar: KCBSEvents and META-INF. However, the only one it finds is META-INF. The main directory is not showing up. Here is my class:
How do I drill down to the file I need. It is in 'KCBSEvents/resources'? I don't think the way I am setting up BufferedReader is right either but I haven't gotten that far yet. TIA.
That else block (33 - 35) shouldn't be there. What you did actually is this: get the first entry from the jar, and if it's not what I'm looking for, exit application.
Edit: I hope you don't plan to handle your exceptions by exiting application. Suppose this is just a testing version.
The quieter you are, the more you are able to hear.