Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9514

Project Example project zips that require empty folders (i.e. src folders) need to be imported properly

XMLWordPrintable

    • Workaround Exists
    • Hide

      The workaround is to include a file (like a dummy txt file) in the empty directory so it's no longer empty before you export the project(s) as a zip to be used by the project examples wizard.

      Show
      The workaround is to include a file (like a dummy txt file) in the empty directory so it's no longer empty before you export the project(s) as a zip to be used by the project examples wizard.

      While working on some new project examples for JBDS 4.1.1, I ran into an issue. I have a project within a project examples zip that has an empty src folder but requires that the folder be in place to compile properly. Talking with Snjeza, she mentioned that the code skips empty folders during the import process.

      Is there any way to short-circuit that behavior for the "src" directory at least?

      The workaround is to include a file (like a dummy txt file) in the empty directory so it's no longer empty before you export the project(s) as a zip to be used by the project examples wizard.

              snjeza_jira Snjezana Peco (Inactive)
              bfitzpat_rh Brian Fitzpatrick (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: