Link to home
Start Free TrialLog in
Avatar of enthuguy
enthuguyFlag for Australia

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
Avatar of ste5an
ste5an
Flag of Germany image

Just for curiosity: Why?
Avatar of enthuguy

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
Or just assume, we will inject a properly file in a jar
Properly read manual of jar utility?
ASKER CERTIFIED SOLUTION
Avatar of enthuguy
enthuguy
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
it worked for me