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 NetBeans

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
or 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 am, Geertjan Wielenga wrote: See my responses

Re: Preview features

2020-03-07 Thread Geertjan Wielenga
t;> >> 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 >> jus

Re: Preview features

2020-03-07 Thread Bradley Willcott
ce, 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 bleeding-edge technology. On

Re: Preview features

2020-03-07 Thread Geertjan Wielenga
> > 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 not using the setting

Re: Preview features

2020-03-07 Thread Bradley Willcott
' 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 not using the settings

Re: Preview features

2020-03-07 Thread Geertjan Wielenga
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/nb113/index.html >> >> Gj >&g

Re: 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: "jav

Re: Preview features

2020-03-07 Thread Geertjan Wielenga
r/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'. >>> On 8/3/20 3:12 am, Geertjan Wielenga wrote: >>> >>&

Re: Preview features

2020-03-07 Thread Geertjan Wielenga
' and >> 'maven-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

Re: 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.l

Re: Preview features

2020-03-07 Thread Geertjan Wielenga
/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.3. >> >> I am trying to

Re: Preview features

2020-03-07 Thread Bradley Willcott
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: Preview features are not ena

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://git

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: Previ

Re: Preview features not enabling

2020-03-06 Thread Geertjan Wielenga
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. >>>>> >>>>> >>>>

Re: Preview features not enabling

2020-03-06 Thread Ty Young
ans.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 reco

Re: Preview features not enabling

2020-03-06 Thread Ty Young
hould 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

Re: Preview features not enabling

2020-03-05 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

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's set to JDK 15, the same as the boot JDK. >>

Re: Preview features not enabling

2020-03-05 Thread Ty Young
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.

Re: Preview features not enabling

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

Re: Preview features not enabling

2020-03-05 Thread Ty Young
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 clas

Re: Preview features not enabling

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

Re: Preview features not enabling

2020-03-05 Thread Geertjan Wielenga
gt;>> >>> >>> https://github.com/BlueGoliath/Crosspoint >>> >>> >>> requires Project Panama JDK build from the foreign-jextract branch to >>> build. >>> >>> >>> >>> Gj >>> >>> On Thu, Mar 5

Re: Preview features not enabling

2020-03-05 Thread Geertjan Wielenga
s 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: >>> >>> https://netbean

Re: Preview features not enabling

2020-03-05 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 visible so records are apart of the JDK, it's just I can't make one: pu

Re: Preview features not enabling

2020-03-05 Thread Geertjan Wielenga
; > 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.Record class is vis

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.lang.Record

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-modules