[jboss-jira] [JBoss JIRA] (LOGTOOL-35) dav

Sanne Grinovero (Updated) (JIRA) jira-events at lists.jboss.org
Mon Oct 24 05:33:45 EDT 2011


     [ https://issues.jboss.org/browse/LOGTOOL-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sanne Grinovero updated LOGTOOL-35:
-----------------------------------

     Summary: dav  (was: Processor fails to validate log messages defined in an inheriting interface)
    Assignee: David Lloyd  (was: James Perkins)


Reassigning it to David as it seems he fixed it already. David was the description correct? Please close/reject it if needed, it seems to work fine now indeed.
                
> dav
> ---
>
>                 Key: LOGTOOL-35
>                 URL: https://issues.jboss.org/browse/LOGTOOL-35
>             Project: Log Tool
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 1.0.0.CR3
>            Reporter: Sanne Grinovero
>            Assignee: David Lloyd
>
> In both Infinispan and Hibernate we define a main logger in the core project, and extend this in each other module. In practice it looks like:
> {code:title="Main project"}
> @MessageLogger(projectCode = "ISPN")
> public interface Log extends BasicLogger {
>    @LogMessage(level = WARN)
>    @Message(value = "Field %s not found!!", id = 2)
>    void fieldNotFound(String fieldName);
> ...
> {code}
> {code:title="Extending module"}
> @MessageLogger(projectCode = "ISPN")
> public interface Log extends org.infinispan.util.logging.Log {
>    @LogMessage(level = ERROR)
>    @Message(value = "Could not locate key class %s", id = 14001)
>    void keyClassNotFound(String keyClassName, @Cause Exception e);
> ...
> {code}
> since the last release 1.0.0.CR3 all extending modules fail to build with the following error message:
> {quote}
> [INFO] diagnostic error: All message bundles and message logger messageMethods must have or inherit a message.
> [INFO] diagnostic error: All message bundles and message logger messageMethods must have or inherit a message.
> [INFO] diagnostic error: All message bundles and message logger messageMethods must have or inherit a message.
> [INFO] diagnostic error: All message bundles and message logger messageMethods must have or inherit a message.
> [many more..]
> {quote}
> So we had to rollback this dependency upgrade and stick with older versions.
> See also
> https://infinispan.ci.cloudbees.com/job/Infinispan-master-JDK6-tcp/268/org.infinispan$infinispan-query/console
> caused by
> https://github.com/infinispan/infinispan/blob/master/query/src/main/java/org/infinispan/query/logging/Log.java

--
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 jboss-jira mailing list