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

Include `originatingElements` when creating new resources with the Filer

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 3.0.2.Final
    • None
    • None

      There are a few places where the AP is accessing the `Filer` to create new files, e.g.

      processingEnv.getFiler().createResource(...)

      This create resource method has an optional vararg parameter for originating elements.

      At the moment none are supplied. This may result in Gradle's incremental compilation getting confused leading to a full recompilation:

      Full recompilation is required because the generated resource 'org/hibernate/dialect/DialectLogging.i18n.properties in CLASS_OUTPUT' must have exactly one originating element, but had 0 

              rh-ee-mbekhta Marko Bekhta
              rh-ee-mbekhta Marko Bekhta
              Archiver:
              rhn-support-sthamilt Stacey Hamilton

                Created:
                Updated:
                Resolved:
                Archived: