[
https://issues.jboss.org/browse/JBIDE-8857?page=com.atlassian.jira.plugin...
]
Rob Stryker commented on JBIDE-8857:
------------------------------------
Also, after comparing use to the tomcat page, there are huge differences between what hte
tomcat page is doing and what ours does. The Tomcat page is actually representing what
modules are added to and removed from the server. If you notice, when you create a new
Dynamic web project, the tomcat's second page does not automatically add the module to
this page. In fact, you can make 50 new Dynamic web projects and none of them are added.
The tomcat page is a representation of what is on the server. So the tomcat page is also
not responding to every workspace change event with similarly long-running API calls.
When I created and opened a new Tomcat server, with no projects in the workspace, the
"Add Web Module..." button on their second page was disabled. After creating 3
or 4 new projects, the "Add Web Module..." button was *STILL* disabled, because
the tomcat plugin does not update its widgets after every workspace change event. In order
to update the tomcat second page, I had to close and re-open the tomcat editor. At least
we have a 'refresh' button so the user does not need to close and re-open the
page.
What you *might* have seen was the automatic removal from the list when you delete a
project, but this is more because the project was removed from the server than that the
project was removed from the workspace. The tomcat second page is only representating what
modules are currently attached to the server adapter, and it *does* listen to those
events, because responding to those events does not happen often, and also, does not
require making use of long-running API calls that load bundles.
Sorry, but I still think this has to be rejected. Using long-running API calls from the UI
thread after every workspace change is a recipe for death.
Modules deployment page: need to "Refresh table" manually
if delete/create new project, refresh should be automatic
-------------------------------------------------------------------------------------------------------------------
Key: JBIDE-8857
URL:
https://issues.jboss.org/browse/JBIDE-8857
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Affects Versions: 3.3.0.M1
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 3.3.0.M2
Attachments: refresh-on-workspace-change-2.patch,
refresh-on-workspace-change.patch
On the "Deployment" tab of the server adapter editor we currently list all
dynamic web projects that are available. If you delete a project or create a new one,
you'll have to hit the "Refresh" link so that the list of available projects
reflects the change. The Tomcat server adapter doesn't need this manual refresh. It
actually detects the change automatically and reflects the change automatically (without
any user interaction).
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira