[JBoss JIRA] (IPROTO-96) Annotation processor does not handle well incremental compilation
by Nistor Adrian (Jira)
[ https://issues.jboss.org/browse/IPROTO-96?page=com.atlassian.jira.plugin.... ]
Nistor Adrian updated IPROTO-96:
--------------------------------
Fix Version/s: 4.3.0.Alpha7
> Annotation processor does not handle well incremental compilation
> -----------------------------------------------------------------
>
> Key: IPROTO-96
> URL: https://issues.jboss.org/browse/IPROTO-96
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 4.3.0.Alpha6
> Reporter: Nistor Adrian
> Assignee: Nistor Adrian
> Priority: Major
> Fix For: 4.3.0.Alpha7
>
>
> 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.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 7 months
[JBoss JIRA] (IPROTO-96) Annotation processor does not handle well incremental compilation
by Nistor Adrian (Jira)
[ https://issues.jboss.org/browse/IPROTO-96?page=com.atlassian.jira.plugin.... ]
Nistor Adrian updated IPROTO-96:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Integrated in master.
> Annotation processor does not handle well incremental compilation
> -----------------------------------------------------------------
>
> Key: IPROTO-96
> URL: https://issues.jboss.org/browse/IPROTO-96
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 4.3.0.Alpha6
> Reporter: Nistor Adrian
> Assignee: Nistor Adrian
> Priority: Major
>
> 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.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 7 months
[JBoss JIRA] (IPROTO-96) Annotation processor does not handle well incremental compilation
by Nistor Adrian (Jira)
[ https://issues.jboss.org/browse/IPROTO-96?page=com.atlassian.jira.plugin.... ]
Nistor Adrian reassigned IPROTO-96:
-----------------------------------
Assignee: Nistor Adrian
> Annotation processor does not handle well incremental compilation
> -----------------------------------------------------------------
>
> Key: IPROTO-96
> URL: https://issues.jboss.org/browse/IPROTO-96
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 4.3.0.Alpha6
> Reporter: Nistor Adrian
> Assignee: Nistor Adrian
> Priority: Major
>
> 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.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 7 months
[JBoss JIRA] (IPROTO-96) Annotation processor does not handle well incremental compilation
by Nistor Adrian (Jira)
[ https://issues.jboss.org/browse/IPROTO-96?page=com.atlassian.jira.plugin.... ]
Nistor Adrian updated IPROTO-96:
--------------------------------
Status: Open (was: New)
> Annotation processor does not handle well incremental compilation
> -----------------------------------------------------------------
>
> Key: IPROTO-96
> URL: https://issues.jboss.org/browse/IPROTO-96
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 4.3.0.Alpha6
> Reporter: Nistor Adrian
> Priority: Major
>
> 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.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 7 months
[JBoss JIRA] (IPROTO-96) Annotation processor does not handle well incremental compilation
by Nistor Adrian (Jira)
Nistor Adrian created IPROTO-96:
-----------------------------------
Summary: Annotation processor does not handle well incremental compilation
Key: IPROTO-96
URL: https://issues.jboss.org/browse/IPROTO-96
Project: Infinispan ProtoStream
Issue Type: Bug
Affects Versions: 4.3.0.Alpha6
Reporter: Nistor Adrian
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.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 7 months