CA survey for Beta 3 or 4?

2020-04-28 Thread Jiří Kovalský
Hi folks & Eric, according to the NetCAT plan [1] we should have started the Community Acceptance (CA) survey yesterday. This research helps us to gather feedback on the latest promoted build from the whole NetBeans community and not only NetCAT participants before the final release

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Geertjan Wielenga
You're not going to find me arguing against good support for Java 8. However, as stated above, we anticipate that nb-javac will not be ready in time for the 12.0 release. Gj On Tue, Apr 28, 2020 at 4:46 PM Eirik Bakke wrote: > > A question is what about JDK 8. My bold suggestion would be that

Re: CA survey for Beta 3 or 4?

2020-04-28 Thread Geertjan Wielenga
I think best to wait for Beta 4. That will basically be our release candidate. Gj On Tue, 28 Apr 2020 at 14:40, Jiří Kovalský wrote: > Hi folks & Eric, > > according to the NetCAT plan [1] we should have started the > Community Acceptance (CA) survey yesterday. This research helps us to >

Re: CA survey for Beta 3 or 4?

2020-04-28 Thread Jiří Kovalský
In such case let's include https://issues.apache.org/jira/browse/NETBEANS-4071 which is so far the only blocker identified by NetCAT team. Eric? -Jirka Dne 28. 04. 20 v 14:44 Geertjan Wielenga napsal(a): I think best to wait for Beta 4. That will basically be our release candidate. Gj On

RE: nb-javac and the upcoming 12.0

2020-04-28 Thread Eirik Bakke
> A question is what about JDK 8. My bold suggestion would be that we > explicitly tell our users that they can’t use our Java Editor if they’re > running NetBeans on JDK 8. I think it's too early to drop first-class support for Java 8, for the same reasons people listed in the earlier "Pull

RE: nb-javac and the upcoming 12.0

2020-04-28 Thread Eirik Bakke
No, not at all! I just confused the "what JDK the IDE is running on" vs. "what JDK the project is compiled with" when interpreting your proposed restriction. Ideally, a warning should be shown to a user if they try to use a JDK 8 project while running the IDE on a JDK that does not support

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Geertjan Wielenga
Well, it’s specifically about editing Java source files, in a project that uses any JDK, when NetBeans itself is running on JDK 8. Under these conditions, nb-javac is a requirement — specifically when editing Java source files, i.e., when using the Java editor. You can still build, test, run, etc.

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Geertjan Wielenga
Yes, the Java editor uses the JDK 14 javac if it runs on that JDK — even if the build of a particular project uses JDK 8 or anything else. Gj On Tue, 28 Apr 2020 at 18:25, Scott Palmer wrote: > Just my 2 cents... I am all for NB having great first-class support for > development of projects

RE: nb-javac and the upcoming 12.0

2020-04-28 Thread Eirik Bakke
Sure. Though I think the user would be surprised if editing/code-completion just silently doesn't work, when building/running does. There needs to be a message of some sort, recommending running the IDE on a later JDK. Otherwise we risk having users go "Well, I tried NetBeans once, and it

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Geertjan Wielenga
Hopefully that’s not sarcasm. :-) Gj On Tue, 28 Apr 2020 at 18:43, Eirik Bakke wrote: > Oh, now I get it. So you can still compile projects with JDK 8 and use the > editor, but you must run the IDE itself on JDK 14, and with no nb-javac (to > make JDK 8 projects work). > > That actually seems

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Geertjan Wielenga
Absolutely true. But at this point a new user is unlikely to get started by downloading JDK 8. Gj On Tue, 28 Apr 2020 at 19:50, Eirik Bakke wrote: > Sure. Though I think the user would be surprised if > editing/code-completion just silently doesn't work, when building/running > does. There

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Scott Palmer
Just my 2 cents... I am all for NB having great first-class support for development of projects that use Java 8, but I don’t care if I’m forced to run NB itself with JDK-14. I realize that some have projects based on the NB platform that they want to run on Java 8. I think if you are in that

RE: nb-javac and the upcoming 12.0

2020-04-28 Thread Eirik Bakke
Oh, now I get it. So you can still compile projects with JDK 8 and use the editor, but you must run the IDE itself on JDK 14, and with no nb-javac (to make JDK 8 projects work). That actually seems very reasonable! -- Eirik -Original Message- From: Geertjan Wielenga Sent: Tuesday,

RE: nb-javac and the upcoming 12.0

2020-04-28 Thread Eirik Bakke
> But there is the UI for this, correct? I mean, when one activates the Java > support (in the default build), the UI will even refuse to activate it on JDK > 8 without installing nb-javac. That's good. Sounds like there are plenty of barriers against users accidentally ending up in a

? about C/C++ module

2020-04-28 Thread Brad Walker
I'm starting to wade into helping get the C/C++ module up and running on Apache Netbeans. As a result, I have quick project question for the more "senior" folks on this group. Or anyone else who cares to comment. 8-) I would like to propose that we drop support for the SunStudio tools (i.e.

Re: ? about C/C++ module

2020-04-28 Thread Ernie Rael
On 4/28/2020 3:58 PM, Brad Walker wrote: I'm starting to wade into helping get the C/C++ module up and running on Apache Netbeans. As a result, I have quick project question for the more "senior" folks on this group. Or anyone else who cares to comment. 8-) I would like to propose that we drop

Building NetBeans on Mac

2020-04-28 Thread Ryan Cuprak
Hi, I am trying to build NetBeans on the Mac and have been running into an odd compiler error (bottom of email). I am running with the following: Graalvm 11 (Enterprise) jenv managing Java versions Command line: ant -Dcluster.config=basic -Dpermit.jdk9.builds=true I build the exact same

Re: Future of nb-javac and vanilla javac

2020-04-28 Thread Neil C Smith
On Tue, 28 Apr 2020 at 10:06, Jean-Marc Borer wrote: > Sure it would be good to code without it, but it seems that using the plain > vanilla javac leads to some serious caveats according to > https://cwiki.apache.org/confluence/display/NETBEANS/Java+Editor+Using+JDK+javac That page is quite old

nb-javac and the upcoming 12.0

2020-04-28 Thread Geertjan Wielenga
Hi all, We’re getting close to the 12.0 release and nb-javac won’t be available at the time of release. What nb-javac provides is detailed elsewhere but in summary it is a fork of the javac finetuned to the Java Editor in NetBeans. It can’t be donated to Apache NetBeans because it is a javac

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Benjamin Graf
Hi all together, what about code building. Netbeans is still build on JDK8. Some modules need nb-javac for compilation and tests to work even if code is build with JDK8 because code does use JDK9+ API. I think most time API from javax.lang.model. You can increase min build JDK but it might not

Re: Future of nb-javac and vanilla javac

2020-04-28 Thread Jean-Marc Borer
I have the feeling all the confusion about the nb-javac is due to fact that most of the information is scattered among different discussions and (old?) wiki pages. As it is a hot topic, it would deserve a single and up-to-date location about the evolution, don't you think? Best wishes,

Re: Future of nb-javac and vanilla javac

2020-04-28 Thread Geertjan Wielenga
It’s changing all the time though. The enhancements that nb-javac brings are continually being reworked into our GitHub via interaction with vanilla javac. Gj On Tue, 28 Apr 2020 at 12:22, Jean-Marc Borer wrote: > I have the feeling all the confusion about the nb-javac is due to fact > that

Re: Future of nb-javac and vanilla javac

2020-04-28 Thread Jean-Marc Borer
IMHO this justifies even more to group the information about nb-javac/javac in single place, no? JMB On Tue, Apr 28, 2020 at 12:25 PM Geertjan Wielenga wrote: > It’s changing all the time though. The enhancements that nb-javac brings > are continually being reworked into our GitHub via

Netbeans Confluence

2020-04-28 Thread Jean-Marc Borer
Hi fellows, I wonder how the Netbeans confluence is or shall be used by our community. https://cwiki.apache.org/confluence/display/NETBEANS/Apache+NetBeans Moreover, I don't find (or could not find) any reference to it, either on GitHub or on the official site netbeans.apache.org. Am I missing

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Tomas Poledny
Isn't it possible to use old versions nb-javac (the last supported) with Java 8 (for example without support records and etc.) and otherwise (with newer version of java) use vanilla javac? On Tue, Apr 28, 2020 at 10:39 AM Jean-Marc Borer wrote: > Now for my understanding: if you run Netbeans on

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Jean-Marc Borer
Now for my understanding: if you run Netbeans on JDK9+, but your projects are still using/running on JDK8, will you still need nb-javac for Java editing? Cheers, JM On Tue, Apr 28, 2020 at 8:59 AM Benjamin Graf wrote: > Hi all together, > > what about code building. Netbeans is still build on

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Neil C Smith
Hi, Thanks for kicking this off! :-) On Tue, 28 Apr 2020 at 07:47, Geertjan Wielenga wrote: > We’re getting close to the 12.0 release and nb-javac won’t be available at > the time of release. For clarity, we have the older nb-javac with support for JDK 13 that we've had since 11.2 updates.

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Jean-Marc Borer
I some answers here: https://blogs.apache.org/netbeans/entry/what-s-nb-javac-in But still, according to the blog entry, if you run NB on JDK9+ and use the provided javac, you don't get all the benefits of nb-javac. I doesn't say neither what those benefits are nor if you would benefit from them

Re: Netbeans Confluence

2020-04-28 Thread Neil C Smith
On Tue, 28 Apr 2020 at 09:44, Jean-Marc Borer wrote: > I wonder how the Netbeans confluence is or shall be used by our community. > https://cwiki.apache.org/confluence/display/NETBEANS/Apache+NetBeans > > Moreover, I don't find (or could not find) any reference to it, either on > GitHub or on the

Re: Future of nb-javac and vanilla javac

2020-04-28 Thread Jean-Marc Borer
Hi Geertjan, Sure it would be good to code without it, but it seems that using the plain vanilla javac leads to some serious caveats according to https://cwiki.apache.org/confluence/display/NETBEANS/Java+Editor+Using+JDK+javac So we can't reasonabily recommend to people not using the nb-javac,

Re: Future of nb-javac and vanilla javac

2020-04-28 Thread Geertjan Wielenga
Another way to look at it is via a search in our PRs, when you search on javac, or similar, you should find all of them. Gj On Tue, 28 Apr 2020 at 13:35, Geertjan Wielenga wrote: > > > > Sure, if you can put it together, I’ll be happy to contribute to it. > > Gj > > On Tue, 28 Apr 2020 at

Re: Future of nb-javac and vanilla javac

2020-04-28 Thread Geertjan Wielenga
Sure, if you can put it together, I’ll be happy to contribute to it. Gj On Tue, 28 Apr 2020 at 13:13, Jean-Marc Borer wrote: > IMHO this justifies even more to group the information about > nb-javac/javac in single place, no? > > JMB > > On Tue, Apr 28, 2020 at 12:25 PM Geertjan Wielenga >