[jira] [Commented] (NETBEANS-6330) Background scanning of projects

2021-12-23 Thread Jira


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

Hervé Bitteur commented on NETBEANS-6330:
-

FYI, I removed the srcDir 'src/main' from resources, I left it in java. 
Behavior is OK in both cases, with and without the modification.

Bye Geertjan

 

> Background scanning of projects
> ---
>
> Key: NETBEANS-6330
> URL: https://issues.apache.org/jira/browse/NETBEANS-6330
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
> Environment: OS: Windows 10
> Java: JDK 11.0.3
> Gradle 4.10.2 (but using Gradle wrapper for 5.6.4)
>Reporter: Hervé Bitteur
>Priority: Blocker
>
> Netbeans gets stuck on "Background scanning of projects..." at 96% value, but 
> with CPU still around 20-30%
> This happens with versions: 12.6, 12.5, 12.3, perhaps older ones as well
> The project at hand is a Gradle project (see environment below). I can still 
> build the project from within Netbeans, I can run it, but Netbeans IDE is now 
> useless.
> I tried to abort the scan, to relaunch Netbeans, to empty Netbeans cache... I 
> can sometimes see the end of this scan, but I can't precisely tell you in 
> which conditions.
> Project is then flagged with a red exclamation point, as well as most Java 
> packages and Java files within the project, goto declaration often fails, as 
> well as Usages, etc.
> I have been fighting with this for a couple of weeks, I'm totally stuck.
> To reproduce the problem:
> 1/ git clone [https://github.com/Audiveris/audiveris.git]
> 2/ then open Netbeans on the project created in audiveris sub-directory
> Please tell me if you need additional information
> /Hervé (owner of Audiveris project)
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-6330) Background scanning of projects

2021-12-23 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-6330:
-

Excellent. 

> Background scanning of projects
> ---
>
> Key: NETBEANS-6330
> URL: https://issues.apache.org/jira/browse/NETBEANS-6330
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
> Environment: OS: Windows 10
> Java: JDK 11.0.3
> Gradle 4.10.2 (but using Gradle wrapper for 5.6.4)
>Reporter: Hervé Bitteur
>Priority: Blocker
>
> Netbeans gets stuck on "Background scanning of projects..." at 96% value, but 
> with CPU still around 20-30%
> This happens with versions: 12.6, 12.5, 12.3, perhaps older ones as well
> The project at hand is a Gradle project (see environment below). I can still 
> build the project from within Netbeans, I can run it, but Netbeans IDE is now 
> useless.
> I tried to abort the scan, to relaunch Netbeans, to empty Netbeans cache... I 
> can sometimes see the end of this scan, but I can't precisely tell you in 
> which conditions.
> Project is then flagged with a red exclamation point, as well as most Java 
> packages and Java files within the project, goto declaration often fails, as 
> well as Usages, etc.
> I have been fighting with this for a couple of weeks, I'm totally stuck.
> To reproduce the problem:
> 1/ git clone [https://github.com/Audiveris/audiveris.git]
> 2/ then open Netbeans on the project created in audiveris sub-directory
> Please tell me if you need additional information
> /Hervé (owner of Audiveris project)
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-6330) Background scanning of projects

2021-12-23 Thread Jira


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

Hervé Bitteur commented on NETBEANS-6330:
-

Good news:

I have switched to JDK 17 and Gradle 7.3 , modified netbeans_jdkhome in 
Netbeans config file, modified JAVA_HOME env variable, modified 
sourceCompatibility in my build.gradle, ...

and everything works now, both for Gradle and for Netbeans.

Thanks a lot for your suggestion.

I will now check your remark about src/main.

 

> Background scanning of projects
> ---
>
> Key: NETBEANS-6330
> URL: https://issues.apache.org/jira/browse/NETBEANS-6330
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
> Environment: OS: Windows 10
> Java: JDK 11.0.3
> Gradle 4.10.2 (but using Gradle wrapper for 5.6.4)
>Reporter: Hervé Bitteur
>Priority: Blocker
>
> Netbeans gets stuck on "Background scanning of projects..." at 96% value, but 
> with CPU still around 20-30%
> This happens with versions: 12.6, 12.5, 12.3, perhaps older ones as well
> The project at hand is a Gradle project (see environment below). I can still 
> build the project from within Netbeans, I can run it, but Netbeans IDE is now 
> useless.
> I tried to abort the scan, to relaunch Netbeans, to empty Netbeans cache... I 
> can sometimes see the end of this scan, but I can't precisely tell you in 
> which conditions.
> Project is then flagged with a red exclamation point, as well as most Java 
> packages and Java files within the project, goto declaration often fails, as 
> well as Usages, etc.
> I have been fighting with this for a couple of weeks, I'm totally stuck.
> To reproduce the problem:
> 1/ git clone [https://github.com/Audiveris/audiveris.git]
> 2/ then open Netbeans on the project created in audiveris sub-directory
> Please tell me if you need additional information
> /Hervé (owner of Audiveris project)
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-6330) Background scanning of projects

2021-12-23 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-6330:
-

Are you sure this is right, i.e., do you need src/main to be both in your 
main/java AND in your main/resources?

sourceSets {
main {
java {
srcDir 'src/main'
srcDir "$buildDir/generated-src"
}
resources {
srcDir 'src/main'
srcDir 'dev/icons'
}
}
test {
java {
srcDir 'src/test'
}
}
}

> Background scanning of projects
> ---
>
> Key: NETBEANS-6330
> URL: https://issues.apache.org/jira/browse/NETBEANS-6330
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
> Environment: OS: Windows 10
> Java: JDK 11.0.3
> Gradle 4.10.2 (but using Gradle wrapper for 5.6.4)
>Reporter: Hervé Bitteur
>Priority: Blocker
>
> Netbeans gets stuck on "Background scanning of projects..." at 96% value, but 
> with CPU still around 20-30%
> This happens with versions: 12.6, 12.5, 12.3, perhaps older ones as well
> The project at hand is a Gradle project (see environment below). I can still 
> build the project from within Netbeans, I can run it, but Netbeans IDE is now 
> useless.
> I tried to abort the scan, to relaunch Netbeans, to empty Netbeans cache... I 
> can sometimes see the end of this scan, but I can't precisely tell you in 
> which conditions.
> Project is then flagged with a red exclamation point, as well as most Java 
> packages and Java files within the project, goto declaration often fails, as 
> well as Usages, etc.
> I have been fighting with this for a couple of weeks, I'm totally stuck.
> To reproduce the problem:
> 1/ git clone [https://github.com/Audiveris/audiveris.git]
> 2/ then open Netbeans on the project created in audiveris sub-directory
> Please tell me if you need additional information
> /Hervé (owner of Audiveris project)
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-6330) Background scanning of projects

2021-12-23 Thread Jira


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

Hervé Bitteur commented on NETBEANS-6330:
-

Good point, I will decouple the two problems as you are suggesting.

> Background scanning of projects
> ---
>
> Key: NETBEANS-6330
> URL: https://issues.apache.org/jira/browse/NETBEANS-6330
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
> Environment: OS: Windows 10
> Java: JDK 11.0.3
> Gradle 4.10.2 (but using Gradle wrapper for 5.6.4)
>Reporter: Hervé Bitteur
>Priority: Blocker
>
> Netbeans gets stuck on "Background scanning of projects..." at 96% value, but 
> with CPU still around 20-30%
> This happens with versions: 12.6, 12.5, 12.3, perhaps older ones as well
> The project at hand is a Gradle project (see environment below). I can still 
> build the project from within Netbeans, I can run it, but Netbeans IDE is now 
> useless.
> I tried to abort the scan, to relaunch Netbeans, to empty Netbeans cache... I 
> can sometimes see the end of this scan, but I can't precisely tell you in 
> which conditions.
> Project is then flagged with a red exclamation point, as well as most Java 
> packages and Java files within the project, goto declaration often fails, as 
> well as Usages, etc.
> I have been fighting with this for a couple of weeks, I'm totally stuck.
> To reproduce the problem:
> 1/ git clone [https://github.com/Audiveris/audiveris.git]
> 2/ then open Netbeans on the project created in audiveris sub-directory
> Please tell me if you need additional information
> /Hervé (owner of Audiveris project)
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-6330) Background scanning of projects

2021-12-23 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-6330:
-

Your project can use any JDK that you prefer.

What I'm suggesting is that you try to reproduce the issue by running NetBeans 
on the latest JDK, which is 17.

> Background scanning of projects
> ---
>
> Key: NETBEANS-6330
> URL: https://issues.apache.org/jira/browse/NETBEANS-6330
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
> Environment: OS: Windows 10
> Java: JDK 11.0.3
> Gradle 4.10.2 (but using Gradle wrapper for 5.6.4)
>Reporter: Hervé Bitteur
>Priority: Blocker
>
> Netbeans gets stuck on "Background scanning of projects..." at 96% value, but 
> with CPU still around 20-30%
> This happens with versions: 12.6, 12.5, 12.3, perhaps older ones as well
> The project at hand is a Gradle project (see environment below). I can still 
> build the project from within Netbeans, I can run it, but Netbeans IDE is now 
> useless.
> I tried to abort the scan, to relaunch Netbeans, to empty Netbeans cache... I 
> can sometimes see the end of this scan, but I can't precisely tell you in 
> which conditions.
> Project is then flagged with a red exclamation point, as well as most Java 
> packages and Java files within the project, goto declaration often fails, as 
> well as Usages, etc.
> I have been fighting with this for a couple of weeks, I'm totally stuck.
> To reproduce the problem:
> 1/ git clone [https://github.com/Audiveris/audiveris.git]
> 2/ then open Netbeans on the project created in audiveris sub-directory
> Please tell me if you need additional information
> /Hervé (owner of Audiveris project)
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-6330) Background scanning of projects

2021-12-23 Thread Jira


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

Hervé Bitteur commented on NETBEANS-6330:
-

Bonjour Geertjan,

Good to hear from you

Strictly speaking, you are right. I have not tried the latest JDK available.

Currently Audiveris requires Java 11. Switching to a more recent LTS version is 
on our todo list, but we have plenty of other enhancement requests to fight 
with.

And for this, we need a working IDE... This sounds like a vicious circle.

But OK, I will try with latest LTS Java version

/Hervé

> Background scanning of projects
> ---
>
> Key: NETBEANS-6330
> URL: https://issues.apache.org/jira/browse/NETBEANS-6330
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
> Environment: OS: Windows 10
> Java: JDK 11.0.3
> Gradle 4.10.2 (but using Gradle wrapper for 5.6.4)
>Reporter: Hervé Bitteur
>Priority: Blocker
>
> Netbeans gets stuck on "Background scanning of projects..." at 96% value, but 
> with CPU still around 20-30%
> This happens with versions: 12.6, 12.5, 12.3, perhaps older ones as well
> The project at hand is a Gradle project (see environment below). I can still 
> build the project from within Netbeans, I can run it, but Netbeans IDE is now 
> useless.
> I tried to abort the scan, to relaunch Netbeans, to empty Netbeans cache... I 
> can sometimes see the end of this scan, but I can't precisely tell you in 
> which conditions.
> Project is then flagged with a red exclamation point, as well as most Java 
> packages and Java files within the project, goto declaration often fails, as 
> well as Usages, etc.
> I have been fighting with this for a couple of weeks, I'm totally stuck.
> To reproduce the problem:
> 1/ git clone [https://github.com/Audiveris/audiveris.git]
> 2/ then open Netbeans on the project created in audiveris sub-directory
> Please tell me if you need additional information
> /Hervé (owner of Audiveris project)
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-6330) Background scanning of projects

2021-12-23 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-6330:
-

How can you be totally stuck if you haven't tried your scenario with the latest 
JDK to see if it can be reproduced there?

> Background scanning of projects
> ---
>
> Key: NETBEANS-6330
> URL: https://issues.apache.org/jira/browse/NETBEANS-6330
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
> Environment: OS: Windows 10
> Java: JDK 11.0.3
> Gradle 4.10.2 (but using Gradle wrapper for 5.6.4)
>Reporter: Hervé Bitteur
>Priority: Blocker
>
> Netbeans gets stuck on "Background scanning of projects..." at 96% value, but 
> with CPU still around 20-30%
> This happens with versions: 12.6, 12.5, 12.3, perhaps older ones as well
> The project at hand is a Gradle project (see environment below). I can still 
> build the project from within Netbeans, I can run it, but Netbeans IDE is now 
> useless.
> I tried to abort the scan, to relaunch Netbeans, to empty Netbeans cache... I 
> can sometimes see the end of this scan, but I can't precisely tell you in 
> which conditions.
> Project is then flagged with a red exclamation point, as well as most Java 
> packages and Java files within the project, goto declaration often fails, as 
> well as Usages, etc.
> I have been fighting with this for a couple of weeks, I'm totally stuck.
> To reproduce the problem:
> 1/ git clone [https://github.com/Audiveris/audiveris.git]
> 2/ then open Netbeans on the project created in audiveris sub-directory
> Please tell me if you need additional information
> /Hervé (owner of Audiveris project)
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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