[
https://issues.jboss.org/browse/JBIDE-9256?page=com.atlassian.jira.plugin...
]
Alexey Kazakov commented on JBIDE-9256:
---------------------------------------
Val, your project probably don't have JBoss KB (Knowledge Base) builder. In this case
JBoss Tools loads tag libs ones at first start and then doesn't update if you change
those libs. If it's so the project has a warning message (See problems view) that warn
you about missing KB builder. You can find this warning and quick fix it (see context menu
for the warning). If you don't see such a warning please attache your .project file
(placed in the root folder of the project).
If you create/import a project using any JBoss Tools wizard then KB builder is installed
automatically. But if your project was created in some old version JBoss Tools or you
created it by another tools then KB builder may be missed.
Content assist gets "stuck" on JSF1
-----------------------------------
Key: JBIDE-9256
URL:
https://issues.jboss.org/browse/JBIDE-9256
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 3.2.0.Final
Reporter: Val Blant
Assignee: Viacheslav Kabanovich
Fix For: 3.3.x
Here are the steps that caused the bug to manifest:
# Installed JBoss Tools into Eclipse from the update site
# Restarted Eclipse. Jboss Tools noticed my existing web project and hooked up to it.
# *At this point I had correctly working JSF2 content assist in my XHTML files*
# Used Git to switch to a JSF1 branch and used the same Eclipse workspace to work on that
(Refreshed the workspace after the switch, w/o restarting Eclipse)
# Used Git again to switch back to JSF2 branch
At this point JBoss Tools no longer provided me with content assist for JSF2 tags. It
kept giving suggestions for JSF1. Restarting Eclipse or cleaning the workspace had no
effect.
In order to fix the problem I had to do the following:
# Close Eclipse
# Delete all _org.jboss.tools.*_ directories from _.metadata/.plugins_
# _eclipse -clean_
After that JBoss Tools provides proper JSF2 content assist again, so this looks like a
caching bug.
My workspace is setup with:
* Eclipse Helios
* JBoss Tools 3.2.0.v20110215-1535-H41-GA
My JSF1 branch contains these libraries under _WEB-INF/lib_ and included in project build
path:
* myfaces-api-1.2.4.jar
* myfaces-impl-1.2.4.jar
* jsf-facelets-1.1.14.jar
* richfaces-api-3.2.2.GA.jar
* richfaces-impl-3.2.2.GA.jar
* richfaces-ui-3.2.2.GA.jar
For JSF2 branch, the libraries are:
* jsf-api-2.1.2.jar
* jsf-impl-2.1.2.jar
* richfaces-core-api-4.0.0.Final.jar
* richfaces-core-impl-4.0.0.Final.jar
* richfaces-components-api-4.0.0.Final.jar
* richfaces-components-ui-4.0.0.Final.jar
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira