Uploaded image for project: 'ProtoStream'
  1. ProtoStream
  2. IPROTO-96

Annotation processor does not handle well incremental compilation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.3.0.Alpha7
    • 4.3.0.Alpha6
    • None

      The RoundEnvironment might not always contain the whole root elements from source path. In case of incremental compilation that will certainly be an issue, preventing discovery of @ProtoXyz annotated classes.

      A possible way to solve this is to annotate the generated code with that list of user classes from which it originates. This allows us to trace back to the classes that need to be scanned by which are not present in RoundEnvironment as root elements.

              anistor Adrian Nistor (Inactive)
              anistor Adrian Nistor (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: