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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.2.2.M1
    • 3.3.0.M2
    • project-examples
    • None
    • 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:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: