Is there macro (or combination of macros) to get a list of filenames inside a jar? Basically what I would like to get is the same what -includeresource
is doing when unrolling a jar. But I want to have it as a list to process it further e.g. with ${lsr} macro etc.
Example:
-includeresource META-INF/services=@lib/groovy-3.0.22.jar!/META-INF/services/*;flatten:=true
extracts the file org.codehaus.groovy.transform.ASTTransformation
inside the resulting JAR in META-INF/services
I have found extract [options] … | bnd but it does not seem to be available as a macro in a .bnd
file
Do we have something like this?