[
https://issues.apache.org/jira/browse/NETBEANS-4848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17202395#comment-17202395
]
Laszlo Kishalmi commented on NETBEANS-4848:
-------------------------------------------
I'd recommend to use the wrapper. I do not know when would I get to make the UI
for per-project (more precisely per-root-project) configurable Gradle
Distribution.
BTW recently maven wrapper got quite popular as well.
> Annotation processing in Gradle 4.10 vs. 6.x versions
> -----------------------------------------------------
>
> Key: NETBEANS-4848
> URL: https://issues.apache.org/jira/browse/NETBEANS-4848
> Project: NetBeans
> Issue Type: Bug
> Components: projects - Gradle
> Affects Versions: 12.0, 12.1
> Reporter: Jaroslav Tulach
> Assignee: Laszlo Kishalmi
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> A description of a problem shall not start with finding the root cause, but
> be it: It never stops surprising me how incompatible Gradle is. I have
> written some {{build.gradle}} scripts for some version of Gradle, but then
> after few new releases, those scripts don't work at all. The fix is simple:
> include `gradlew` in your repository and fix Gradle version, but this is
> so(oooo!) different compared to Maven! Let me explain the problem:
> * Follow [the
> steps|https://github.com/JaroslavTulach/oraclejet4j/blob/master/README.md]
> and get the repository, commit
> [eee35b7|https://github.com/JaroslavTulach/oraclejet4j/commit/eee35b737795ef03c45028c0809b388aa8552367]
> * Usage from command line works, but:
> * Open the project in NetBeans. There are errors in {{RootViewModel}} class
> My IDE cannot find {{RootViewModelBase}}, {{NavItemBase}},
> {{FooterLinkBase}}. Those classes are generated by annotation processor
> (\{{"com.dukescript.api:javafx.beaninfo:0.6"}}). A normal behavior of
> {{javac}} is to locate all annotation processors on "compile" class path and
> use them. Gradle 4.10 does that. New versions of Gradle don't do that(!!!!).
>
> I assume NetBeans 12.x is using new version of Gradle internally and as such,
> it doesn't find the annotation processor. As such the code is rendered as
> broken. Can we fix that somehow (without rewriting the project to Maven ;))?
--
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