[jira] [Commented] (NETBEANS-5781) Priming gradle build does not honor the gradle version set in Options/Java/Gradle

2021-06-15 Thread Kirk Stork (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17363863#comment-17363863
 ] 

Kirk Stork commented on NETBEANS-5781:
--

I'm having a problem that may be related.

 

I have a multi-project build that works just fine from the command line using 
the gradle wrapper, but the subproject will not load claiming that a project 
dependency can't be met.

 

macos Big Sur.  Tried with corretto 8, adopt open jdk 8 and oracle jdk 8 as the 
platform version for the project.  CLI build works with both corretto and 
oracle, haven't tried others.

> Priming gradle build does not honor the gradle version set in 
> Options/Java/Gradle
> -
>
> Key: NETBEANS-5781
> URL: https://issues.apache.org/jira/browse/NETBEANS-5781
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.4
> Environment: Ubuntu 20.04, AdoptOpenjdk 16.0.1, Netbeans 12.4.  JDK 
> and Netbeans were installed by downloads, not by the Ubuntu package manager.
>  
>Reporter: Guntram Blohm
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: gradle, version
> Attachments: Screenshot_2021-06-15_11-31-49.png
>
>
> When opening a gradle project, Netbeans does not honor the gradle version set 
> in Tools/Options/Java/Gradle, instead, it seems to always use gradle 7.0.0.
> I have an older project that uses deprecated features, so it needs gradle 
> 4.10.2 to load. Even when I set "Use Standard Gradle Version" to "4.10.2", 
> Netbeans uses gradle 7 to load the project, decides it can't, and makes the 
> project unusable. Pressing the "hammer" button (F11) to build the project 
> correctly uses Gradle 4.10.2 and builds the project.
> Attached screenshot shows, after "reload project", how Netbeans uses Gradle 
> 7.0 even with gradle 4.10.2 selected in Options.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-5781) Priming gradle build does not honor the gradle version set in Options/Java/Gradle

2021-07-26 Thread Alex lewis (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17387382#comment-17387382
 ] 

Alex lewis commented on NETBEANS-5781:
--

I'm experiencing the same issue as per the Description. Related to this, the 
"Prefer to use Gradle Wrapper that Comes with the Project" does not have an 
affect on the version of Gradle Netbeans uses when opening/loading the project.

> Priming gradle build does not honor the gradle version set in 
> Options/Java/Gradle
> -
>
> Key: NETBEANS-5781
> URL: https://issues.apache.org/jira/browse/NETBEANS-5781
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.4
> Environment: Ubuntu 20.04, AdoptOpenjdk 16.0.1, Netbeans 12.4.  JDK 
> and Netbeans were installed by downloads, not by the Ubuntu package manager.
>  
>Reporter: Guntram Blohm
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: gradle, version
> Attachments: Screenshot_2021-06-15_11-31-49.png
>
>
> When opening a gradle project, Netbeans does not honor the gradle version set 
> in Tools/Options/Java/Gradle, instead, it seems to always use gradle 7.0.0.
> I have an older project that uses deprecated features, so it needs gradle 
> 4.10.2 to load. Even when I set "Use Standard Gradle Version" to "4.10.2", 
> Netbeans uses gradle 7 to load the project, decides it can't, and makes the 
> project unusable. Pressing the "hammer" button (F11) to build the project 
> correctly uses Gradle 4.10.2 and builds the project.
> Attached screenshot shows, after "reload project", how Netbeans uses Gradle 
> 7.0 even with gradle 4.10.2 selected in Options.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-5781) Priming gradle build does not honor the gradle version set in Options/Java/Gradle

2021-07-28 Thread Alex lewis (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17388600#comment-17388600
 ] 

Alex lewis commented on NETBEANS-5781:
--

I should add that I think this may be a regression as a project that runs into 
this issue in 12.4 works in 12.3.

> Priming gradle build does not honor the gradle version set in 
> Options/Java/Gradle
> -
>
> Key: NETBEANS-5781
> URL: https://issues.apache.org/jira/browse/NETBEANS-5781
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.4
> Environment: Ubuntu 20.04, AdoptOpenjdk 16.0.1, Netbeans 12.4.  JDK 
> and Netbeans were installed by downloads, not by the Ubuntu package manager.
>  
>Reporter: Guntram Blohm
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: gradle, version
> Attachments: Screenshot_2021-06-15_11-31-49.png
>
>
> When opening a gradle project, Netbeans does not honor the gradle version set 
> in Tools/Options/Java/Gradle, instead, it seems to always use gradle 7.0.0.
> I have an older project that uses deprecated features, so it needs gradle 
> 4.10.2 to load. Even when I set "Use Standard Gradle Version" to "4.10.2", 
> Netbeans uses gradle 7 to load the project, decides it can't, and makes the 
> project unusable. Pressing the "hammer" button (F11) to build the project 
> correctly uses Gradle 4.10.2 and builds the project.
> Attached screenshot shows, after "reload project", how Netbeans uses Gradle 
> 7.0 even with gradle 4.10.2 selected in Options.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-5781) Priming gradle build does not honor the gradle version set in Options/Java/Gradle

2021-07-28 Thread Laszlo Kishalmi (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17388828#comment-17388828
 ] 

Laszlo Kishalmi commented on NETBEANS-5781:
---

Quick question. What is the JDK you are running NetBeans on?

> Priming gradle build does not honor the gradle version set in 
> Options/Java/Gradle
> -
>
> Key: NETBEANS-5781
> URL: https://issues.apache.org/jira/browse/NETBEANS-5781
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.4
> Environment: Ubuntu 20.04, AdoptOpenjdk 16.0.1, Netbeans 12.4.  JDK 
> and Netbeans were installed by downloads, not by the Ubuntu package manager.
>  
>Reporter: Guntram Blohm
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: gradle, version
> Attachments: Screenshot_2021-06-15_11-31-49.png
>
>
> When opening a gradle project, Netbeans does not honor the gradle version set 
> in Tools/Options/Java/Gradle, instead, it seems to always use gradle 7.0.0.
> I have an older project that uses deprecated features, so it needs gradle 
> 4.10.2 to load. Even when I set "Use Standard Gradle Version" to "4.10.2", 
> Netbeans uses gradle 7 to load the project, decides it can't, and makes the 
> project unusable. Pressing the "hammer" button (F11) to build the project 
> correctly uses Gradle 4.10.2 and builds the project.
> Attached screenshot shows, after "reload project", how Netbeans uses Gradle 
> 7.0 even with gradle 4.10.2 selected in Options.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-5781) Priming gradle build does not honor the gradle version set in Options/Java/Gradle

2021-07-28 Thread Guntram Blohm (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17388838#comment-17388838
 ] 

Guntram Blohm commented on NETBEANS-5781:
-

Adoptopenjdk 16.0.1 on Ubuntu 20.04. Both AdoptOpenJdk and Netbeans installed 
from download, not by the Ubuntu package manager.

 

> Priming gradle build does not honor the gradle version set in 
> Options/Java/Gradle
> -
>
> Key: NETBEANS-5781
> URL: https://issues.apache.org/jira/browse/NETBEANS-5781
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.4
> Environment: Ubuntu 20.04, AdoptOpenjdk 16.0.1, Netbeans 12.4.  JDK 
> and Netbeans were installed by downloads, not by the Ubuntu package manager.
>  
>Reporter: Guntram Blohm
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: gradle, version
> Attachments: Screenshot_2021-06-15_11-31-49.png
>
>
> When opening a gradle project, Netbeans does not honor the gradle version set 
> in Tools/Options/Java/Gradle, instead, it seems to always use gradle 7.0.0.
> I have an older project that uses deprecated features, so it needs gradle 
> 4.10.2 to load. Even when I set "Use Standard Gradle Version" to "4.10.2", 
> Netbeans uses gradle 7 to load the project, decides it can't, and makes the 
> project unusable. Pressing the "hammer" button (F11) to build the project 
> correctly uses Gradle 4.10.2 and builds the project.
> Attached screenshot shows, after "reload project", how Netbeans uses Gradle 
> 7.0 even with gradle 4.10.2 selected in Options.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-5781) Priming gradle build does not honor the gradle version set in Options/Java/Gradle

2021-07-28 Thread Laszlo Kishalmi (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17388843#comment-17388843
 ] 

Laszlo Kishalmi commented on NETBEANS-5781:
---

Oh, just seen the env section. OpenJDK 16. I guess your Gradle project using a 
6.x wrapper (or maybe older). Gradle supports Java 16 form 7.0+.

Due to some Gradle limitations priming build can only use the JDK what the IDE 
is running on. In these situations the IDE has to Gradle 7.0+ for priming 
builds.

You can either upgrade your project to Gradle 7.x or use Java 15 for the IDE.

Yes it is true, the IDE should have display something when this setting is 
overruled by JDK-Gradle compatibility.

> Priming gradle build does not honor the gradle version set in 
> Options/Java/Gradle
> -
>
> Key: NETBEANS-5781
> URL: https://issues.apache.org/jira/browse/NETBEANS-5781
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.4
> Environment: Ubuntu 20.04, AdoptOpenjdk 16.0.1, Netbeans 12.4.  JDK 
> and Netbeans were installed by downloads, not by the Ubuntu package manager.
>  
>Reporter: Guntram Blohm
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: gradle, version
> Attachments: Screenshot_2021-06-15_11-31-49.png
>
>
> When opening a gradle project, Netbeans does not honor the gradle version set 
> in Tools/Options/Java/Gradle, instead, it seems to always use gradle 7.0.0.
> I have an older project that uses deprecated features, so it needs gradle 
> 4.10.2 to load. Even when I set "Use Standard Gradle Version" to "4.10.2", 
> Netbeans uses gradle 7 to load the project, decides it can't, and makes the 
> project unusable. Pressing the "hammer" button (F11) to build the project 
> correctly uses Gradle 4.10.2 and builds the project.
> Attached screenshot shows, after "reload project", how Netbeans uses Gradle 
> 7.0 even with gradle 4.10.2 selected in Options.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-5781) Priming gradle build does not honor the gradle version set in Options/Java/Gradle

2021-07-29 Thread Alex lewis (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17389753#comment-17389753
 ] 

Alex lewis commented on NETBEANS-5781:
--

In my case, the project defines JDK 8 for source and target.

Java 11 is configured as the JDK home in netbeans.conf 12.4 (where I see this 
issue) and Java 8 in netbeans.conf for 12.3 (where I don't see this issue).

I'll try setting Java 8 in 12.4 to see if that makes a difference; however, if 
that is the deciding factor then I may need to keep the two versions of 
Netbeans as I need to do work in both Java 8 and 11.

> Priming gradle build does not honor the gradle version set in 
> Options/Java/Gradle
> -
>
> Key: NETBEANS-5781
> URL: https://issues.apache.org/jira/browse/NETBEANS-5781
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.4
> Environment: Ubuntu 20.04, AdoptOpenjdk 16.0.1, Netbeans 12.4.  JDK 
> and Netbeans were installed by downloads, not by the Ubuntu package manager.
>  
>Reporter: Guntram Blohm
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: gradle, version
> Attachments: Screenshot_2021-06-15_11-31-49.png
>
>
> When opening a gradle project, Netbeans does not honor the gradle version set 
> in Tools/Options/Java/Gradle, instead, it seems to always use gradle 7.0.0.
> I have an older project that uses deprecated features, so it needs gradle 
> 4.10.2 to load. Even when I set "Use Standard Gradle Version" to "4.10.2", 
> Netbeans uses gradle 7 to load the project, decides it can't, and makes the 
> project unusable. Pressing the "hammer" button (F11) to build the project 
> correctly uses Gradle 4.10.2 and builds the project.
> Attached screenshot shows, after "reload project", how Netbeans uses Gradle 
> 7.0 even with gradle 4.10.2 selected in Options.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists