[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9120) jboss should be able to code complete a composite component and its attributes.

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Tue Jun 14 16:36:29 EDT 2011


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

Viacheslav Kabanovich commented on JBIDE-9120:
----------------------------------------------

If ProjectJAR-B has kb nature and builder, then everything works.
The only case not implemented is when ProjectJAR-B is a bare Java project, with no kb nature and builder.

Currently, kb builder builds only project to which it is attached, it does not look into projects on which it depends, if those projects have kb builders, they are built separately, and results of build are shared with dependent project.

We can compare this situation with the following. Suppose you have two projects JavaProject depends on SimpleProject, where JavaProject has Java builder, and SimpleProject have no builders at all. Nobody expects that JavaProject will be aware of java sources in SimpleProject, even if it has the structure of a Java project. No Java builder means no Java model objects for dependent projects. In the same way now: no KB builder on a project means no KB model objects for dependent projects.

However, while Java model nature and builder are well-known, KB model nature and builder are internal and there is no way for user to fix the problem other than by adding them into .project manually. So let us include into consideration sources of Java projects without KB nature, used by current KB project.

> jboss should be able to code complete a composite component and its attributes.
> -------------------------------------------------------------------------------
>
>                 Key: JBIDE-9120
>                 URL: https://issues.jboss.org/browse/JBIDE-9120
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JSF, jsp/jsf/xml source editing
>    Affects Versions: 3.2.1.M1
>         Environment: JSF2.0, maven 3.
>            Reporter: José Freitas
>            Assignee: Viacheslav Kabanovich
>              Labels: code_completion, composite_component, jsf
>             Fix For: 3.3.0.M3
>
>
> I have a composite component in a jars META-INF folder, it has been stored on META-INF/resouces/components/seamfaces (nested directories).
> adding this jar as a dependency it should be possible to use this component on a JSF2 application.
> In this version jbosstools validates the composite components existense but it does not provide code completion to it.
> related to: https://issues.jboss.org/browse/JBIDE-8275

--
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