[
https://jira.jboss.org/jira/browse/JBIDE-3082?page=com.atlassian.jira.plu...
]
Alexey Kazakov commented on JBIDE-3082:
---------------------------------------
> All project-level Seam Validator settings are set to IGNORE.
> However, since 3.0.0GA of JBoss Tools, the Seam Validator runs whenever I save a Java
or XHTML file.
If you set all preferences to IGNORE then Seam validator thread is started anyway but only
to check the prferences and stop working. It doesn't do any real validation at all.
If you want not to start new threads at all then disable it as Max adviced.
> The Seam Validator is less resource intensive than in previous
releases, but can still bog down Eclipse/JBoss Tools - cause a stutter of about 5 seconds
whenever it kicks off.
I can't reproduce it. 5 seconds for checking preferences is to much ;) Are you sure
you see a seam validator working? There is a lot of WTP's validators.
> Furthermore, it seems the Validator continuously checks files
that it has already checked - even ones that have not changed since the last Validation.
Seam validator is incremental.
When you save some file the vaildator validates only:
- changed file
- all resources that are related with changed file. For example xhtml with #{comp.pr} is
related with java class with @Name("comp").
- all resources with unresolved seam context variables. For example if you changed
@Name("comp") then maybe some unresolved ELs correct now. It's may be the
bigest list of files if you have a lot of unresolved variables. So maybe we should disable
this rule. Thoughts?
If you rebuild the whole project then we validate every resource.
Seam Validator runs even when set to IGNORE
-------------------------------------------
Key: JBIDE-3082
URL:
https://jira.jboss.org/jira/browse/JBIDE-3082
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.0.0.GA
Environment: Windows XP SP2; 2 GB RAM; Eclipse Version: 3.3.1.1Build id:
M20071023-1652; JBoss Tools 3.0.0GA; Seam 2.0.GA
Reporter: Chris Simons
All project-level Seam Validator settings are set to IGNORE.
However, since 3.0.0GA of JBoss Tools, the Seam Validator runs whenever I save a Java or
XHTML file.
The Validator process can be stopped, but then launches into multiple instances of
itself.
The Seam Validator is less resource intensive than in previous releases, but can still
bog down Eclipse/JBoss Tools - cause a stutter of about 5 seconds whenever it kicks off.
Furthermore, it seems the Validator continuously checks files that it has already checked
- even ones that have not changed since the last Validation.
I can provide project-level .settings files if needed.
** Personally, I dont see the Seam Validator as being all that useful.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira