[jbosstools-issues] [JBoss JIRA] (JBIDE-25968) Downloaded CDK runtimes artifacts in /tmp folder are not given executable rights nor are copied into installation folder
Rob Stryker (JIRA)
issues at jboss.org
Mon Apr 23 14:10:00 EDT 2018
[ https://issues.jboss.org/browse/JBIDE-25968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13565613#comment-13565613 ]
Rob Stryker commented on JBIDE-25968:
-------------------------------------
I've opened https://github.com/jbosstools/jbosstools-base/pull/620
We use file.renameTo(). This is platform-dependent, and may fail if the drive of the temporary folder is different than the drive of the destination. This is why we had the temporary field in the first place: to allow the user to choose a temporary location that is on the same drive / partition / filesystem as the ultimate destination.
However, it seems this isn't specifically clear in the UI, and rather than change the UI, I have just copied the file over instead. Please test the PR.
> Downloaded CDK runtimes artifacts in /tmp folder are not given executable rights nor are copied into installation folder
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-25968
> URL: https://issues.jboss.org/browse/JBIDE-25968
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk
> Affects Versions: 4.5.3.Final
> Environment: Fedora 27
> Reporter: Ondrej Dockal
> Assignee: Rob Stryker
> Priority: Critical
> Fix For: 4.6.0.AM1
>
> Attachments: downloading_cdk_runtime.gif
>
>
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jbosstools-issues
mailing list