Re: Use JDK preview features in Gradle

2022-09-28 Thread László Kishalmi
Yes. NetBeans just picks up the settings coming from Gradle. On Wed, Sep 28, 2022 at 5:56 AM Bernd Michaely wrote: > a search for »preview features« on the website https://docs.gradle.org > finds: > > > https://docs.gradle.org/current/userguide/building_java_projects.html#sec:

Re: Use JDK preview features in Gradle

2022-09-28 Thread Bernd Michaely
a search for »preview features« on the website https://docs.gradle.org finds: https://docs.gradle.org/current/userguide/building_java_projects.html#sec:feature_preview (assuming you mean Java preview features, not Gradle preview features :-) (this should be sufficient – don't think Net

Use JDK preview features in Gradle

2022-09-28 Thread Dragan Bjedov
Hello, Is there any documenation how to setup NetBeans to use preview features with Gradle project? I was able to do it with Maven project. Thanks in advance

Re: Preview features

2020-03-07 Thread Bradley Willcott
This is processing the 'md' files for the src/docs/manual, storing the 'html' output in the target/manual directory. All this works perfectly without the use of the /Preview Features/.  I just like to use bleeding-edge technology. On 8/3/20 4:22

Re: Preview features

2020-03-07 Thread Geertjan Wielenga
t; java >> >> instead of the: >> >> exec >> >> This is processing the 'md' files for the src/docs/manual, storing the >> 'html' output in the target/manual directory. >> >> All this works perfectly without the use of the *Prev

Re: Preview features

2020-03-07 Thread Bradley Willcott
s, hence, using the: java instead of the: exec This is processing the 'md' files for the src/docs/manual, storing the 'html' output in the target/manual directory. All this works perfectly without the use of the /Preview Features/.  I just like to use ble

Re: Preview features

2020-03-07 Thread Geertjan Wielenga
manual directory. > > All this works perfectly without the use of the *Preview Features*. I > just like to use bleeding-edge technology. > > On 8/3/20 4:22 am, Geertjan Wielenga wrote: > > See my responses above. > > Seems to me that when you do your build, you'

Re: Preview features

2020-03-07 Thread Bradley Willcott
the 'html' output in the target/manual directory. All this works perfectly without the use of the /Preview Features/.  I just like to use bleeding-edge technology. On 8/3/20 4:22 am, Geertjan Wielenga wrote: See my responses above. Seems to me that when you do your build, you'

Re: Preview features

2020-03-07 Thread Geertjan Wielenga
as it is rather long. >> >> I have set the '--enable-preview' option for 'maven-compiler-plugin' and >> 'maven-surefire-plugin'. >> On 8/3/20 3:12 am, Geertjan Wielenga wrote: >> >> Read: >> >> https://netbeans.apache.org/download

Re: Preview features

2020-03-07 Thread Bradley Willcott
repa...@gmail.com>> wrote: I have just installed both JDK 14 and NB 11.3. I am trying to incorporate 14's preview features into an on-going project: Markdownj CLI <https://github.com/bewillcott/markdownj-cli>.  However, part of my POM proce

Re: Preview features

2020-03-07 Thread Geertjan Wielenga
ithub.com/bewillcott/markdownj-cli/blob/master/pom.xml> >>> file. I don't want to put it here as it is rather long. >>> >>> I have set the '--enable-preview' option for 'maven-compiler-plugin' >>> and 'maven-surefire-plugin'.

Re: Preview features

2020-03-07 Thread Geertjan Wielenga
' option for 'maven-compiler-plugin' and >> 'maven-surefire-plugin'. >> On 8/3/20 3:12 am, Geertjan Wielenga wrote: >> >> Read: >> >> https://netbeans.apache.org/download/nb113/index.html >> >> Gj >> >> O

Re: Preview features

2020-03-07 Thread Bradley Willcott
sprepa...@gmail.com>> wrote: I have just installed both JDK 14 and NB 11.3. I am trying to incorporate 14's preview features into an on-going project: Markdownj CLI <https://github.com/bewillcott/markdownj-cli>.  However, part of my POM proc

Re: Preview features

2020-03-07 Thread Geertjan Wielenga
-surefire-plugin'. > On 8/3/20 3:12 am, Geertjan Wielenga wrote: > > Read: > > https://netbeans.apache.org/download/nb113/index.html > > Gj > > On Sat, 7 Mar 2020 at 19:12, Bradley Willcott > wrote: > >> I have just installed both JDK 14 and NB 11.

Re: Preview features

2020-03-07 Thread Bradley Willcott
just installed both JDK 14 and NB 11.3. I am trying to incorporate 14's preview features into an on-going project: Markdownj CLI <https://github.com/bewillcott/markdownj-cli>. However, part of my POM processing causes an error: "java.lang.UnsupportedClassVersio

Re: Preview features

2020-03-07 Thread Geertjan Wielenga
Read: https://netbeans.apache.org/download/nb113/index.html Gj On Sat, 7 Mar 2020 at 19:12, Bradley Willcott wrote: > I have just installed both JDK 14 and NB 11.3. > > I am trying to incorporate 14's preview features into an on-going project: > Markdownj > CLI <https:

Preview features

2020-03-07 Thread Bradley Willcott
I have just installed both JDK 14 and NB 11.3. I am trying to incorporate 14's preview features into an on-going project: Markdownj CLI <https://github.com/bewillcott/markdownj-cli>. However, part of my POM processing causes an error: "java.lang.UnsupportedClassVersionError:

Re: Preview features not enabling

2020-03-06 Thread Geertjan Wielenga
>>> On 3/5/20 9:42 AM, Geertjan Wielenga wrote: >>>>> >>>>> Probably you don't have JDK 14 set in the project. >>>>> >>>>> >>>>> It's set to JDK 15, the same as the boot JDK. >>>>> >>&g

Re: Preview features not enabling

2020-03-06 Thread Ty Young
https://netbeans.apache.org/download/nb113/index.html Read the above, thanks. Going by naming should do the same thing, but it looks like it doesn't. Oh well. Preview features are

Re: Preview features not enabling

2020-03-06 Thread Ty Young
Going by naming should do the same thing, but it looks like it doesn't. Oh well. Preview features are enabled now but records aren't working. The java.lang.Record class is

Re: Preview features not enabling

2020-03-05 Thread Ty Young
ml Read the above, thanks. Going by naming should do the same thing, but it looks like it doesn't. Oh well. Preview features are enabled

Re: Preview features not enabling

2020-03-05 Thread Geertjan Wielenga
>>>>> >>>>>> >>>>>> On 3/5/20 9:42 AM, Geertjan Wielenga wrote: >>>>>> >>>>>> Probably you don't have JDK 14 set in the project. >>>>>> >>>>>> >>>>>> It&

Re: Preview features not enabling

2020-03-05 Thread Ty Young
; wrote: On 3/5/20 9:18 AM, Geertjan Wielenga wrote: https://netbeans.apache.org/download/nb113/index.html Read the above, thanks. Going by naming should do the same thing, but it looks lik

Re: Preview features not enabling

2020-03-05 Thread Geertjan Wielenga
don't have JDK 14 set in the project. >>>>> >>>>> >>>>> It's set to JDK 15, the same as the boot JDK. >>>>> >>>>> >>>>> >>>>> Anyway, impossible to help if you don't put a

Re: Preview features not enabling

2020-03-05 Thread Ty Young
ad/nb113/index.html Read the above, thanks. Going by naming should do the same thing, but it looks like it doesn't. Oh well. Preview features are enabled now but records aren't working. The java.lan

Re: Preview features not enabling

2020-03-05 Thread Geertjan Wielenga
or someone to take a look at. >>>> >>>> >>>> Actual project is here: >>>> >>>> >>>> https://github.com/BlueGoliath/Crosspoint >>>> >>>> >>>> requires Project Panama JDK build from the fo

Re: Preview features not enabling

2020-03-05 Thread Geertjan Wielenga
Actual project is here: >>> >>> >>> https://github.com/BlueGoliath/Crosspoint >>> >>> >>> requires Project Panama JDK build from the foreign-jextract branch to >>> build. >>> >>> >>> >>> Gj >>> &

Re: Preview features not enabling

2020-03-05 Thread Geertjan Wielenga
>> >> requires Project Panama JDK build from the foreign-jextract branch to >> build. >> >> >> >> Gj >> >> On Thu, Mar 5, 2020 at 4:40 PM Ty Young wrote: >> >>> >>> On 3/5/20 9:18 AM, Geertjan Wielenga wrote: >>> >>

Re: Preview features not enabling

2020-03-05 Thread Ty Young
the above, thanks. Going by naming should do the same thing, but it looks like it doesn't. Oh well. Preview features are enabled now but records aren't working. The java.lang.Record class is visible so records are apart of the JDK, it's

Re: Preview features not enabling

2020-03-05 Thread Geertjan Wielenga
/download/nb113/index.html >> >> Read the above, thanks. >> >> >> Going by naming should do the same thing, but it looks like >> it doesn't. >> >> >> Oh well. Preview features are enabled now but records aren't working. The >> java.l

Re: Preview features not enabling

2020-03-05 Thread Ty Young
ps://netbeans.apache.org/download/nb113/index.html Read the above, thanks. Going by naming should do the same thing, but it looks like it doesn't. Oh well. Preview features are enabled now but records aren't working. The java.lang.Record class is visible so records are

Re: Preview features not enabling

2020-03-05 Thread Geertjan Wielenga
wrote: > > https://netbeans.apache.org/download/nb113/index.html > > Read the above, thanks. > > > Going by naming should do the same thing, but it looks like > it doesn't. > > > Oh well. Preview features are enabled now but records aren't working. The > java.lang

Re: Preview features not enabling

2020-03-05 Thread Ty Young
On 3/5/20 9:18 AM, Geertjan Wielenga wrote: https://netbeans.apache.org/download/nb113/index.html Read the above, thanks. Going by naming should do the same thing, but it looks like it doesn't. Oh well. Preview features are enabled now but records aren't working. The java.l

Re: Preview features not enabling

2020-03-05 Thread Geertjan Wielenga
https://netbeans.apache.org/download/nb113/index.html Read the above, thanks. Gj On Thu, Mar 5, 2020 at 4:12 PM Ty Young wrote: > Preview features in Netbeans 11.2(and above) aren't being activated > despite being enabled in the maven build file: > > org.apache.maven.plugins

Preview features not enabling

2020-03-05 Thread Ty Young
Preview features in Netbeans 11.2(and above) aren't being activated despite being enabled in the maven build file: org.apache.maven.plugins maven-compiler-plugin     3.6.2         15 --enable-preview     --add-mo