enthuguy
asked on
how to exclude a file using regex
I'm using zipdiff util to compare a set of jar/ear files (after zip)
I'm getting below output. But I couldn't figure out how to exclude pom.properties. pls suggest
app/app-WebAppEAR.ear/META -INF/maven /abc.ng.se curity.ora cleapp/app -WebAppEAR /pom.prope rties
app/Client-Jar.jar/META-IN F/maven/ab c.ng.secur ity.oracle app/Client -Jar/pom.p roperties
app/jarname.jar/META-INF/m aven/abc.n g.security .oracleapp /OfflineLo ader-Jar/p om.propert ies
app/dd-Jar.jar/META-INF/ma ven/abc.ng .security. oracleapp/ dd-Jar/pom .propertie s
app_v2.war/META-INF/maven/ abc.ng.sec urity.orac leapp/app- WebApp/pom .propertie s
WEB-INF/lib/jarname.jar/ME TA-INF/mav en/abc.ng. security.o racleapp/s s-Jar/pom. properties
On a different comparison I can exclude meta-inf file using regex with same zipdiff util "(?i)meta-inf.*"
I'm getting below output. But I couldn't figure out how to exclude pom.properties. pls suggest
app/app-WebAppEAR.ear/META
app/Client-Jar.jar/META-IN
app/jarname.jar/META-INF/m
app/dd-Jar.jar/META-INF/ma
app_v2.war/META-INF/maven/
WEB-INF/lib/jarname.jar/ME
On a different comparison I can exclude meta-inf file using regex with same zipdiff util "(?i)meta-inf.*"
ASKER
Thanks CEHJ for your quick suggestion.
unfortunately, still no luck, I see same output
unfortunately, still no luck, I see same output
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
you are awesome CEHJ!
thx very much
thx very much
:)
Open in new window