Re: AnnotationProcessor Crash on NB21 (Lombok) (was: NB20)

2024-02-23 Thread Ulrich Mayring
Does no one know anything about this? I now downloaded NB 21 and the 
same thing happens there. So for the time being I am stuck on NB 18.


Kind regards,
Ulrich

Am 09.02.24 um 16:11 schrieb Ulrich Mayring:

Hi all,

is this a known problem that the annotation processor crashes on NB20 
and thus does not come to processing the Lombok annotations (such as 
getter/setter creation)?


My project compiles fine, but all lines referring to generated Lombok 
code are red in the editor.


I've found some references to a similar problem online and they seemed 
to work around it by doing some maven-related stuff, but in my case it's 
a Gradle project. I have


compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'

in my build.gradle. In another project that also has the same problem I 
have instead


plugins {
     id 'io.freefair.lombok'
}

in the build.gradle. Both methods should pull the newest Lombok version, 
I think.


Kind regards,

Ulrich



--
iSYS Software GmbH

Ulrich Mayring | Full Stack Developer
Technology Lab / R&D

Tel: +49 (0) 89 46 23 28-0 | Fax  +49 (0) 89 46 23 28-14
email: ulrich.mayr...@isys.de

Grillparzerstraße 10 | D-81675 München
www.isys.de

Sitz der Gesellschaft: München | HRB 111760
Geschäftsführer: Stefan Fischer und Max Haller

-
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: NetBeans Node.js issue

2024-02-23 Thread Bujdosó Gyula
Thanks for your explanation and the idea.

Op vr 23 feb 2024 om 16:08 schreef Peter Hull :

> On Fri, 23 Feb 2024 at 14:58, Bujdosó Gyula  wrote:
>
>> Thanks for the tip and help, sorry for the late reply. :)
>>
>> In the end it was 'which' command I located both node and npm in the
>> terminal as shown life:
>>
>
> I told you to use 'where', and of course I meant 'which' - apologies for
> that, I must have been having a hard day.
> (I suppose the rationale is that 'which node' tells you which executable
> is run when you type 'node')
> Glad you sorted it out anyway!
> Peter
>
>


Re: NetBeans Node.js issue

2024-02-23 Thread Peter Hull
On Fri, 23 Feb 2024 at 14:58, Bujdosó Gyula  wrote:

> Thanks for the tip and help, sorry for the late reply. :)
>
> In the end it was 'which' command I located both node and npm in the
> terminal as shown life:
>

I told you to use 'where', and of course I meant 'which' - apologies for
that, I must have been having a hard day.
(I suppose the rationale is that 'which node' tells you which executable is
run when you type 'node')
Glad you sorted it out anyway!
Peter


Run test focused method in NB 21

2024-02-23 Thread PavelTurk

Hello all.

When I do right click on test method and select `Run Focused Test Method` or 
`Debug Focused Test Method` I got message
`No provide can handle this test method`. At the same time `Test File` and 
`Debug Test File` work without any problems.
This is a java maven project, test framework is junit 5.10.1.

Could anyone say if this is a bug or I need to set some options?

Best regards, Pavel

-
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