]
Andrew Rubinger updated SHRINKWRAP-490:
---------------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 1.2.3
Resolution: Done
f338d5487257448788ae37c1fe01246ad4354a9a
Allow ExplodedExporter to export directly into a target directory
-----------------------------------------------------------------
Key: SHRINKWRAP-490
URL:
https://issues.jboss.org/browse/SHRINKWRAP-490
Project: ShrinkWrap
Issue Type: Feature Request
Components: api, impl-base
Affects Versions: 1.2.2
Reporter: Aslak Knutsen
Assignee: Andrew Rubinger
Fix For: 1.2.3
The ExplodedExporter currently support
* exportExploded(parent)
* exportExploded(parent, targetName)
exportExploded(parent) automatically append archive.name to the output path.
We're currently missing a way to write directly to a given directory with out having
to do a little dance like:
{code}
File target = new File("some/dir");
archive.as(ExplodedExporter.class).exportExploded(target.getParent(), target.getName());
{code}
Propose new ExplodedExport method exportExplodedInto(File target)