[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6346) New Struts/JSF Project Wizards slowdowns while typing the name for the project
Viacheslav Kabanovich (JIRA)
jira-events at lists.jboss.org
Fri Jun 18 08:28:46 EDT 2010
[ https://jira.jboss.org/browse/JBIDE-6346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12536309#action_12536309 ]
Viacheslav Kabanovich commented on JBIDE-6346:
----------------------------------------------
Usage of this call is a part of validation.
WST's tools modifying servers do this call too (for example, NewServerComposite.isSupportedModule() ) and if exception is caught, it is displayed as error message in wizard. When I first implemented in New Struts/JSF projects wizard the functionality of adding module to a server, I observed that sometimes it crashes, and adding this call to catch exception and display it as error message in wizard solved the problem by displaying problem before wizard is completed and failed in process of adding new module to the selected server. The cause of this exception might be disability of a server to process a module; and that could be as a bug in server implementation as a way for validation.
By the way, logging was added by someone later and should not be there. Since logging appeared, nobody complained about such log output, which may indicate that for years passed that exception has ceased to be thrown for used servers and modules. If we can be sure that the exception will not bother us anymore we may remove this check. I am not sure of that.
Also, as I wrote before, this issue was mostly caused by repeating check on each keystroke to the project name field. That is already solved.
> New Struts/JSF Project Wizards slowdowns while typing the name for the project
> ------------------------------------------------------------------------------
>
> Key: JBIDE-6346
> URL: https://jira.jboss.org/browse/JBIDE-6346
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: JBossAS
> Affects Versions: 3.2.0.M1
> Environment: Eclipse 3.6M6
> Reporter: Victor Rubezhny
> Assignee: Viacheslav Kabanovich
> Priority: Critical
> Fix For: 3.2.0.M1
>
> Attachments: JBIDE-6346.patch
>
>
> When typing name for a new Struts or JSF project in New Struts/JSF Project Wizard the wizard is too slow while accepting the characters typed-in.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list