[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-8936) WebContent folder is missing for seam project in 'Project Explorer' view

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Mon May 16 16:39:01 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-8936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602395#comment-12602395 ] 

Viacheslav Kabanovich commented on JBIDE-8936:
----------------------------------------------

I have found where this filtering is done:
org.eclipse.jst.servlet.ui.internal.navigator.WebJavaContentProvider.cleanJavaContribution(Set)
The following code
if (child instanceof IResource && ((element = JavaCore.create((IResource) child)) != null) && element.exists()) iter.remove();
removes a child if it is a resource and there exists for it a Java element in Java model. Obviously, it is supposed, that JDT extension to content provider will add that element as child to the project node so that the resource child is redundant.
The code does not check that Java element belongs to another project so that JDT extension to content provider will add it as a child not to this project's node, but to that of another project.

I think it may be reported to Bugzilla. If they think it to be normal behavior, let them explain it. 


> WebContent folder is missing for seam project in 'Project Explorer' view
> ------------------------------------------------------------------------
>
>                 Key: JBIDE-8936
>                 URL: https://issues.jboss.org/browse/JBIDE-8936
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: common
>    Affects Versions: 3.3.0.M1
>            Reporter: Denis Golovin
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.3.0.M2
>
>         Attachments: screenshot61.png, screenshot62.png, screenshot63.png
>
>
> After creating seam project there is no way to open xhtml page for editing because WebContent folder is filtered out by default
> !screenshot61.png!
> Select 'Go Into' item from context menu on project and it appears in view
> !screenshot62.png!

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list