[
https://jira.jboss.org/browse/JBIDE-6346?page=com.atlassian.jira.plugin.s...
]
Rob Stryker commented on JBIDE-6346:
------------------------------------
Looking at the code so far (RegistrationHelper), I've noticed the following. One call
to public static boolean isRegistered(String appname, IServer server) gets the list of
Child modules (which takes time), and then at the bottom of the method, calls public
static boolean isRegistered(IProject project, IServer server) , which *again* gets the
list of child modules (taking more time again).
So one call to isRegistered(String, IServer) makes two calls to a long-running method to
get the list of children. However, because this class is full of static methods, every
key-press in the wizard calls isRegistered(String, IServer) which calls the validation
twice.
I'll get a patch to enable a constructor if people want to use it which can cache the
list of child modules and not be forced to call it again. This should make the first
key-press in name take a short while (same as now) but each subsequent keypress should go
much faster.
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: Rob Stryker
Priority: Critical
Fix For: 3.2.0.M1
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