Background scanning of projects stuck on javascript files

2022-09-28 Thread Alexander Kronenwett
Hi,

I am working on a multi module project that also contains a bunch of
javascript files. When I open the project in NB15, the indexing is always
stuck in the same project and NB gets slow and freezes after a while.

I was able to pin the problem to two javascript files which are contained
in the minimal example project I have attached to this mail.

The problem occurs on my macbook pro M1 with OSX 12.5.1.
The problem also occurs when I load the project in my self-built NB on
linux mint.
The problem does not occur, when I load the project in my official release
NB15.

Has anyone a clue what the problem might be? My JDK is Zulu17.36+17-CA.

Best
Alex
 project.zip



Re: Use JDK preview features in Gradle

2022-09-28 Thread László Kishalmi
Yes. NetBeans just picks up the settings coming from Gradle.

On Wed, Sep 28, 2022 at 5:56 AM Bernd Michaely 
wrote:

> a search for »preview features« on the website https://docs.gradle.org
> finds:
>
>
> https://docs.gradle.org/current/userguide/building_java_projects.html#sec:feature_preview
>
> (assuming you mean Java preview features, not Gradle preview features :-)
>
> (this should be sufficient – don't think NetBeans needs additional setup?)
>
> Bernd
>
> On 28.09.22 14:24, Dragan Bjedov wrote:
> > Hello,
> > Is there any documenation how to setup NetBeans to use preview
> > features with Gradle project?
> >
> > I was able to do it with Maven project.
> >
> > Thanks in advance
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>


Re: Use JDK preview features in Gradle

2022-09-28 Thread Bernd Michaely
a search for »preview features« on the website https://docs.gradle.org 
finds:


https://docs.gradle.org/current/userguide/building_java_projects.html#sec:feature_preview

(assuming you mean Java preview features, not Gradle preview features :-)

(this should be sufficient – don't think NetBeans needs additional setup?)

Bernd

On 28.09.22 14:24, Dragan Bjedov wrote:

Hello,
Is there any documenation how to setup NetBeans to use preview 
features with Gradle project?


I was able to do it with Maven project.

Thanks in advance


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

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



Use JDK preview features in Gradle

2022-09-28 Thread Dragan Bjedov
Hello,
Is there any documenation how to setup NetBeans to use preview features
with Gradle project?

I was able to do it with Maven project.

Thanks in advance