[JBoss JIRA] (JBIDE-18037) Server adapter: Cannot select other connection in creating a new server adapter than the first one in case of not connected connection
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18037?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-18037:
----------------------------------
Summary: Server adapter: Cannot select other connection in creating a new server adapter than the first one in case of not connected connection (was: Server adapter: Cannot select other connection in creating a new server adapter than the first one)
> Server adapter: Cannot select other connection in creating a new server adapter than the first one in case of not connected connection
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-18037
> URL: https://issues.jboss.org/browse/JBIDE-18037
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.2.0.Beta3
> Reporter: Marián Labuda
> Priority: Minor
> Labels: server_adapter
> Attachments: openshift_explorer.png, server_adapter_wizard.png
>
>
> When creating a new server adapter there is a wizard where user can choose existing connection in case of not connected connection (e.g. after restarting Eclipse/JBDS).
> !server_adapter_wizard.png!
> Problem is when you are not connected to the first connection in OpenShift explorer. Than the wizard preselect the first one connection from OpenShift Explorer and others are missing in the selection - mine OpenShift explorer contains 3 connections but in the wizard mentioned above is only first one listed in the combo box.
> !openshift_explorer.png!
> There should be option to choose any connection and on the next wizard pages this connection could be preselected.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 8 months
[JBoss JIRA] (JBIDE-18037) Server adapter: Cannot select other connection in creating a new server adapter than the first one
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18037?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-18037:
----------------------------------
Description:
When creating a new server adapter there is a wizard where user can choose existing connection in case of not connected connection (e.g. after restarting Eclipse/JBDS).
!server_adapter_wizard.png!
Problem is when you are not connected to the first connection in OpenShift explorer. Than the wizard preselect the first one connection from OpenShift Explorer and others are missing in the selection - mine OpenShift explorer contains 3 connections but in the wizard mentioned above is only first one listed in the combo box.
!openshift_explorer.png!
There should be option to choose any connection and on the next wizard pages this connection could be preselected.
was:
When creating a new server adapter for existing application on OpenShift and project in workspace there is a wizard where user can choose existing connection containing the given application.
!server_adapter_wizard.png!
Problem is, that in the wizard is preselected the first one connection from OpenShift Explorer and others are missing - mine OpenShift explorer contains 3 connections but in the wizard mentioned above is only one listed in the combo box.
!openshift_explorer.png!
Steps to Reproduce:
ASSERT: Have more connections in OpenShift explorer.
ASSERT: You are not connected to the first one of those connections.
EXEC: In Servers view open new server wizard and choose OpenShift server adapter. Click Next.
RESULT: Connection selection dialog is opened and it is not possible to choose other connection than the first one in OpenShift explorer.
EXPECTED RESULT: There should be option to choose any connection from the OpenShift explorer and use this connection.
Workaround Description: In connection selection dialog press Esc key and you are forwarded into the wizard where it is possible to choose connection and application.
Workaround: Workaround Exists
> Server adapter: Cannot select other connection in creating a new server adapter than the first one
> --------------------------------------------------------------------------------------------------
>
> Key: JBIDE-18037
> URL: https://issues.jboss.org/browse/JBIDE-18037
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.2.0.Beta3
> Reporter: Marián Labuda
> Priority: Minor
> Labels: server_adapter
> Attachments: openshift_explorer.png, server_adapter_wizard.png
>
>
> When creating a new server adapter there is a wizard where user can choose existing connection in case of not connected connection (e.g. after restarting Eclipse/JBDS).
> !server_adapter_wizard.png!
> Problem is when you are not connected to the first connection in OpenShift explorer. Than the wizard preselect the first one connection from OpenShift Explorer and others are missing in the selection - mine OpenShift explorer contains 3 connections but in the wizard mentioned above is only first one listed in the combo box.
> !openshift_explorer.png!
> There should be option to choose any connection and on the next wizard pages this connection could be preselected.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 8 months
[JBoss JIRA] (JBIDE-18037) Server adapter: Cannot select other connection in creating a new server adapter than the first one
by Marián Labuda (JIRA)
Marián Labuda created JBIDE-18037:
-------------------------------------
Summary: Server adapter: Cannot select other connection in creating a new server adapter than the first one
Key: JBIDE-18037
URL: https://issues.jboss.org/browse/JBIDE-18037
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: openshift
Affects Versions: 4.2.0.Beta3
Reporter: Marián Labuda
Priority: Minor
Attachments: openshift_explorer.png, server_adapter_wizard.png
When creating a new server adapter for existing application on OpenShift and project in workspace there is a wizard where user can choose existing connection containing the given application.
!server_adapter_wizard.png!
Problem is, that in the wizard is preselected the first one connection from OpenShift Explorer and others are missing - mine OpenShift explorer contains 3 connections but in the wizard mentioned above is only one listed in the combo box.
!openshift_explorer.png!
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 8 months
[JBoss JIRA] (JBIDE-18037) Server adapter: Cannot select other connection in creating a new server adapter than the first one
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18037?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-18037:
----------------------------------
Attachment: server_adapter_wizard.png
openshift_explorer.png
> Server adapter: Cannot select other connection in creating a new server adapter than the first one
> --------------------------------------------------------------------------------------------------
>
> Key: JBIDE-18037
> URL: https://issues.jboss.org/browse/JBIDE-18037
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Affects Versions: 4.2.0.Beta3
> Reporter: Marián Labuda
> Priority: Minor
> Labels: server_adapter
> Attachments: openshift_explorer.png, server_adapter_wizard.png
>
>
> When creating a new server adapter for existing application on OpenShift and project in workspace there is a wizard where user can choose existing connection containing the given application.
> !server_adapter_wizard.png!
> Problem is, that in the wizard is preselected the first one connection from OpenShift Explorer and others are missing - mine OpenShift explorer contains 3 connections but in the wizard mentioned above is only one listed in the combo box.
> !openshift_explorer.png!
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 8 months
[JBoss JIRA] (JBIDE-18037) Server adapter: Cannot select other connection in creating a new server adapter than the first one
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18037?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-18037:
----------------------------------
Issue Type: Bug (was: Feature Request)
> Server adapter: Cannot select other connection in creating a new server adapter than the first one
> --------------------------------------------------------------------------------------------------
>
> Key: JBIDE-18037
> URL: https://issues.jboss.org/browse/JBIDE-18037
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.2.0.Beta3
> Reporter: Marián Labuda
> Priority: Minor
> Labels: server_adapter
> Attachments: openshift_explorer.png, server_adapter_wizard.png
>
>
> When creating a new server adapter for existing application on OpenShift and project in workspace there is a wizard where user can choose existing connection containing the given application.
> !server_adapter_wizard.png!
> Problem is, that in the wizard is preselected the first one connection from OpenShift Explorer and others are missing - mine OpenShift explorer contains 3 connections but in the wizard mentioned above is only one listed in the combo box.
> !openshift_explorer.png!
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 8 months
[JBoss JIRA] (JBIDE-18036) Decouple FTL target language syntax coloring
by Peter Palaga (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18036?page=com.atlassian.jira.plugi... ]
Peter Palaga edited comment on JBIDE-18036 at 8/4/14 6:43 AM:
--------------------------------------------------------------
The PR covers all of the spec. except for (3.1). I'll create a separate issue for that once the present PR gets accepted.
was (Author: ppalaga):
The PR covers all of the spec. except for (3.1). I'll create a separate issue for that.
> Decouple FTL target language syntax coloring
> --------------------------------------------
>
> Key: JBIDE-18036
> URL: https://issues.jboss.org/browse/JBIDE-18036
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: freemarker
> Reporter: Peter Palaga
> Assignee: Peter Palaga
>
> This issue covers the requirement formulated in point (1) of my earlier comment in [JBIDE-11287|https://issues.jboss.org/browse/JBIDE-11287?focusedCommentId=...].
> The present Freemarker plugin has a hard-coded XML/HTML syntax coloring. Although XML/HTML may well be the most common target language of an FTL template, it is clearly not the only possible target language. One can target virtually any language or even plaintext, where {{<}} and {{<!--}} may have completely different meanings or no meanigs at all. Hardcoding XML highlighting for every file opened by the FTL editor is thus simply incorrect.
> Let's define the present task as follows:
> (1) Decouple the syntax coloring of the target language of a FTL template by introducing an interface (call it {{TargetLanguageSupport}}) that will provide the general functionality needed for coloring of target languages.
> (2) At least two implementations of {{TargetLanguageSupport}} should be added:
> (2.1) XML/HTML and
> (2.2) plain text.
> (3) Some kind of target-language detection should be added, e.g. based on file extensions, making XML/HTML syntax coloring active for files ending with {{\*.xml.ftl}}, {{\*.xhtml.ftl}}, {{\*.html.ftl}} and {{\*.htm.ftl}}.
> (3.1) There should be a workspace-wide preference that will say for which file extensions will e.g. XML/HTML syntax coloring be active.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 8 months
[JBoss JIRA] (JBIDE-18036) Decouple FTL target language syntax coloring
by Peter Palaga (JIRA)
Peter Palaga created JBIDE-18036:
------------------------------------
Summary: Decouple FTL target language syntax coloring
Key: JBIDE-18036
URL: https://issues.jboss.org/browse/JBIDE-18036
Project: Tools (JBoss Tools)
Issue Type: Task
Components: freemarker
Reporter: Peter Palaga
Assignee: Peter Palaga
This issue covers the requirement formulated in point (1) of my earlier comment in [JBIDE-11287|https://issues.jboss.org/browse/JBIDE-11287?focusedCommentId=...].
The present Freemarker plugin has a hard-coded XML/HTML syntax coloring. Although XML/HTML may well be the most common target language of an FTL template, it is clearly not the only possible target language. One can target virtually any language or even plaintext, where {{<}} and {{<!--}} may have completely different meanings or no meanigs at all. Hardcoding XML highlighting for every file opened by the FTL editor is thus simply incorrect.
Let's define the present task as follows:
(1) Decouple the syntax coloring of the target language of a FTL template by introducing an interface (call it {{TargetLanguageSupport}}) that will provide the general functionality needed for coloring of target languages.
(2) At least two implementations of {{TargetLanguageSupport}} should be added:
(2.1) XML/HTML and
(2.2) plain text.
(3) Some kind of target-language detection should be added, e.g. based on file extensions, making XML/HTML syntax coloring active for files ending with {{\*.xml.ftl}}, {{\*.xhtml.ftl}}, {{\*.html.ftl}} and {{\*.htm.ftl}}.
(3.1) There should be a workspace-wide preference that will say for which file extensions will e.g. XML/HTML syntax coloring be active.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 8 months
[JBoss JIRA] (JBIDE-18007) Server adapter: Incorrect error message when deleting application via server adapter
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18007?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-18007:
-------------------------------------
Fix Version/s: 4.2.x
> Server adapter: Incorrect error message when deleting application via server adapter
> ------------------------------------------------------------------------------------
>
> Key: JBIDE-18007
> URL: https://issues.jboss.org/browse/JBIDE-18007
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.2.0.Beta3
> Reporter: Marián Labuda
> Priority: Minor
> Labels: server_adapter
> Fix For: 4.2.x
>
> Attachments: delete_app_via_adapter.png
>
>
> After attempt to delete non-existing application via server adapter there is a error message telling us about non-existing application but also about project in workspace. This is not quite correct, bcs. delete application through server adapter does not provide removal of the project in the workspace. It only deletes an application on OpenShift.
> However, trying to delete an OpenShift application via adapter with non-existing project in workspace (but existing on OpenShift) this error message is correct.
> !delete_app_via_adapter.png!
> We should either:
> 1) Fix error message and behaviour to delete also a project in workspace. But I think this is not desired solution, bcs. user would want to work with his project later, although it has been deleted from OpenShift.
> 2.) Fix behaviour to delete also the project from workspace and error message will be fully correct.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 8 months
[JBoss JIRA] (JBIDE-18007) Server adapter: Incorrect error message when deleting application via server adapter
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18007?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-18007:
-------------------------------------
Fix Version/s: 4.3.x
(was: 4.2.x)
> Server adapter: Incorrect error message when deleting application via server adapter
> ------------------------------------------------------------------------------------
>
> Key: JBIDE-18007
> URL: https://issues.jboss.org/browse/JBIDE-18007
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.2.0.Beta3
> Reporter: Marián Labuda
> Priority: Minor
> Labels: server_adapter
> Fix For: 4.3.x
>
> Attachments: delete_app_via_adapter.png
>
>
> After attempt to delete non-existing application via server adapter there is a error message telling us about non-existing application but also about project in workspace. This is not quite correct, bcs. delete application through server adapter does not provide removal of the project in the workspace. It only deletes an application on OpenShift.
> However, trying to delete an OpenShift application via adapter with non-existing project in workspace (but existing on OpenShift) this error message is correct.
> !delete_app_via_adapter.png!
> We should either:
> 1) Fix error message and behaviour to delete also a project in workspace. But I think this is not desired solution, bcs. user would want to work with his project later, although it has been deleted from OpenShift.
> 2.) Fix behaviour to delete also the project from workspace and error message will be fully correct.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 8 months
[JBoss JIRA] (JBIDE-18007) Server adapter: Incorrect error message when deleting application via server adapter
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18007?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-18007:
------------------------------------------
[~mlabuda]:
We might not be transparent enough: For the server adapter to be able to know what application it should delete in OpenShift it needs the workspace project that was created when the application git repository was cloned. We store all settings for the server adapter in the workspace project. Thus if there's no project in workspace, the server adapter wont be able to know what application (in OpenShift) it shall delete.
That's what the above error message tries to point out: removing the application (in OpenShift) is only possible if the project for it exists.
The only thing I see us doing here is to rephrase the error message: Tell the user that we could not find the project that points to the OpenShift applicaiton that he wants to delete. We thus failed to identify the application that shall be deleted.
ps. Please let us try to be precise in our wording: we have *applications* running in OpenShift. If we import those to Eclipse/workspace we get a *project*.
> Server adapter: Incorrect error message when deleting application via server adapter
> ------------------------------------------------------------------------------------
>
> Key: JBIDE-18007
> URL: https://issues.jboss.org/browse/JBIDE-18007
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.2.0.Beta3
> Reporter: Marián Labuda
> Priority: Minor
> Labels: server_adapter
> Fix For: 4.3.x
>
> Attachments: delete_app_via_adapter.png
>
>
> After attempt to delete non-existing application via server adapter there is a error message telling us about non-existing application but also about project in workspace. This is not quite correct, bcs. delete application through server adapter does not provide removal of the project in the workspace. It only deletes an application on OpenShift.
> However, trying to delete an OpenShift application via adapter with non-existing project in workspace (but existing on OpenShift) this error message is correct.
> !delete_app_via_adapter.png!
> We should either:
> 1) Fix error message and behaviour to delete also a project in workspace. But I think this is not desired solution, bcs. user would want to work with his project later, although it has been deleted from OpenShift.
> 2.) Fix behaviour to delete also the project from workspace and error message will be fully correct.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 8 months