]
Praveen Kumar commented on JBIDE-23016:
---------------------------------------
I am not sure if that helps but I just used a python script which run vagrant[0] as spawn
process and using it pexpect module we can pass whatever required. I am hoping java might
have some module around expect.
[0]
When starting CDK 2.2 with landrush for the first time, user will be
prompted for sudo password
-----------------------------------------------------------------------------------------------
Key: JBIDE-23016
URL:
https://issues.jboss.org/browse/JBIDE-23016
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdk
Affects Versions: 4.4.1.AM3
Reporter: Martin Malina
Assignee: Rob Stryker
Priority: Blocker
Fix For: 4.4.1.Final
The problem is that the first time you do vagrant up with cdk that has landrush set up,
you will be asked to provide your sudo password so that landrush can be set up (unless you
used it elsewhere already).
This is definitely true on Mac, most likely on Linux also. On Windows, I expect that you
will probably just be shown the system prompt for agreeing that the process uses admin
rights.
When I did this yesterday (while testing cdk 2.2 rc1), I actually started it from
terminal first, so I could enter my password in the console. But I'm pretty sure this
wouldn't work in Eclipse. So we need to figure out how to handle this scenario and
also test what happens on Windows after installing devsuite and then starting cdk from
devstudio - that is our most important use case.