Re: Buildin Gradle not using Wrapper?

2020-03-15 Thread Jonathan Bergh
OK, thanks Laszlo, That makes sense, at least i am not going crazy ;) ! I have just downloaded Netbeans project now, and am building it, so hopefully i can have a look too. Maybe i can ask you some questions about your implementation and we fix it together. Thanks for all your help / work so far

Re: Buildin Gradle not using Wrapper?

2020-03-15 Thread Laszlo Kishalmi
On 3/15/20 5:45 PM, Jonathan Bergh wrote: The IDE itself needs to run on Java 8 in order to be able to use Gardle 4.10 and less. It is not enough to set up the project compile options to point to Java 8. It is because the listening part of the Gradle daemon would be run in the same JVM as the I

Re: Buildin Gradle not using Wrapper?

2020-03-15 Thread Jonathan Bergh
The IDE itself needs to run on Java 8 in order to be able to use Gardle 4.10 and less. It is not enough to set up the project compile options to point to Java 8. It is because the listening part of the Gradle daemon would be run in the same JVM as the IDE, the executor part can run on a separate JV

Re: Apache Netbeans 11.3 Press

2020-03-15 Thread Laszlo Kishalmi
Well, well, we have 4 new look and feels and 3 of them dark. The NetCat thing is really bad a briefer version of our 11.3 feature page would have been better... On 3/15/20 1:44 PM, Eric Bresie wrote: Not sure if anyone else got this one but figured I would pass it along. https://adtmag.com/ar

Re: Buildin Gradle not using Wrapper?

2020-03-15 Thread Laszlo Kishalmi
The IDE itself needs to run on Java 8 in order to be able to use Gardle 4.10 and less. It is not enough to set up the project compile options to point to Java 8. It is because the listening part of the Gradle daemon would be run in the same JVM as the IDE, the executor part can run on a separat

Re: Apache Netbeans 11.3 Press

2020-03-15 Thread Peter Hull
On Sun, 15 Mar 2020 at 20:44, Eric Bresie wrote: > https://adtmag.com/articles/2020/03/11/apache-netbeans-update.aspx?oly_enc_id=8998A7400878E0S Looks good up to the last paragraph - that stuff about the Swiss army knife doesn't make sense to me. Has the author confused NetCAT with the nc/netcat u

Re: Buildin Gradle not using Wrapper?

2020-03-15 Thread Jonathan Bergh
Hi Laszlo, Thanks for the response - actually, i have tested with both Java 8 (Oracle) and JDK 11 (OpenJDK) and with JDK1.8, still it does not use the wrapper? Is this because Netbeans 11.3 needs to run on >JDK9? Should it use the wrapper if IDE is running JDK 1.8? Thanks Jonathan On Sun, Mar

Apache Netbeans 11.3 Press

2020-03-15 Thread Eric Bresie
Not sure if anyone else got this one but figured I would pass it along. https://adtmag.com/articles/2020/03/11/apache-netbeans-update.aspx?oly_enc_id=8998A7400878E0S Eric Bresie ebre...@gmail.com

Re: Buildin Gradle not using Wrapper?

2020-03-15 Thread Laszlo Kishalmi
The big question. What version of Java are you running the IDE with? We cannot use Gradle runtime 4.6 (or anything below 4.10.2) with java 11 or above, so we fall back to the Gradle version shipped with the IDE. So try to run it when the IDE is running on Java 8 or upgrade your projects to Gr

Re: Build Parameters Documented (New JDK Versions)

2020-03-15 Thread Eric Bresie
Okay...I've cleaned up some of my issues in my fork and have recreated the pull request for this minor README.md update to add the JDK parameter. If anyone has any other build detail changes that may be worth adding or of help, feel free to mentioned it and I can further add that as part of this a

Re: netbeans.org rerouting to netbeans.apache.org (was Re: https redirection for apache.netbeans.org)

2020-03-15 Thread antonio
Let's go then. Do we want to also redirect wiki.netbeans.org to netbeans.apache.org/wiki and platform.netbeans.org/tutorials to netbeans.apache.org/tutorials or do we want to do that later on? Thanks, Antonio El 15/3/20 a las 19:08, Geertjan Wielenga escribió: Let’s do that, i.e., have infr

Re: Build Error on Master

2020-03-15 Thread Eric Bresie
Never did close out this thread here but I reverted back to JDK 11 and things built without problems. Not sure if this was due to the configuration or if the server connection was working correctly this time. If it was the configuration, I'm still curious if this will be a problem in future build

Re: Buildin Gradle not using Wrapper?

2020-03-15 Thread Jonathan Bergh
Hi Laszlo, Yes, i can. I'll have to sanitise it quite a lot though. I'll send to your personal email if you dont mind ... Regards Jonathan On Sun, Mar 15, 2020 at 7:54 PM Laszlo Kishalmi wrote: > Just for curiousity, can you zip the project base dir content + the > gradle directory and put it

Re: netbeans.org rerouting to netbeans.apache.org (was Re: https redirection for apache.netbeans.org)

2020-03-15 Thread Geertjan Wielenga
Let’s do that, i.e., have infra do it, and iterate as needed. Gj On Sun, 15 Mar 2020 at 19:03, antonio wrote: > Hi, > > netbeans.apache.org infrastructure is _not_ under our control, it's ASF > Infra that's handling the infrastructure. So we cannot modify the web > server settings, for example.

Re: netbeans.org rerouting to netbeans.apache.org (was Re: https redirection for apache.netbeans.org)

2020-03-15 Thread antonio
Hi, netbeans.apache.org infrastructure is _not_ under our control, it's ASF Infra that's handling the infrastructure. So we cannot modify the web server settings, for example. All we can do is to modify the .htaccess and do incremental upgrades to HTTPS for certain sections (as in [1]). Usin

Re: Buildin Gradle not using Wrapper?

2020-03-15 Thread Laszlo Kishalmi
Just for curiousity, can you zip the project base dir content + the gradle directory and put it somewhere? No other sources are required, just the settings.gradle, build.gradle, gradlew, gradlew.bat and the gradle directory (recursively) On 3/15/20 10:36 AM, Jonathan Bergh wrote: I have resta

Re: Buildin Gradle not using Wrapper?

2020-03-15 Thread Jonathan Bergh
I have restarted NB, same behaviour. Did you clear your .gradle/wrapper/dists directory? If i have a successful build via cmdline, and the correct wrapper is downloaded, then yes, it works fine. Trying a wrapper build inside NB always defaults to the 6.2.2 installation. Even when opening NB fresh

Re: Buildin Gradle not using Wrapper?

2020-03-15 Thread Patrick Musembi
Mine works fine. Even after setting the path on Gradle distribution->Custom to 5.4 uses the wrapper. I don't know if you should restart netbeans? On Sun, Mar 15, 2020, 20:16 Jonathan Bergh wrote: > hi @patrick > > So in Option -> Gradle, selecting Custom (leaving entry blank) then Tick > Prefer

Re: Buildin Gradle not using Wrapper?

2020-03-15 Thread Jonathan Bergh
hi @patrick So in Option -> Gradle, selecting Custom (leaving entry blank) then Tick Prefer Wrapper? This doesnt seem to make any difference :( The project is still building with the 6.2.2 distribution, which is the only one in the ./.gradle/wrapper/dists directory at this stage. If i run ./gra

Re: Buildin Gradle not using Wrapper?

2020-03-15 Thread Patrick Musembi
On gradle distribution On Sun, Mar 15, 2020, 19:59 Patrick Musembi wrote: > @jonathan please set Custom. Leave the input field empty(haven't tested > with a custom gradle path). Then tick prefer to use gradle wrapper that > comes with the project > Regards > > On Sun, Mar 15, 2020, 19:00 Jonatha

Re: Buildin Gradle not using Wrapper?

2020-03-15 Thread Patrick Musembi
@jonathan please set Custom. Leave the input field empty(haven't tested with a custom gradle path). Then tick prefer to use gradle wrapper that comes with the project Regards On Sun, Mar 15, 2020, 19:00 Jonathan Bergh wrote: > An update: > > If i run from Powershell in the Project directory: > >

Re: Buildin Gradle not using Wrapper?

2020-03-15 Thread Jonathan Bergh
An update: If i run from Powershell in the Project directory: *PS C:\Development\myproject> ./gradlew --configure-on-demand -x check clean buildDownloading https://services.gradle.org/distributions/gradle-4.6-all.zip * it starts

Re: Buildin Gradle not using Wrapper?

2020-03-15 Thread Jonathan Bergh
ok, thanks Lazlo, I have just cleared my ./.gradle/cache and ./.gradle/wrapper/dist directories, set global Gradle options to Gradle 6.2.2 but Prefer gradle wrapper. When i build my project, the output is: *JAVA_HOME="C:\Program Files\Java\jdk1.8.0_201"cd C:\Development\myproje

Re: Buildin Gradle not using Wrapper?

2020-03-15 Thread Laszlo Kishalmi
Unfortunately attachments are not working in dev mailing list. You can share them some clipboarding site or you can create a JIRA issue on this and do the report there. Right now the wrapper detection checks the existence of gradle/wrapper/gradle-wrapper.properties in the root project. On 3

Buildin Gradle not using Wrapper?

2020-03-15 Thread Jonathan Bergh
Hi there, Just a quick question. We usually use Maven for build, for which everything seems to work perfectly on NB11.3. However, we have a project which uses Gradle for other reasons. When building on 11.3, via the IDE, i have "Use wrapper" set in global IDE options but when i build (Clean Build

Re: netbeans.org rerouting to netbeans.apache.org (was Re: https redirection for apache.netbeans.org)

2020-03-15 Thread Geertjan Wielenga
Let’s do the incremental approach — and we can do all this on the Apache side, without Infra involvement, right? If so, shall we start with the home page and see how it goes? Gj On Sun, 15 Mar 2020 at 11:56, Neil C Smith wrote: > On Sun, 15 Mar 2020, 10:24 antonio, wrote: > > > Once we check 1

Re: netbeans.org rerouting to netbeans.apache.org (was Re: https redirection for apache.netbeans.org)

2020-03-15 Thread Neil C Smith
On Sun, 15 Mar 2020, 10:24 antonio, wrote: > Once we check 1. works we can proceed with 3, and see if all tooling is > able to dowload DTDs using HTTPS. > That assumes blanket https redirect. We could do this incrementally, redirect key pages to https, eg. home page, downloads section, etc. befo

netbeans.org rerouting to netbeans.apache.org (was Re: https redirection for apache.netbeans.org)

2020-03-15 Thread antonio
Hi, I've just seen this message. The suggested order is to follow baby steps in this order: 1. Reroute netbeans.org to netbeans.apache.org. 2. See if anything breaks. 3. Enforce https on the site. 4. See if anything breaks. We tried 1. above a while back, and we discovered that the build syste

Re: [RESULTE][VOTE] Apache NetBeans utilities plugins (nbm-maven-plugin 4.5, nb-repository-plugin 1.6)

2020-03-15 Thread Dmitry Avtonomov
I have tried using those maven plugins several months ago to build a netbeans platform app from scratch, but could not make it fully work. There was a discussion here in the mailing list and Tim Boudreau helped with this repository: https://github.com/timboudreau/netbeans-local-maven-repo-populator