[JBoss JIRA] Created: (JBIDE-9256) Content assist gets "stuck" on JSF1
by Val Blant (JIRA)
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: Alexey Kazakov
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
14 years
[JBoss JIRA] Created: (JBIDE-830) JSF support: linked folders
by Petr Lindovsky (JIRA)
JSF support: linked folders
---------------------------
Key: JBIDE-830
URL: http://jira.jboss.com/jira/browse/JBIDE-830
Project: JBoss Tools
Issue Type: Bug
Affects Versions: 2.0.0.Beta3
Environment: Windows XP
Reporter: Petr Lindovsky
I have a Web project (originally developed in another IDE) where the META-INF and WEB-INF directories are located directly under the root of the project (e.g. next to src).
So I can't take the project root as the web content directory. To make this work with Europa, I created a new WebConent directory under the root and added folder links there pointing to the existing META-INF and WEB-INF. This now works in Europa.
Is it possible to add RedHat JSF support to this? This wizard doesn't seem to take this into account.
I created a project where you can see the problem: It works in Europa (you can use Export > WAR file and Run As > Run On Server) but I don't know hat to make it work with the RedHat JSF support.
(Note: I used absolute paths in the links in the project; in reality we used path variables to enable sharing.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] (JBIDE-9884) JarSystemImpl should implement method hasChildren()
by Viacheslav Kabanovich (Created) (JIRA)
JarSystemImpl should implement method hasChildren()
---------------------------------------------------
Key: JBIDE-9884
URL: https://issues.jboss.org/browse/JBIDE-9884
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common/jst/core
Affects Versions: 3.3.0.M3
Reporter: Viacheslav Kabanovich
Assignee: Viacheslav Kabanovich
Fix For: 3.3.0.M4
When a jar is included in classpath of many projects, XModel only creates one new handle for the jar in each project, but content is shared and loaded only once. That was provided by overloaded method getChildren(). However, method hasChildren() remained inherited and cannot work correctly for handle objects that obtain shared children instead of loading them.
Use-case that demonstrates this issue, can be taken in CDI Seam International extension.
EXECUTE: Create two or more CDI projects with CDI Seam International extension (seam-international.jar).
EXECUTE: In each project, create a Java class declaring a String field assigned to a string "#{bundles.}". Invoke content assist after the dot.
ASSERT: A lot of suggestions appear including 'bundles.com.sun.corba.se.impl.logging.LogStrings' - they come from 'resources.jar' in JRE. (Note: If we decide to hide these bundles, then any custom jar with bundles should be referenced by classpath of each project.)
FAILURE: Suggestions appear only in one of projects, and are missing in all others.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years