[shrinkwrap-issues] [JBoss JIRA] Closed: (SHRINKWRAP-84) Unable to use existing directory as parent in ExplodedExporter
Andrew Lee Rubinger (JIRA)
jira-events at lists.jboss.org
Wed Jan 27 11:10:20 EST 2010
[ https://jira.jboss.org/jira/browse/SHRINKWRAP-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Lee Rubinger closed SHRINKWRAP-84.
-----------------------------------------
> 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-1, 1.0.0-alpha-2
> Reporter: Aslak Knutsen
> Assignee: Aslak Knutsen
> Fix For: 1.0.0-alpha-3
>
>
> 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
More information about the shrinkwrap-issues
mailing list