You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "ant elder (JIRA)" <de...@tuscany.apache.org> on 2009/10/20 10:51:59 UTC

[jira] Updated: (TUSCANY-3304) JCA_10049 serviceNamesMismatchImpl.java invalid annotation

     [ https://issues.apache.org/jira/browse/TUSCANY-3304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder updated TUSCANY-3304:
-------------------------------

    Fix Version/s: Java-SCA-2.0-M4

This doesn't look like its fixed yet when i checkout the latest code, there may be multiple classes named serviceNamesMismatchImpl.java this JIRA is specifically about the one in JCA_10049

> JCA_10049 serviceNamesMismatchImpl.java invalid annotation
> ----------------------------------------------------------
>
>                 Key: TUSCANY-3304
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3304
>             Project: Tuscany
>          Issue Type: Bug
>          Components: OASIS Compliance - OASIS
>            Reporter: ant elder
>             Fix For: Java-SCA-2.0-M4
>
>
> There's an invalid annotation causing a compile error:
>    JCA_10049\src\main\java\org\oasisopen\sca\test\serviceNamesMismatchImpl.java
> when the attribute is using multiple parameters you need to specify the attribute name: 
> -@Service({Service1.class, Service1Superset.class}, names={"Service1", "AnotherService", "YetAnotherService"})
> +@Service(value={Service1.class, Service1Superset.class}, names={"Service1", "AnotherService", "YetAnotherService"})

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.