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

Project archives loses "Library File Set" definition after closing and reopening JBDS

    Details

    • Steps to Reproduce:
      Hide

      Create an Eclipse project with a simple class with a main method.
      Create a project archive jar file for the project.
      Add a lib folder to the project archive.
      Add a "New User Library Fileset" to the lib folder.
      Build the full project archive to make sure its working.
      Exit JBDS.
      Start JBDS and select your project, and the project archives tab.
      There will be no fileset defined under your lib folder in the project archive.

      Show
      Create an Eclipse project with a simple class with a main method. Create a project archive jar file for the project. Add a lib folder to the project archive. Add a "New User Library Fileset" to the lib folder. Build the full project archive to make sure its working. Exit JBDS. Start JBDS and select your project, and the project archives tab. There will be no fileset defined under your lib folder in the project archive.
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      A workaround exists, in that you can always re-add the "User Library Fileset" back to the project, but its highly annoying to have to do that every time you come back to the project after closing JBDS.

      Show
      A workaround exists, in that you can always re-add the "User Library Fileset" back to the project, but its highly annoying to have to do that every time you come back to the project after closing JBDS.

      Description

      I recently created a new project to build a native management client to do some performance monitoring.

      In that project I created to "User Libraries". One for Apache Commons CLI, for handling the CLI needs of the tool, and one for our own EAP libraries that make up the Native Management Client libraries.

      I used the "Project Archives" feature to create the executable jar (also using the OneJar open source project so I could have dependent jars for runtime within the executable jar). In that executable jar, I have a lib folder, where I defined two "User Library Fileset"'s. This works fine, but after I close JDBS, and later go back and start it again to continue development work, that part of the "Project Archives" definition is always missing, and I have re-add it to the project.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rob.stryker Rob Stryker
                Reporter:
                andy.miller Andrig Miller (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: