RE: Problem using NetBeans on Ubuntu

2019-09-20 Thread Walter Oney
From: Carl Mosca  
> I am not sure about the file transfer part (Samba?) but given that it's 
> small, you might copy the contents from the Output window for the build.

I e-mailed the output log to myself. Here it is, sans reasonable formatting:

-Dnb.internal.action.name=build jar
init:
Deleting: 
/home/walt/NetBeansProjects/JavaApplication1/build/built-jar.properties
deps-jar:
Updating property file: 
/home/walt/NetBeansProjects/JavaApplication1/build/built-jar.properties
Compiling 1 source file to 
/home/walt/NetBeansProjects/JavaApplication1/build/classes
compile:
Copying 1 file to /home/walt/NetBeansProjects/JavaApplication1/build
Building jar: 
/home/walt/NetBeansProjects/JavaApplication1/dist/JavaApplication1.jar
To run this application from the command line without Ant, try:
/usr/lib/jvm/java-11-openjdk-amd64/bin/java -cp 
/home/walt/NetBeansProjects/JavaApplication1/dist/JavaApplication1.jar 
javaapplication1.JavaApplication1
deploy:
jar:
BUILD SUCCESSFUL (total time: 0 seconds)

> I noticed you referenced "Applet" instead of "Application".  Can you provide 
> the steps you followed in NetBeans?

Create new project, Java, Java application, then accept all defaults. I 
wouldn't dignify a throwaway program like this as an "application"  馃槉
The million-line bankruptcy petition program I wrote in C++ is an 
"application", as was the 3GL called Express for which I was the lead 
programmer back in the 80's. Maybe the thing I wrote for my Android phone to 
track Boston commuter rail, or the little MFC thingy I wrote to control my 
model railroad. But "javaapplication1"? No way.

> If right click on the project and then select Properties and then Run, can 
> you browse for the main class using the Browse button?




--
Walter C. Oney, Jr., Esq.
267 Pearl Hill Rd., Fitchburg, MA 01420
Tel.: 978-343-3390
http://www.oneylaw.com




-
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: Problem using NetBeans on Ubuntu

2019-09-20 Thread Carl Mosca
I am not sure about the file transfer part (Samba?) but given that it's
small, you might copy the contents from the Output window for the build.

I noticed you referenced "Applet" instead of "Application".  Can you
provide the steps you followed in NetBeans?

If right click on the project and then select Properties and then Run, can
you browse for the main class using the Browse button?


On Fri, Sep 20, 2019 at 9:33 PM Walter Oney  wrote:

> From: Carl Mosca 
> > How was the project generated?  I am assuming it is a NetBeans ant
> project based on the default names used.
>
> Yes.
>
> > Have you done a build?  If so, is that successful?  Can you provide the
> build output.
>
> The build was uneventful. It's hard for me to get a file from my
> dual-booted Win10/Ubuntu box onto my Windows network. Someday I'll figure
> out how to do that.
>
> The applet actually runs fine from the command line using the command ant
> suggested. So the issue about the class appears to be within Netbeans.
>
> --
> Walter C. Oney, Jr., Esq.
> 267 Pearl Hill Rd., Fitchburg, MA 01420
> Tel.: 978-343-3390
> http://www.oneylaw.com
>
>
>
>

-- 
Carl J. Mosca


RE: Problem using NetBeans on Ubuntu

2019-09-20 Thread Walter Oney
From: Carl Mosca  
> How was the project generated?  I am assuming it is a NetBeans ant project 
> based on the default names used.

Yes.

> Have you done a build?  If so, is that successful?  Can you provide the build 
> output.

The build was uneventful. It's hard for me to get a file from my dual-booted 
Win10/Ubuntu box onto my Windows network. Someday I'll figure out how to do 
that.

The applet actually runs fine from the command line using the command ant 
suggested. So the issue about the class appears to be within Netbeans.

--
Walter C. Oney, Jr., Esq.
267 Pearl Hill Rd., Fitchburg, MA 01420
Tel.: 978-343-3390
http://www.oneylaw.com




-
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: Problem using NetBeans on Ubuntu

2019-09-20 Thread Carl Mosca
Hi Walter,

How was the project generated?  I am assuming it is a NetBeans ant project
based on the default names used.

Have you done a build?  If so, is that successful?  Can you provide the
build output.

Carl




On Fri, Sep 20, 2019 at 8:42 PM Walter Oney  wrote:

> I installed from netbeans.apache.org, and I'm now able to build Java and
> C++ programs (after installing the C++ plugin, that is). Thanks to the help
> I got on this list.
>
> Now for the next problem: the Java program I generate using Netbeans 11.1
> appears fine, but it won't run because it claims that there is no main
> class. In skeleton, the program reads:
>
> package javaapplication1;
> public class JavaApplication1 {
>  public static void main(String[] args){}
> }
>
> When I try to run this, I get a pop-up to the effect that
> javaapplication1.JavaApplication1 wasn't found in the project. Compare the
> result using NetBeans 8.2 with the 1.8 JDK under Win10, where I didn't have
> to tinker with anything to make it work.
>
> --
> Walter C. Oney, Jr., Esq.
> 267 Pearl Hill Rd., Fitchburg, MA 01420
> Tel.: 978-343-3390
> http://www.oneylaw.com
>
>
>
>
> -
> 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
>
>

-- 
Carl J. Mosca


RE: Problem using NetBeans on Ubuntu

2019-09-20 Thread Walter Oney
I installed from netbeans.apache.org, and I'm now able to build Java and C++ 
programs (after installing the C++ plugin, that is). Thanks to the help I got 
on this list.

Now for the next problem: the Java program I generate using Netbeans 11.1 
appears fine, but it won't run because it claims that there is no main class. 
In skeleton, the program reads:

package javaapplication1;
public class JavaApplication1 {
 public static void main(String[] args){}
}

When I try to run this, I get a pop-up to the effect that 
javaapplication1.JavaApplication1 wasn't found in the project. Compare the 
result using NetBeans 8.2 with the 1.8 JDK under Win10, where I didn't have to 
tinker with anything to make it work.

--
Walter C. Oney, Jr., Esq.
267 Pearl Hill Rd., Fitchburg, MA 01420
Tel.: 978-343-3390
http://www.oneylaw.com




-
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: Problem using NetBeans on Ubuntu

2019-09-20 Thread Walter Oney
Thank you!

-Original Message-
From: Jose Ch  
Sent: Friday, September 20, 2019 6:31 PM
To: Walter Oney 
Cc: Neil C Smith ; NetBeans Mailing List 

Subject: Re: Problem using NetBeans on Ubuntu

This is the download page for Apache NetBeans:

https://netbeans.apache.org/download/index.html

Is it the same page that you used a few days ago?


El vie., 20 sept. 2019 a las 17:23, Walter Oney (mailto:walter.o...@oneylaw.com> >) escribi贸:


From: Neil C Smith mailto:neilcsm...@apache.org> > 

>>  I installed NetBeans IDE 10.0, in which Netbeans is at 8.3 
Patch 2, 

> What exactly does that mean? Try 11.1. NetBeans 10.0 is no longer 
supported. There is a Snap available for Ubuntu as well as the installers and 
zip.

Somebody connected with Apache wrote the code that generated the About 
box in which 10.0 and 8.3 Patch 2 appear, so your guess is probably better than 
mine.

Anyhow, what is a "Snap" and why did I get version 10.0 of the IDE just 
a few days ago when I tried to install the current stable release?

--
Walter C. Oney, Jr., Esq.
267 Pearl Hill Rd., Fitchburg, MA 01420
Tel.: 978-343-3390
http://www.oneylaw.com




-
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





-
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: Problem using NetBeans on Ubuntu

2019-09-20 Thread Laszlo Kishalmi
If you've installed netbeans from package, please remove that. Ubuntu 
has an old probably broken package for NetBeans 10 in its repositories.


Snap is an universal Linux packaging format backed by Canonical. We 
release up-to date binaries there.


https://snapcraft.io/netbeans

Or if you type netbeans in the software center app in Ubuntu it will 
bring you up two versions: "Apache NetBeans" and "NetBeans". Uninstall 
the "NetBeans" and install the "Apache NetBeans" one.


Also You have the following possibilities when you install from Snap:

1. latest/stable: 11.1 at the moment. It will be updated to 11.2 as it
   would come out.
2. latest/edge: 11.1 at the moment but will be updated with 11.2 beta
   soon and will follow the release cycle.
3. 11.0/stable: 11.0 our current LTS release.

There is another option:

https://snapcraft.io/netbeans-dev

These are weekly updated builds from the master branch.

The netbeans and netbeans-dev Snap packages can be installed at the same 
time, so you can have a stable and a regularly updated experimental 
version of the IDE.



On 9/20/19 3:23 PM, Walter Oney wrote:

From: Neil C Smith 


I installed NetBeans IDE 10.0, in which Netbeans is at 8.3 Patch 2,

What exactly does that mean? Try 11.1. NetBeans 10.0 is no longer supported. 
There is a Snap available for Ubuntu as well as the installers and zip.

Somebody connected with Apache wrote the code that generated the About box in 
which 10.0 and 8.3 Patch 2 appear, so your guess is probably better than mine.

Anyhow, what is a "Snap" and why did I get version 10.0 of the IDE just a few 
days ago when I tried to install the current stable release?

--
Walter C. Oney, Jr., Esq.
267 Pearl Hill Rd., Fitchburg, MA 01420
Tel.: 978-343-3390
http://www.oneylaw.com




-
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: Problem using NetBeans on Ubuntu

2019-09-20 Thread Jose Ch
This is the download page for Apache NetBeans:

https://netbeans.apache.org/download/index.html

Is it the same page that you used a few days ago?

El vie., 20 sept. 2019 a las 17:23, Walter Oney ()
escribi贸:

> From: Neil C Smith 
>
> >>  I installed NetBeans IDE 10.0, in which Netbeans is at 8.3 Patch
> 2,
>
> > What exactly does that mean? Try 11.1. NetBeans 10.0 is no longer
> supported. There is a Snap available for Ubuntu as well as the installers
> and zip.
>
> Somebody connected with Apache wrote the code that generated the About box
> in which 10.0 and 8.3 Patch 2 appear, so your guess is probably better than
> mine.
>
> Anyhow, what is a "Snap" and why did I get version 10.0 of the IDE just a
> few days ago when I tried to install the current stable release?
>
> --
> Walter C. Oney, Jr., Esq.
> 267 Pearl Hill Rd., Fitchburg, MA 01420
> Tel.: 978-343-3390
> http://www.oneylaw.com
>
>
>
>
> -
> 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: Problem using NetBeans on Ubuntu

2019-09-20 Thread Walter Oney
From: Neil C Smith  

>>  I installed NetBeans IDE 10.0, in which Netbeans is at 8.3 Patch 2, 

> What exactly does that mean? Try 11.1. NetBeans 10.0 is no longer supported. 
> There is a Snap available for Ubuntu as well as the installers and zip.

Somebody connected with Apache wrote the code that generated the About box in 
which 10.0 and 8.3 Patch 2 appear, so your guess is probably better than mine.

Anyhow, what is a "Snap" and why did I get version 10.0 of the IDE just a few 
days ago when I tried to install the current stable release?

--
Walter C. Oney, Jr., Esq.
267 Pearl Hill Rd., Fitchburg, MA 01420
Tel.: 978-343-3390
http://www.oneylaw.com




-
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: Problem using NetBeans on Ubuntu

2019-09-20 Thread Neil C Smith
On Fri, 20 Sep 2019, 22:36 Walter Oney,  wrote:

> I installed NetBeans IDE 10.0, in which Netbeans is at 8.3 Patch 2,
>
What exactly does that mean? Try 11.1. NetBeans 10.0 is no longer
supported. There is a Snap available for Ubuntu as well as the installers
and zip.

Best wishes,

Neil


Problem using NetBeans on Ubuntu

2019-09-20 Thread Walter Oney
I installed NetBeans IDE 10.0, in which Netbeans is at 8.3 Patch 2,
alongside the JDK v 11.0.4 on Ubuntu 5.0.0-27. Create a new Java
application, say HelloWorld. The generated app will neither build nor run.


The generated source program (HelloWorld.java) contains just this (not
counting comments):

package newhello;
public class HelloWorld {
 public static void main(String[] args) {
 }
}
 
The initial package statement is flagged because the IDE says it can't
access java.lang. The Projects pane lists "JDK 11 (Default)" under the
Libraries but nothing underneath that folder. The String declaration is
flagged as "can't find symbol". Alt+Enter offers no suggestions for how to
fix either problem.
 
--
Walter C. Oney, Jr., Esq.
267 Pearl Hill Rd., Fitchburg, MA 01420
Tel.: 978-343-3390
  http://www.oneylaw.com
 


Re聽: Re: Error Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory

2019-09-20 Thread Jerome Lelasseux
Just to understand, what is the potential impact of this warning on the 
application ?


Envoy茅 depuis Yahoo聽Mail pour iPhone


Le vendredi, septembre 20, 2019, 4:35 PM, Neil C Smith  
a 茅crit聽:

On Fri, 20 Sep 2019 at 15:26, Jerome Lelasseux
 wrote:
> When I start the launcher of my platform app from the command line I notice 
> the error below, although my program runs fine.
>
> $ ./JJazzLab64.exe
> WARNING: An illegal reflective access operation has occurred
...
> On Google a lot of people experienced this error on Linux because of problems 
> between Netbeans 8 and JDK>8. Solution for them was to use NB8+JDK8.

It's not an error, just a warning.聽 Are you using your own
configuration file in etc/jjazzlab.conf ?聽 You can add the relevant
--add-opens etc.聽 The IDE has similar at
https://github.com/apache/netbeans/blob/master/nb/ide.launcher/netbeans.conf#L65
 Or you can ignore it for now.

Actually, NetBeans itself still has a similar warning.

And we should probably update the RCP default conf file?

Best wishes,

Neil





Java project now needs classpaths to run it

2019-09-20 Thread Peter Toye
Having just moved from NB version 8 to 11.1 there seems to have been a change 
in the command line needed to run a project.

The OS is Windows 7 Home.

The project has two external libraries: one in the Java modules in the NetBeans 
11 directory, and one of my own. In version 8 it was possible to run the 
program with a command line like
 
   java -jar program.jar
   
but this no longer works, and I have to put in a command line like

  java -cp library paths program.jar
  
which is a pain, as I can't automate that into a batch file.

Is there any way of getting the libraries (or references to them) included in 
the jar file? The properties|Libraries|Run tab shows that the classpaths for 
Compiling Sources and Compiled Sources are included (at least as I understand 
the symbols on that page). Does the "Build Dependencies" tickbox have any 
significance here? The lack of a help file means that I can't find out what 
most of the window items actually mean.

As a rider to this question, there seems to be two small bugs in the Ant script 
which produces the command line for running the project :

To run this application from the command line without Ant, try:

C:\Program Files\Java\jdk-12.0.1/bin/java -cp C:\Program Files\NetBeans 
11\netbeans\java\modules\ext\AbsoluteLayout.jar;D:\Peter\Netbeans\Partitions511\dist\Partitions511.jar;D:\Peter\Netbeans\KillerSudoku11\dist\KillerSudoku11.jar
 com.ptoye.TestKiller.TestKiller


1) In Windows, the Java executable and Netbeans are in the "Program Files" or 
"Program Files (x86)" folder. This should have quotes round it to run 
successfully.

2) In NB 11.1, the output mentions "Netbeans 11" - Shouldn't this be C:\Program 
Files\NetBeans-11.1?
 
Regards,

Peter
mailto:netbe...@ptoye.com
www.ptoye.com

Re: Error Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory

2019-09-20 Thread Neil C Smith
On Fri, 20 Sep 2019 at 15:26, Jerome Lelasseux
 wrote:
> When I start the launcher of my platform app from the command line I notice 
> the error below, although my program runs fine.
>
> $ ./JJazzLab64.exe
> WARNING: An illegal reflective access operation has occurred
...
> On Google a lot of people experienced this error on Linux because of problems 
> between Netbeans 8 and JDK>8. Solution for them was to use NB8+JDK8.

It's not an error, just a warning.  Are you using your own
configuration file in etc/jjazzlab.conf ?  You can add the relevant
--add-opens etc.  The IDE has similar at
https://github.com/apache/netbeans/blob/master/nb/ide.launcher/netbeans.conf#L65
 Or you can ignore it for now.

Actually, NetBeans itself still has a similar warning.

And we should probably update the RCP default conf file?

Best wishes,

Neil

-
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 11.1 + Maven + Lombok

2019-09-20 Thread Thomas Kellerer
> Are you certain that the project is explicitly using that version? (i.e. you 
> see it in your projects dependency tree inside Netbeans)

Yes I am certain. The dependency XML was copied directly from the pom.xml

Ian Utley schrieb am 20.09.2019 um 14:55:
> On Fri, Sep 20, 2019 at 12:12 PM Thomas Kellerer  > wrote:
>
> We are using the same Lombok version: 1.18.4
>
> 聽 聽 聽 聽 
> 聽 聽 聽 聽 聽 聽 org.projectlombok
> 聽 聽 聽 聽 聽 聽 lombok
> 聽 聽 聽 聽 聽 聽 1.18.4
> 聽 聽 聽 聽 聽 聽 true
> 聽 聽 聽 聽 
>
> Maven Compiler version is: 3.5.1
>
> The whole project is set to use Java 1.8


-
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



Error Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory

2019-09-20 Thread Jerome Lelasseux
Hello,
When I start the launcher of my platform app from the command line I notice the 
error below, although my program runs fine.
$ ./JJazzLab64.exeWARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory 
(file:/C:/Users/ll/Desktop/JJazzLab/platform/lib/boot.jar) to field 
java.net.URL.handler
WARNING: Please consider reporting this to the maintainers of 
org.netbeans.ProxyURLStreamHandlerFactory
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release

On Google a lot of people experienced this error on Linux because of problems 
between Netbeans 8 and JDK>8. Solution for them was to use NB8+JDK8.

In my case I'm using Win10 with NB11, and both NB11 and my application use 
AdoptOpenJDK11.0.4. Any idea ?



Re: NetBeans 11.1 + Maven + Lombok

2019-09-20 Thread Thomas Kellerer
I have already tried that without luck.

Rik Scarborough schrieb am 20.09.2019 um 15:06:
> I have this happen every once in a while.  I find that deleting the
> Cache directory (~/AppData/Local/NetBeans/Cache/11.1 on Windows) and
> letting it rebuild fixes it for a while.
>
> ~Rik
> Believe in good
>
> On Fri, Sep 20, 2019, 6:12 AM Thomas Kellerer  > wrote:
>
> We are using the same Lombok version: 1.18.4
>
> 聽 聽 聽 聽 
> 聽 聽 聽 聽 聽 聽 org.projectlombok
> 聽 聽 聽 聽 聽 聽 lombok
> 聽 聽 聽 聽 聽 聽 1.18.4
> 聽 聽 聽 聽 聽 聽 true
> 聽 聽 聽 聽 
>
> Maven Compiler version is: 3.5.1
>
> The whole project is set to use Java 1.8
>
>
> John Mc schrieb am 20.09.2019 um 12:58:
> > Thomas,
> >
> > What version of Lombok are you using?聽 I have it working fine with 
> Maven and NetBeans 11.1 but I might be using a slightly older version of 
> Lombok(1.18.4).
> >
> > Regards
> >
> > John
> >
> >聽 聽 聽A 20-09-2019 11:25, Thomas Kellerer escrigu茅:
> >
> >>聽 聽 聽Hello,
> >>
> >>聽 聽 聽I need to open and use a Maven project in NetBeans 11 that heavily 
> uses Lombok.
> >>聽 聽 聽All other team members are using InteliJ, where the current setup 
> works without problems.
> >>
> >>聽 聽 聽But when I open that Maven project in NetBeans 11.1 half of the 
> source code is marked with red error flags, because the generated getters and 
> setters are not recognized by the NetBeans editor.
> >>
> >>聽 聽 聽Clean & Build obviously works because Lombok is included in the 
> POM, but the NetBeans editor doesn't know that.
> >>
> >>聽 聽 聽I found various hints in the internet regarding the use of Lombok 
> with a NetBeans Ant project ("Enable Annotation processing in Editor")
> >>聽 聽 聽But those obviously don't apply to a Maven project
> >>
> >>聽 聽 聽Is there anything I can do, so that I can properly work with that 
> project in NetBeans?
> >>
> >>聽 聽 聽Regards
> >>聽 聽 聽Thomas

-
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 11.1 + Maven + Lombok

2019-09-20 Thread Rik Scarborough
I have this happen every once in a while.  I find that deleting the Cache
directory (~/AppData/Local/NetBeans/Cache/11.1 on Windows) and letting it
rebuild fixes it for a while.

~Rik
Believe in good

On Fri, Sep 20, 2019, 6:12 AM Thomas Kellerer  wrote:

> We are using the same Lombok version: 1.18.4
>
> 
> org.projectlombok
> lombok
> 1.18.4
> true
> 
>
> Maven Compiler version is: 3.5.1
>
> The whole project is set to use Java 1.8
>
>
> John Mc schrieb am 20.09.2019 um 12:58:
> > Thomas,
> >
> > What version of Lombok are you using?  I have it working fine with Maven
> and NetBeans 11.1 but I might be using a slightly older version of
> Lombok(1.18.4).
> >
> > Regards
> >
> > John
> >
> > A 20-09-2019 11:25, Thomas Kellerer escrigu茅:
> >
> >> Hello,
> >>
> >> I need to open and use a Maven project in NetBeans 11 that heavily
> uses Lombok.
> >> All other team members are using InteliJ, where the current setup
> works without problems.
> >>
> >> But when I open that Maven project in NetBeans 11.1 half of the
> source code is marked with red error flags, because the generated getters
> and setters are not recognized by the NetBeans editor.
> >>
> >> Clean & Build obviously works because Lombok is included in the
> POM, but the NetBeans editor doesn't know that.
> >>
> >> I found various hints in the internet regarding the use of Lombok
> with a NetBeans Ant project ("Enable Annotation processing in Editor")
> >> But those obviously don't apply to a Maven project
> >>
> >> Is there anything I can do, so that I can properly work with that
> project in NetBeans?
> >>
> >> Regards
> >> Thomas
>
> -
> 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 11.1 + Maven + Lombok

2019-09-20 Thread Ian Utley
I'm also using Netbeans 11.1 and lombok 1.16.22 just fine. Are you certain
that the project is explicitly using that version? (i.e. you see it in your
projects dependency tree inside Netbeans)

On Fri, Sep 20, 2019 at 12:12 PM Thomas Kellerer  wrote:

> We are using the same Lombok version: 1.18.4
>
> 
> org.projectlombok
> lombok
> 1.18.4
> true
> 
>
> Maven Compiler version is: 3.5.1
>
> The whole project is set to use Java 1.8
>
>
> John Mc schrieb am 20.09.2019 um 12:58:
> > Thomas,
> >
> > What version of Lombok are you using?  I have it working fine with Maven
> and NetBeans 11.1 but I might be using a slightly older version of
> Lombok(1.18.4).
> >
> > Regards
> >
> > John
> >
> > A 20-09-2019 11:25, Thomas Kellerer escrigu茅:
> >
> >> Hello,
> >>
> >> I need to open and use a Maven project in NetBeans 11 that heavily
> uses Lombok.
> >> All other team members are using InteliJ, where the current setup
> works without problems.
> >>
> >> But when I open that Maven project in NetBeans 11.1 half of the
> source code is marked with red error flags, because the generated getters
> and setters are not recognized by the NetBeans editor.
> >>
> >> Clean & Build obviously works because Lombok is included in the
> POM, but the NetBeans editor doesn't know that.
> >>
> >> I found various hints in the internet regarding the use of Lombok
> with a NetBeans Ant project ("Enable Annotation processing in Editor")
> >> But those obviously don't apply to a Maven project
> >>
> >> Is there anything I can do, so that I can properly work with that
> project in NetBeans?
> >>
> >> Regards
> >> Thomas
>
> -
> 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 11.1 + Maven + Lombok

2019-09-20 Thread Thomas Kellerer
We are using the same Lombok version: 1.18.4


org.projectlombok
lombok
1.18.4
true


Maven Compiler version is: 3.5.1

The whole project is set to use Java 1.8


John Mc schrieb am 20.09.2019 um 12:58:
> Thomas,
>
> What version of Lombok are you using?聽 I have it working fine with Maven and 
> NetBeans 11.1 but I might be using a slightly older version of Lombok(1.18.4).
>
> Regards
>
> John
>
> A 20-09-2019 11:25, Thomas Kellerer escrigu茅:
>
>> Hello,
>>
>> I need to open and use a Maven project in NetBeans 11 that heavily uses 
>> Lombok.
>> All other team members are using InteliJ, where the current setup works 
>> without problems.
>>
>> But when I open that Maven project in NetBeans 11.1 half of the source 
>> code is marked with red error flags, because the generated getters and 
>> setters are not recognized by the NetBeans editor.
>>
>> Clean & Build obviously works because Lombok is included in the POM, but 
>> the NetBeans editor doesn't know that.
>>
>> I found various hints in the internet regarding the use of Lombok with a 
>> NetBeans Ant project ("Enable Annotation processing in Editor")
>> But those obviously don't apply to a Maven project
>>
>> Is there anything I can do, so that I can properly work with that 
>> project in NetBeans?
>>
>> Regards
>> Thomas

-
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 11.1 + Maven + Lombok

2019-09-20 Thread John Mc
Thomas,

What version of Lombok are you using?  I have it working fine with Maven
and NetBeans 11.1 but I might be using a slightly older version of
Lombok(1.18.4).

Regards

John

On Fri, 20 Sep 2019 at 11:11, Sime贸 Reig 
wrote:

> I don't know if you still need it, we are using eclipse because Netbeans
> does not support JSF2.3 yet
>
> https://projectlombok.org/setup/netbeans
>
> Regards
> Sime贸 Reig
>
>
> A 20-09-2019 11:25, Thomas Kellerer escrigu茅:
>
> Hello,
>
> I need to open and use a Maven project in NetBeans 11 that heavily uses
> Lombok.
> All other team members are using InteliJ, where the current setup works
> without problems.
>
> But when I open that Maven project in NetBeans 11.1 half of the source
> code is marked with red error flags, because the generated getters and
> setters are not recognized by the NetBeans editor.
>
> Clean & Build obviously works because Lombok is included in the POM, but
> the NetBeans editor doesn't know that.
>
> I found various hints in the internet regarding the use of Lombok with a
> NetBeans Ant project ("Enable Annotation processing in Editor")
> But those obviously don't apply to a Maven project
>
> Is there anything I can do, so that I can properly work with that project
> in NetBeans?
>
> Regards
> Thomas
>
>
>
> -
> 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 11.1 + Maven + Lombok

2019-09-20 Thread Sime贸 Reig
I don't know if you still need it, we are using eclipse because Netbeans
does not support JSF2.3 yet

https://projectlombok.org/setup/netbeans 

Regards
Sime贸 Reig 

A 20-09-2019 11:25, Thomas Kellerer escrigu茅:

> Hello,
> 
> I need to open and use a Maven project in NetBeans 11 that heavily uses 
> Lombok.
> All other team members are using InteliJ, where the current setup works 
> without problems.
> 
> But when I open that Maven project in NetBeans 11.1 half of the source code 
> is marked with red error flags, because the generated getters and setters are 
> not recognized by the NetBeans editor.
> 
> Clean & Build obviously works because Lombok is included in the POM, but the 
> NetBeans editor doesn't know that.
> 
> I found various hints in the internet regarding the use of Lombok with a 
> NetBeans Ant project ("Enable Annotation processing in Editor")
> But those obviously don't apply to a Maven project
> 
> Is there anything I can do, so that I can properly work with that project in 
> NetBeans?
> 
> Regards
> Thomas
> 
> -
> 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 11.1 + Maven + Lombok

2019-09-20 Thread David Heffelfinger
Thomas,

I know this isn't terribly helpful, but I've worked with Maven projects
using Lombok with NetBeans and everything "just works". Even ctrl+clicking
on a generated getter invocation navigates to the field in the Lombok
annotated class (since the getter isn't there).

There may be something in your environment that is preventing NetBeans from
finding the generated bytecode.

David

On Fri, Sep 20, 2019 at 5:25 AM Thomas Kellerer  wrote:

> Hello,
>
> I need to open and use a Maven project in NetBeans 11 that heavily uses
> Lombok.
> All other team members are using InteliJ, where the current setup works
> without problems.
>
> But when I open that Maven project in NetBeans 11.1 half of the source
> code is marked with red error flags, because the generated getters and
> setters are not recognized by the NetBeans editor.
>
> Clean & Build obviously works because Lombok is included in the POM, but
> the NetBeans editor doesn't know that.
>
> I found various hints in the internet regarding the use of Lombok with a
> NetBeans Ant project ("Enable Annotation processing in Editor")
> But those obviously don't apply to a Maven project
>
> Is there anything I can do, so that I can properly work with that project
> in NetBeans?
>
> Regards
> Thomas
>
>
>
> -
> 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
>
>

-- 
http://ensode.net - A Guide to Java, Linux and Other Technology Topics
My Books: https://www.packtpub.com/books/info/authors/david-r-heffelfinger

My Video Training:
http://www.packtpub.com/java-ee-development-with-netbeans-7/video
Follow me on Twitter: https://twitter.com/ensode


NetBeans 11.1 + Maven + Lombok

2019-09-20 Thread Thomas Kellerer
Hello,

I need to open and use a Maven project in NetBeans 11 that heavily uses Lombok.
All other team members are using InteliJ, where the current setup works without 
problems.

But when I open that Maven project in NetBeans 11.1 half of the source code is 
marked with red error flags, because the generated getters and setters are not 
recognized by the NetBeans editor.

Clean & Build obviously works because Lombok is included in the POM, but the 
NetBeans editor doesn't know that.

I found various hints in the internet regarding the use of Lombok with a 
NetBeans Ant project ("Enable Annotation processing in Editor")
But those obviously don't apply to a Maven project

Is there anything I can do, so that I can properly work with that project in 
NetBeans?

Regards
Thomas



-
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