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

PRoblem with WorkspaceFIlesetVirtualComponent, publish using fileset virtual component

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.2.Final, 4.0.0.Alpha1
    • 3.3.1.Final
    • server
    • None
    • Hide
      When packaging a web project, the use of a fileset for automatically copying resources did not result in the correct files being copied. The expressions in the Includes and Excludes fields of the fileset reference were not strictly adhered to during pattern matching of file names. This has been resolved and strict adherence to the expressions in the Includes and Excludes fields ensures the correct files are copied.


      Show
      When packaging a web project, the use of a fileset for automatically copying resources did not result in the correct files being copied. The expressions in the Includes and Excludes fields of the fileset reference were not strictly adhered to during pattern matching of file names. This has been resolved and strict adherence to the expressions in the Includes and Excludes fields ensures the correct files are copied.
    • Documented as Resolved Issue

      Steps to reproduce:
      1) Create a dynamic web project
      2) Create a POJP
      3) Inside POJP, make some file structure (foldera, foldera/file1.txt, foldera/file2.txt, folderb, folderb/b1.txt, etc)
      4) Right-click web project, go to deployment assembly page
      5) click add
      6) click 'fileset'
      7) set root to /pojp
      8) set includes pattern to */file1
      9) finish
      10) publish this to some server

      You will note that matching files inside a subdirectory that is not explicitly included in the includes pattern does not get included. In this case, foldera/file1.txt will not be included, and folder 'foldera' will also not be created in the deployment. This is a bug.

      Part of this commit has been made over at JBIDE-12360 by accident

            rob.stryker Rob Stryker (Inactive)
            rob.stryker Rob Stryker (Inactive)
            Michelle Murray Michelle Murray (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: