[shrinkwrap-issues] [JBoss JIRA] Updated: (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:08:19 EST 2010
[ https://jira.jboss.org/jira/browse/SHRINKWRAP-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Lee Rubinger updated SHRINKWRAP-84:
------------------------------------------
Fix Version/s: 1.0.0-alpha-3
(was: 1.0.0-beta-1)
Ensure we set the proper fix version when resolving issues.
> 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