[jboss-jira] [JBoss JIRA] (WFCORE-2796) CLI - module add - handle symlinks for directories and files
Rostislav Svoboda (JIRA)
issues at jboss.org
Thu May 11 05:14:00 EDT 2017
Rostislav Svoboda created WFCORE-2796:
-----------------------------------------
Summary: CLI - module add - handle symlinks for directories and files
Key: WFCORE-2796
URL: https://issues.jboss.org/browse/WFCORE-2796
Project: WildFly Core
Issue Type: Enhancement
Components: CLI
Reporter: Rostislav Svoboda
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.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list