[jboss-jira] [JBoss JIRA] (WFBUILD-27) wildfly-server-provisioning-maven-plugin does not extract symlinks correctly
Alex Szczuczko (JIRA)
issues at jboss.org
Tue Sep 12 20:06:00 EDT 2017
[ https://issues.jboss.org/browse/WFBUILD-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463095#comment-13463095 ]
Alex Szczuczko commented on WFBUILD-27:
---------------------------------------
I've traced this issue to FileUtils.extractFile(), which doesn't consider symlinks at all. The symlinks fall through the special conditions, and are then treated as normal files, leading to the observed behaviour of a file with a single line of text.
Unfortunately the JDK's ZipFile library is being used there, and there's no way to make that work with symlinks. I'm working on a solution using Apache's commons-compress.
> wildfly-server-provisioning-maven-plugin does not extract symlinks correctly
> ----------------------------------------------------------------------------
>
> Key: WFBUILD-27
> URL: https://issues.jboss.org/browse/WFBUILD-27
> Project: WildFly Build Tools
> Issue Type: Bug
> Reporter: Alex Szczuczko
> Assignee: Stuart Douglas
>
> In Keycloak, I have a feature pack with content that includes semantic links. When wildfly-server-provisioning-maven-plugin's build goal is called during a subsequent maven build, it extracts the feature pack, but the semantic links are not correctly created.
> Instead of an actual symlink, a single line file is created that contains the target of the symlink.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list