-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: Show JAR containing java class #56
Comments
This is definitely a known deficiency, I was just saving it for clean up later. I guess it's later now. I'll work on changing it to the output you've suggested and we can see how that looks. Should the path use slashes for separators within the jar file or something else? |
Path using slashes is fine, especially if the file name ends with Not trying to rush fixing it, just figured I'd report it since I hadn't seen it yet.. :) |
Sounds reasonable. Can you give me a simple package or package comparsion I could use as a test case? |
JSS ships a single JAR and a symlink to that JAR, so the following should work:
The JAR is at For a package that ships multiple JARs, try the
That contains a couple of different JARs:
Most of the classes for I'm not sure I know of any RPMs with multiple JARs off the top of my head. |
What about output that looks like:
I'm not sure why I did it the other way first, but the path in parens was the full path to the temporarily extract component from the jar file rather than the jar file itself...which I already had. Would this work? |
That looks perfect :) The RPM maintainer should be readily able to map the JAR filename from their installed package to something useful (especially with the class path). Thanks @dcantrell! |
Thanks! |
The Java bytecode version check extracts JARs and inspects them for class files. This is nice, but the path is relatively arbitrary, e.g.:
What I'd suggest is:
This helps when multiple JARs are shipped in a single RPM.
Thoughts?
The text was updated successfully, but these errors were encountered: