Re: Aligning implementation and specification versions?

2019-10-02 Thread Tim Boudreau
+1 - I recently found that to have a preview for a formatter requires a friend dependency, which is ridiculous given that the API has not changed in many years. -Tim On Wed, Sep 25, 2019 at 7:29 AM Neil C Smith wrote: > On Sun, 25 Aug 2019 at 19:06, Jesse Glick wrote: > > A long time ago I

Re: Building NetBeans 11.1 from source fails with compile errors

2019-10-02 Thread mlist
OK, so I started from scratch and ran as you said: export JAVA_HOME=/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/ echo 'nbjdk.home=/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0' > ~/user.build.properties ant -Dcluster.config=full The build started but failed again after a while. Here is a shorter output

Re: Building NetBeans 11.1 from source fails with compile errors

2019-10-02 Thread Matthias Bläsing
Hi, Am Mittwoch, den 02.10.2019, 23:59 +0300 schrieb Sahin gülci: > error: Source option 6 is no longer supported. Use 7 or later. > error: Target option 6 is no longer supported. Use 7 or later. you try to build with a JDK, that does not support Source version 6 anymore. That would be JDK 12

Re: Building NetBeans 11.1 from source fails with compile errors

2019-10-02 Thread Sahin gülci
Hi Matthias, I added user.build.properties for jdk 8, now I have error like this --> https://gist.github.com/sgulci/cad916b9f0a716978bffea028c79496c Basically says this : Cannot translate according to [file:/home/sahin/NetBeansProjects/netbeans/platform/openide.filesystems/module-auto-deps.xml,

Re: Building NetBeans 11.1 from source fails with compile errors

2019-10-02 Thread Matthias Bläsing
Hi, Am Mittwoch, den 02.10.2019, 23:40 +0300 schrieb mlist: > On Wed, 02 Oct 2019 22:12:42 +0200 Matthias Bläsing wrote: > > > you are building with JDK11 against an JDK8 by setting nbjdk.home. I > > fixed this for me by switching to JDK8 as the build JDK. > > > > My .nbbuild.properties has

Re: Building NetBeans 11.1 from source fails with compile errors

2019-10-02 Thread mlist
On Wed, 02 Oct 2019 22:12:42 +0200 Matthias Bläsing wrote: > you are building with JDK11 against an JDK8 by setting nbjdk.home. I > fixed this for me by switching to JDK8 as the build JDK. > > My .nbbuild.properties has this entry: Is that the same as src/nbbuild/user.build.properties or (if

Re: Building NetBeans 11.1 from source fails with compile errors

2019-10-02 Thread Matthias Bläsing
Hi, Am Mittwoch, den 02.10.2019, 23:21 +0300 schrieb Sahin gülci: > Hi All, > > I can't build Netbeans from master branch either, my error logs -> > https://gist.github.com/sgulci/cad916b9f0a716978bffea028c79496c > On attachment, my Netbeans Build System picture shows error on my > Netbeans

Re: Building NetBeans 11.1 from source fails with compile errors

2019-10-02 Thread Sahin gülci
Hi All, I can't build Netbeans from master branch either, my error logs -> https://gist.github.com/sgulci/cad916b9f0a716978bffea028c79496c On attachment, my Netbeans Build System picture shows error on my Netbeans (this is wiki that I tried

Re: Building NetBeans 11.1 from source fails with compile errors

2019-10-02 Thread Matthias Bläsing
Hi, Am Mittwoch, den 02.10.2019, 23:06 +0300 schrieb mlist: > > I am trying to build NetBeans 11.1 from source code on openSUSE Leap > 15. I have read the instructions and the README.md but unfortunately > I > am getting errors which I don't know how to fix as I am not a Java > developer (my

Building NetBeans 11.1 from source fails with compile errors

2019-10-02 Thread mlist
Hi, I am trying to build NetBeans 11.1 from source code on openSUSE Leap 15. I have read the instructions and the README.md but unfortunately I am getting errors which I don't know how to fix as I am not a Java developer (my intention is to use NetBeans IDE for PHP, CSS, JavaScript). Here is the

Re: Handling nb-javac in 11.2

2019-10-02 Thread Geertjan Wielenga
Perfect. Gj On Wed, 2 Oct 2019 at 20:15, Neil C Smith wrote: > Hi, > > OK, the PR is merged in and synced across to the release branch. > However, a few other glitches to sort on Jenkins and having to wait a > long time to be scheduled, so looking like beta2 will be tomorrow at > least. > >

Re: Handling nb-javac in 11.2

2019-10-02 Thread Neil C Smith
Hi, OK, the PR is merged in and synced across to the release branch. However, a few other glitches to sort on Jenkins and having to wait a long time to be scheduled, so looking like beta2 will be tomorrow at least. Best wishes, Neil On Wed, 2 Oct 2019 at 12:02, Neil C Smith wrote: > > On Wed,

Re: NetBeans 11.2-beta1: broken pom.xml files editing

2019-10-02 Thread Laszlo Kishalmi
You can remove the ergonomic cluster from etc/netbeans.clusters, that make the other clusters activated by default. On 10/2/19 2:19 AM, Alessandro wrote: Solved, my mistake. The second NetBeans instance had unactivated features, once I activated the JavaSE feature all went to normal. Is

Module build fails in IDE but works on command line

2019-10-02 Thread Siddhesh Rane
I have been trying to compile the ide/utilities module from within Netbeans 11.1 but it fails with an error related to api signature failing (error pasted below). The same module compiles fine if I call ant build on the command line in the module directory. In both the cases I have used the

Re: Handling nb-javac in 11.2

2019-10-02 Thread Neil C Smith
On Wed, 2 Oct 2019 at 10:53, Jan Lahoda wrote: > > Hi, talking this through with Jiří, the proposal is to go with the internal > NBMs (i.e. my PR) for beta 2. Jiří will ask if NetCat could test it, and if > there are problems, we will know and revert back to a separate update center > (i.e.

Re: Handling nb-javac in 11.2

2019-10-02 Thread Geertjan Wielenga
I like it! Gj On Wed, 2 Oct 2019 at 11:53, Jan Lahoda wrote: > Hi, talking this through with Jiří, the proposal is to go with the > internal NBMs (i.e. my PR) for beta 2. Jiří will ask if NetCat could test > it, and if there are problems, we will know and revert back to a separate > update

[VOTE] Release Apache NetBeans utilities harness version 11.1

2019-10-02 Thread Eric Barboni
Dear members of Apache NetBeans community. I want to call a vote on releasing Apache NetBeans utilities harness version 11.1 This is a library built using maven artefacts Apache NetBeans RELEASE111 (making version jump to match) to make tools for nbm-maven-plugin Contains almost no sources by

Re: Handling nb-javac in 11.2

2019-10-02 Thread Jan Lahoda
Hi, talking this through with Jiří, the proposal is to go with the internal NBMs (i.e. my PR) for beta 2. Jiří will ask if NetCat could test it, and if there are problems, we will know and revert back to a separate update center (i.e. Jiří's PR). How does this sound? Jan 1. října 2019

Re: NetBeans 11.2-beta1: broken pom.xml files editing

2019-10-02 Thread Alessandro
Solved, my mistake. The second NetBeans instance had unactivated features, once I activated the JavaSE feature all went to normal. Is there a way to launch a NetBeans with some features pre-activated? Regards, Alex Il giorno mar 1 ott 2019 alle ore 16:08 Alessandro ha scritto: > On further

Re: Can anyone give me a help about developing antlr formatter

2019-10-02 Thread Peter Cheung
Dear Tim Sorry i am doing my own antlr plugin https://gitlab.com/mcheung63/netbeans-antlr to support my compiler development which using antlr. If you plugin can well format antlr, then i can focus my compiler rather than antlr in netbeans. thanks Peter