Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-10853

CLI - module add - handle symlinks for directories and files

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 7.1.0.ER1
    • 7.1.0.DR17
    • CLI
    • None

    Description

      With WFCORE-2765 changes one can copy directories using CLI operation module add

      I tried few non-empty directory cases
      a) non-empty directory + subdirectories
      b) non-empty directory + subdirectories + symlink (ln -s) to file (pom.xml -> /home/rsvoboda/tmp/wildfly-core/pom.xml)
      c) non-empty directory + subdirectories + symlink (ln -s) to directory (jdk -> /opt/jdk1.8.0_91)

      a) worked without problem
      b) modules contain file (pom.xml) with copied content of sym-linked file, symlink not preserved
      c) modules contain empty file jdk, content of sym-linked directory is not copied, symlink not preserved

      Symlinks must be also handled, I would prefer to copy all the linked content to be consistent on different machines.
      This can be complex as symlinks to files and directories can be nested in the directories structure.

      Attachments

        Issue Links

          Activity

            People

              jdenise@redhat.com Jean Francois Denise
              rsvoboda@redhat.com Rostislav Svoboda
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: