Uploaded image for project: 'Log Tool'
  1. Log Tool
  2. LOGTOOL-46

jboss-logging-generator singletons don't play nice with Eclipse APT

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.2.Final, 1.1.0.Beta1
    • 1.0.0.CR5
    • None

    Description

      While testing m2e-apt on hibernate-search, I got these strange errors :

      All the log methods are marked as being duplicate. My gut feeling is this is due to MessageIdValidator being a singleton : all AP work in eclipse reuses the same instance between each incremental builds. So validating the same file more than once lead to these errors.

      The generator being a build tool, it doesn't make much sense to use singletons at all, performance-wise.

      Attachments

        Activity

          People

            jperkins-rhn James Perkins
            fbricon@redhat.com Fred Bricon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: