Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-84

Unable to use existing directory as parent in ExplodedExporter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0-alpha-3
    • 1.0.0-alpha-1, 1.0.0-alpha-2
    • None
    • None

      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..

              aslak@redhat.com Aslak Knutsen
              aslak@redhat.com Aslak Knutsen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: