[jbosstools-issues] [JBoss JIRA] (JBDS-4409) Server adapter: Automatic syncing of code with the pod doesn't work with Wildfly
Dmitrii Bocharov (JIRA)
issues at jboss.org
Thu May 25 07:22:00 EDT 2017
[ https://issues.jboss.org/browse/JBDS-4409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411848#comment-13411848 ]
Dmitrii Bocharov commented on JBDS-4409:
----------------------------------------
As i said during the call, i suspect what is the reason of this issue.
Recently we've had the issue JBIDE-23603. As you can find in the comments, i'm not happy with the fix i've done.
What i did is a clean publish for eap server adapters. [See here|https://github.com/jbosstools/jbosstools-openshift/blob/a64fef55bbb47aa108235da8189c97a13c9c17df/plugins/org.jboss.tools.openshift.core/src/org/jboss/tools/openshift/core/server/behavior/eap/OpenShiftEapPublishController.java]
The detection whether our server adapter is eap or anything else happens [here|https://github.com/jbosstools/jbosstools-openshift/blob/a64fef55bbb47aa108235da8189c97a13c9c17df/plugins/org.jboss.tools.openshift.core/src/org/jboss/tools/openshift/core/server/behavior/eap/OpenshiftEapProfileDetector.java]. You can find there that there is a EAP_LIKE_KEYWORDS collection that contains both "eap" and "wildfly". But i suspect that something in this detector doesn't work correctly for eap, and the server adapter is considered to be a general one (not wildfly\eap - like), that's why a usual publish runs ( without clean).
So there're 2 possible ways now:
1) Find the reason why does clean publish work and simple publish doesn't. I remember, that i spent some time for this, but we had a code freeze soon, so i made this quick fix.
2) Quick fix. As said above i suspect there is some error logic of eap\wildfly detector. So we need to find it so that the same clean publish is applied for wildfly as for eap.
> Server adapter: Automatic syncing of code with the pod doesn't work with Wildfly
> --------------------------------------------------------------------------------
>
> Key: JBDS-4409
> URL: https://issues.jboss.org/browse/JBDS-4409
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 10.3.0.GA
> Environment: Running on Mac 10.12.4
> JBDS
> Version: 10.3.0.GA
> Build id: GA-v20170218-1636-B94
> Build date: 20170218-1636
> Installed minishift v1.0.1
> Reporter: Veer Muchandi
> Assignee: Andre Dietisheim
> Priority: Critical
> Labels: openshift_v3, server_adapter
> Fix For: 11.0.0.AM1
>
>
> * Created a Wildfly application on openshift web-ui
> * Setup a server adapter
> * Imported application to JBDS
> * Made code changes and saved.
> Result:
> While the data seems to be exchanged, the changes are not synced with the pod and the application is not updated.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jbosstools-issues
mailing list