[JBoss JIRA] (JBIDE-24884) Log an error if detected cdk registry is wrong
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24884?page=com.atlassian.jira.plugi... ]
Martin Malina commented on JBIDE-24884:
---------------------------------------
That seems reasonable. I will verify this in time.
> Log an error if detected cdk registry is wrong
> ----------------------------------------------
>
> Key: JBIDE-24884
> URL: https://issues.jboss.org/browse/JBIDE-24884
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk, openshift
> Affects Versions: 4.5.1.AM1
> Reporter: Martin Malina
> Assignee: Rob Stryker
> Fix For: 4.5.1.AM1
>
>
> This is a followup of JBIDE-24783.
> When minishift openshift registry is unable to return a valid registry, the tooling should log an error. JBIDE-24783 was supposed to add this thing (along with removing the default value), but I was not able to trigger the error.
> The workflow is:
> Once cdk is started in eclipse, the cdk tooling will create the openshift connection and run minishift openshift registry to figure out which registry to use. But in my testing even if this returns "bla bla", the tooling will happily accept it.
> To test this, you can use a simple minishift wrapper such as this:
> {code}
> #!/bin/bash
> case $* in
> "openshift registry")
> echo bla bla
> exit 1
> ;;
> *)
> /Users/rasp/jbossqa/cdk/cdk-3.1.0/minishift $*
> esac
> {code}
> You can also remove the "exit 1" to check what happens with zero exit code.
> In my opinion any of these should trigger an error:
> a) minishift openshift registry finishes with a non-zero code
> b) the returned string is not a valid url
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months
[JBoss JIRA] (JBIDE-24222) CDK3 Server adapter: fails to detect that cdk3 Beta3 was successfully started (on macos/xhyve?)
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24222?page=com.atlassian.jira.plugi... ]
Martin Malina edited comment on JBIDE-24222 at 8/24/17 2:15 AM:
----------------------------------------------------------------
{quote}
Hmm, that did not seem to work, but maybe I have to first close Eclipse before editing the XML and then re-start it. I tried to edit the XML while Eclipse was still running and that did not work. I will try again.
{quote}
Don't edit the XML, edit the launch config in Eclipse - let me rephrase what I said:
The workaround is to go to the launch config and change the PATH to something reasonable:
1. Open cdk server editor by double-clicking the CDK adapter in Servers view
2. In the server editor, click Open launch configuration (almost at the top)
3. In the launch config window, go to the Environment tab
4. Edit the PATH variable to something reasonable. Apply and close.
The XML takes the PATH value from the launch config in Eclipse. So once you change the launch config to a reasonable PATH value, you should be fine.
And yes, in the launch config the PATH is initially determined by some calls in the code which obviously return rubbish sometimes. So we need to figure out why - that will be dealt with in the other JIRA. In the meantime use the workaround.
was (Author: mmalina):
{quote}
Hmm, that did not seem to work, but maybe I have to first close Eclipse before editing the XML and then re-start it. I tried to edit the XML while Eclipse was still running and that did not work. I will try again.
{quote}
Don't edit the XML, edit the launch config in Eclipse - let me rephrase what I said:
The workaround is to go to the launch config and change the PATH to something reasonable:
1. Open cdk server editor by double-clicking the CDK adapter in Servers view
2. In the server editor, click Open launch configuration (almost at the top)
3. In the launch config window, go to the Environment tab
4. Edit the PATH variable to something reasonable. Apply and close.
The XML takes the PATH value from the launch config in Eclipse. So once you change the launch config to a reasonable PATH value, you should be fine.
> CDK3 Server adapter: fails to detect that cdk3 Beta3 was successfully started (on macos/xhyve?)
> -----------------------------------------------------------------------------------------------
>
> Key: JBIDE-24222
> URL: https://issues.jboss.org/browse/JBIDE-24222
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk
> Affects Versions: 4.4.4.AM2
> Environment: macos
> xhyve supervisor
> cdk3 beta3
> Reporter: Andre Dietisheim
> Assignee: Martin Malina
> Priority: Critical
> Labels: help_wanted
> Fix For: 4.5.x
>
> Attachments: Screenshot 2017-04-18 16.37.44.png, image-2017-04-04-15-48-59-677.png, server-adapter-error.tiff
>
>
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months
[JBoss JIRA] (JBIDE-24222) CDK3 Server adapter: fails to detect that cdk3 Beta3 was successfully started (on macos/xhyve?)
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24222?page=com.atlassian.jira.plugi... ]
Martin Malina commented on JBIDE-24222:
---------------------------------------
{quote}
Hmm, that did not seem to work, but maybe I have to first close Eclipse before editing the XML and then re-start it. I tried to edit the XML while Eclipse was still running and that did not work. I will try again.
{quote}
Don't edit the XML, edit the launch config in Eclipse - let me rephrase what I said:
The workaround is to go to the launch config and change the PATH to something reasonable:
1. Open cdk server editor by double-clicking the CDK adapter in Servers view
2. In the server editor, click Open launch configuration (almost at the top)
3. In the launch config window, go to the Environment tab
4. Edit the PATH variable to something reasonable. Apply and close.
The XML takes the PATH value from the launch config in Eclipse. So once you change the launch config to a reasonable PATH value, you should be fine.
> CDK3 Server adapter: fails to detect that cdk3 Beta3 was successfully started (on macos/xhyve?)
> -----------------------------------------------------------------------------------------------
>
> Key: JBIDE-24222
> URL: https://issues.jboss.org/browse/JBIDE-24222
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk
> Affects Versions: 4.4.4.AM2
> Environment: macos
> xhyve supervisor
> cdk3 beta3
> Reporter: Andre Dietisheim
> Assignee: Martin Malina
> Priority: Critical
> Labels: help_wanted
> Fix For: 4.5.x
>
> Attachments: Screenshot 2017-04-18 16.37.44.png, image-2017-04-04-15-48-59-677.png, server-adapter-error.tiff
>
>
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months
[JBoss JIRA] (JBIDE-24888) wrong project lead for JBIDE and JBDS
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24888?page=com.atlassian.jira.plugi... ]
Max Rydahl Andersen commented on JBIDE-24888:
---------------------------------------------
>No, I didn't have permissions to change that. Thanks Max.
stupid permission system - take note :)
> wrong project lead for JBIDE and JBDS
> -------------------------------------
>
> Key: JBIDE-24888
> URL: https://issues.jboss.org/browse/JBIDE-24888
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cleanup
> Affects Versions: 4.5.1.AM1
> Reporter: Nick Boldt
> Assignee: Max Rydahl Andersen
> Fix For: 4.5.1.AM1
>
> Attachments: alexey-is-still-project-lead.png
>
>
> Looks like no one ever changed the project lead from Alexey to Jeff.
> !alexey-is-still-project-lead.png!
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months