Summary: | zipgroupfileset should support a nested pattern specification | ||
---|---|---|---|
Product: | Ant | Reporter: | Kohsuke Kawaguchi <kk> |
Component: | Core tasks | Assignee: | Ant Notifications List <notifications> |
Status: | REOPENED --- | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 1.6.2 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | other |
Description
Kohsuke Kawaguchi
2005-04-11 19:08:20 UTC
Because of having problems with sign artefacts inside merged jar files using the zipgroupfileset, i created a workaround (repackaging), which simulated the missing "nested pattern specification" - maybe someone is interested in it: <tempfile property="templib" destdir="@{destination}"/> <move tofile="${templib}" file="${libraryname}"/> <zip file="${libraryname}"> <zipfileset src="${templib}"> <exclude name="META-INF/*.SF"/> <!-- EXAMPLE: excludes the existing sign information, which confuse JavaWebstart --> </zipfileset> </zip> <delete file="${templib}" quiet="true"/> put this snipped into a task and use it. *** This bug has been marked as a duplicate of bug 46257 *** zipgroupfileset should support two separate pattern specs: one to identify jar/zip files and another to filter files within jars/zips (e.g. META-INF/*). |