[
https://issues.jboss.org/browse/JBIDE-25753?page=com.atlassian.jira.plugi...
]
Martin Malina edited comment on JBIDE-25753 at 3/19/18 9:00 AM:
----------------------------------------------------------------
[~rob.stryker], now I have all the latest updates. The disclaimer is gone, that's
good.
{quote}
So I believe strongly:
1) The file now gets downloaded to the tmp folder you chose
2) The file gets renamed to / moved to the real destination folder
3) The file permissions are then changed, and the versioning validation works as
expected.
{quote}
1) and 2) works - it's moved to the correct folder, but it's still called
cdk-3.xx...., but I guess that's ok.
3) works as well:
{code}
$ ls -l /Users/rasp/tmp/cdk-3.3.0-1-minishift-darwin-amd64
-rwxr--r-- 1 rasp staff 483310592 Mar 19 13:46
/Users/rasp/tmp/cdk-3.3.0-1-minishift-darwin-amd64
{code}
(At first I thought it wasn't correct because there is no x for the group which I
normally expect. But there is x for the owner which is what matters.)
Once I ran setup-cdk manually from CLI, I was able to start cdk from the IDE.
Ultimately it failed but that's probably because I already had a pre-existing
minishift installation which was replaced by the new one, but some of the virtualbox
components were already defined:
{code}
-- Starting Minishift VM .......... FAIL E0319 13:56:16.418650 47229 start.go:368] Error
starting the VM: Error creating the VM. Error creating machine: Error in driver during
machine creation: /usr/local/bin/VBoxManage storagectl minishift --name SATA --add sata
--hostiocache on failed:
VBoxManage: error: Storage controller named 'SATA' already exists
VBoxManage: error: Details: code VBOX_E_OBJECT_IN_USE (0x80bb000c), component
SessionMachine, interface IMachine, callee nsISupports
VBoxManage: error: Context: "AddStorageController(Bstr(pszCtl).raw(),
StorageBus_SATA, ctl.asOutParam())" at line 1070 of file
VBoxManageStorageController.cpp
. Retrying.
Error starting the VM: Error creating the VM. Error creating machine: Error in driver
during machine creation: /usr/local/bin/VBoxManage storagectl minishift --name SATA --add
sata --hostiocache on failed:
VBoxManage: error: Storage controller named 'SATA' already exists
VBoxManage: error: Details: code VBOX_E_OBJECT_IN_USE (0x80bb000c), component
SessionMachine, interface IMachine, callee nsISupports
VBoxManage: error: Context: "AddStorageController(Bstr(pszCtl).raw(),
StorageBus_SATA, ctl.asOutParam())" at line 1070 of file
VBoxManageStorageController.cpp
{code}
Once I removed everything from VirtualBox and started again, cdk then started correctly.
was (Author: mmalina):
[~rob.stryker], now I have all the latest updates. The disclaimer is gone, that's
good.
{quote}
So I believe strongly:
1) The file now gets downloaded to the tmp folder you chose
2) The file gets renamed to / moved to the real destination folder
3) The file permissions are then changed, and the versioning validation works as
expected.
{quote}
1) and 2) works - it's moved to the correct folder, but it's still called
cdk-3.xx...., but I guess that's ok.
But 3) does not work - it still only has read permissions:
{code}
$ ls -l /Users/rasp/tmp/cdk-3.3.0-1-minishift-darwin-amd64
-rwxr--r-- 1 rasp staff 483310592 Mar 19 13:46
/Users/rasp/tmp/cdk-3.3.0-1-minishift-darwin-amd64
{code}
Add links for downloading minishift and cdk in New Server Adapter
wizard
------------------------------------------------------------------------
Key: JBIDE-25753
URL:
https://issues.jboss.org/browse/JBIDE-25753
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: cdk, server
Affects Versions: 4.5.3.AM2
Reporter: Josef Kopriva
Assignee: Rob Stryker
Fix For: 4.5.3.AM3
Attachments: cdk-dl-error.png
In "New Server Adapter" wizard should be buttons/links to download
minishift/cdk binaries or similar wizard as it is done for EAP/WildFly servers runtimes.
WDYT [~adietish] [~jeffmaury] ?
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)