[
https://issues.apache.org/jira/browse/NETBEANS-4762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17192024#comment-17192024
]
Netbeans User 2019 edited comment on NETBEANS-4762 at 9/8/20, 8:20 AM:
-----------------------------------------------------------------------
[~lkishalmi]
Sorry, but I have already remove 12.1. Additionally I recieved updates to 12.0,
but I have not applied that (if e.g. there is such issue also in coming
updates).
I guess there is two possible reasons:
- actions are somehow blocked to reflect current state
- output classes is ignored to properly remove of reds
Simply said I do not expect any new generated sources as there should be just
overriding current ones by Lombok during annotation processing by javac.
In any case I can see that Lombok has some ifs that analyses if it is in
"Netbeans" so I do not know if there is any changes in Apache Netbeans that
possibly anyhow affect that Lombok checks. E.g.
https://github.com/rzwitserloot/lombok/blob/master/src/core/lombok/javac/handlers/HandleGetter.java
was (Author: nb-user-2019):
[~lkishalmi]
Sorry, but I have already remove 12.1. Additionally I recieved updates to 12.0,
but I have not applied that (if e.g. there is such issue also in coming
updates).
I guess there is two possible reasons:
- actions are somehow blocks to reflect current state
- output classes is ignored to properly remove of reds
Simply said I do not expect any new generated sources as there should be just
overriding current ones by Lombok during annotation processing by javac.
In any case I can see that Lombok has some ifs that analyses if it is in
"Netbeans" so I do not know if there is any changes in Apache Netbeans that
possibly anyhow affect that Lombok checks. E.g.
https://github.com/rzwitserloot/lombok/blob/master/src/core/lombok/javac/handlers/HandleGetter.java
> Gradle support broken recognizing of Lombok generation
> ------------------------------------------------------
>
> Key: NETBEANS-4762
> URL: https://issues.apache.org/jira/browse/NETBEANS-4762
> Project: NetBeans
> Issue Type: Bug
> Components: editor - Hints & Annotations, editor - Navigation,
> java - Compiler, java - Editor, java - Hints, java - Navigation, platform -
> Action Items, projects - Gradle
> Affects Versions: 12.1
> Environment: OpenJDK 11.0.2
> Gradle 6.4.1, 6.6.1
> Lombok 1.18.12
> Reporter: Netbeans User 2019
> Assignee: Laszlo Kishalmi
> Priority: Critical
> Labels: Lombok, annotation-processor, gradle
>
> After upgrade to Apache Netbeans 12.1 it seems that every class uses Lombok
> annotation or even class that depends on such class leads to red look (action
> items, items in tree of "Projects", particular file in editor). It is tried
> every prior ways to remove it, but without success.
> So tried like
> - close project and open
> - reload project
> - clean and build
> - scan for external changes
> - modification of file
> - creation new file in same folder and remove
> - removal of Apache Netbeans cache (under option --cachedir)
> - removal of caches/6.4.1 under gradle home
> - removal caches .gradle under project
> - switching new option about trusted to always
> - using new version of Gradle 6.6.1
> - using lombok plugin for gradle instead of manually steps via dependencies
> So it is still red even clean and build works well.
> So it is really not possible use that version of Apache Netbeans with
> hundreds of false
> errors.
> So I have to revert back to 12 where I can get that back to non-red after
> clean and build of root project and reopening of projects or by creation of
> files under particular folder and remove it.
> In context:
> Tested on multi project (root with subprojects).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists