[jbosstools-issues] [JBoss JIRA] (JBIDE-11613) Fix the description of CDI facet
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Mon Apr 23 19:15:18 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-11613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Kazakov updated JBIDE-11613:
-----------------------------------
Component/s: UpStream
(was: CDI)
CDI facet requires Java Facet + EJB Facet *or* Web Facet.
The only way to describe it in plugin.xml is:
{code}
<project-facet-version
facet="jst.cdi"
version="1.0">
<constraint>
<or>
<and>
<requires soft="true"
facet="jst.ejb"
version="[3.0">
</requires>
<requires
facet="jst.java"
version="[5.0">
</requires>
</and>
<and>
<requires soft="true"
facet="jst.web"
version="[2.5">
</requires>
<requires
facet="jst.java"
version="[5.0">
</requires>
</and>
</or>
</constraint>
</project-facet-version>
{code}
I don't know why WTP (Project Facets page) show that constraint in such a funny way.
It seems that they just render this XML without trying to format it in something more human friendly.
Anyway it's upstream issue.
> Fix the description of CDI facet
> --------------------------------
>
> Key: JBIDE-11613
> URL: https://issues.jboss.org/browse/JBIDE-11613
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: UpStream
> Affects Versions: 3.3.0.Beta3
> Reporter: Jaroslav Jankovič
> Assignee: Alexey Kazakov
> Fix For: 3.3.0.Beta3
>
> Attachments: 01_issue.png
>
>
> The description of CDI facet is very confusing:
> 1) conjuction 'OR' is placed on the wrong place
> 2) there are two requirements:
> a)Java 1.5 or newer
> b)Dynamic Web Module 2.5, newer Java 1.5 or newer
--
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
More information about the jbosstools-issues
mailing list