enthuguy
asked on
How to insert a class file inside 100s of jar
Hi ,
have 100s of jar file where I need to insert a class file to them in bash script.
what is the best way to automate that?
1. Is it possible to inject without extracting the jar?
2. Would like to find <file_pattern>.jar recursively and inject
3. pls help with sample scripts
Thanks in advance
have 100s of jar file where I need to insert a class file to them in bash script.
what is the best way to automate that?
1. Is it possible to inject without extracting the jar?
2. Would like to find <file_pattern>.jar recursively and inject
3. pls help with sample scripts
Thanks in advance
Just for curiosity: Why?
ASKER
Just for a POC, I would like to perform this.
I understand this may not happen in real world ( may one or two jars
I understand this may not happen in real world ( may one or two jars
ASKER
Or just assume, we will inject a properly file in a jar
Properly read manual of jar utility?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
it worked for me