Unable to use existing directory as parent in ExplodedExporter
--------------------------------------------------------------
Key: SHRINKWRAP-84
URL:
https://jira.jboss.org/jira/browse/SHRINKWRAP-84
Project: ShrinkWrap
Issue Type: Bug
Affects Versions: 1.0.0-alpha-2, 1.0.0-alpha-1
Reporter: Aslak
Assignee: Aslak
final File outputDirectory = new File(baseDirectory, archive.getName());
if (!outputDirectory.mkdir())
{
throw new ArchiveExportException("Unable to create archive output directory
- " + outputDirectory);
}
mkdir only returns true if the directory was created, should check to see if it already
exists as well..
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira