Re: Please Test your Gradle Workflows with NetBeans 19-rc-3

2023-08-17 Thread Neil C Smith
On Thu, 17 Aug 2023, 11:18 Eric Bresie,  wrote:

> Looks like Gradle 8.3 is released now
>
> https://github.com/gradle/gradle/releases/tag/v8.3.0


We're not currently planning to update the tooling API in NB19. However, it
would be good to verify new Gradle projects in 19-rc5 are correctly picking
up 8.3 and there are no issues working with it. Testing appreciated!

Thanks,

Neil


Re: Please Test your Gradle Workflows with NetBeans 19-rc-3

2023-08-17 Thread Eric Bresie
Looks like Gradle 8.3 is released now

https://github.com/gradle/gradle/releases/tag/v8.3.0


On Sat, Aug 12, 2023 at 9:13 AM Neil C Smith  wrote:

> On Sat, 12 Aug 2023 at 06:22, Laszlo Kishalmi 
> wrote:
> > Well I fear, there is nothing we can do about this for NetBeans 19.
> > Later on we can add a DSL language selector also a Gradle Version
> > selector to the new project dialog, these need a slight API change at
> least.
> >
> > It would be also possible to detect existing projects running on RC
> > Gradle versions as project problems and offer a Gradle Version Upgrade
> > to the final version as well.
>
> We could possibly re-initialize the wrapper to the latest release -
> something like https://github.com/apache/netbeans/pull/6333 for NB19?
> Pros and cons.
>
> As Gradle init currently creates the wrapper anyway, the checkbox
> currently just seems to control re-application of the wrapper.  Untick
> it with this and you'll still have a 8.3-rc1 wrapper.  In NB20 should
> unticking delete the wrapper files?  Or should the checkbox be
> removed?
>
> The other thing to consider UI-wise in NB20 would be the JDK toolchain
> support added into the project.  The UI is a bit confusing now that
> the NetBeans Java platform doesn't control what the project runs on.
>
> And on a related subject, we should consider whether to add a similar
> Maven wrapper UI in NB20.
>
> Best wishes,
>
> Neil
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
> --
Eric Bresie
ebre...@gmail.com


Re: Please Test your Gradle Workflows with NetBeans 19-rc-3

2023-08-12 Thread Neil C Smith
On Sat, 12 Aug 2023 at 06:22, Laszlo Kishalmi  wrote:
> Well I fear, there is nothing we can do about this for NetBeans 19.
> Later on we can add a DSL language selector also a Gradle Version
> selector to the new project dialog, these need a slight API change at least.
>
> It would be also possible to detect existing projects running on RC
> Gradle versions as project problems and offer a Gradle Version Upgrade
> to the final version as well.

We could possibly re-initialize the wrapper to the latest release -
something like https://github.com/apache/netbeans/pull/6333 for NB19?
Pros and cons.

As Gradle init currently creates the wrapper anyway, the checkbox
currently just seems to control re-application of the wrapper.  Untick
it with this and you'll still have a 8.3-rc1 wrapper.  In NB20 should
unticking delete the wrapper files?  Or should the checkbox be
removed?

The other thing to consider UI-wise in NB20 would be the JDK toolchain
support added into the project.  The UI is a bit confusing now that
the NetBeans Java platform doesn't control what the project runs on.

And on a related subject, we should consider whether to add a similar
Maven wrapper UI in NB20.

Best wishes,

Neil

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Please Test your Gradle Workflows with NetBeans 19-rc-3

2023-08-11 Thread Laszlo Kishalmi



On 8/11/23 10:57, Neil C Smith wrote:

On Fri, 28 Jul 2023 at 16:01, Laszlo Kishalmi  wrote:

Gradle 8.3-rc1 came very late in the game, but it is the one which
finally supports JDK 20 as runtime. That's why we dropped that in.
Please test!

So, we need to build 19-rc5 soon, which will hopefully be identical to
the release.

Do we want to update the bundled Gradle library here before release?
Do we have any idea when it might be finalized?

Also I'm curious, given that the Gradle tooling API is meant to be
forwards compatible, whether we actually needed to upgrade it to be
able to support projects using 8.3?


The main glitch is that new
project would be generated using the 8.3-rc-1 as default even after 8.3
come out.

Is there any workaround we could put in place here?  We might want a
different approach here in future to disconnect versions?


Well I fear, there is nothing we can do about this for NetBeans 19. 
Later on we can add a DSL language selector also a Gradle Version 
selector to the new project dialog, these need a slight API change at least.


It would be also possible to detect existing projects running on RC 
Gradle versions as project problems and offer a Gradle Version Upgrade 
to the final version as well.


Good items for NB 20!


Best wishes,

Neil

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Please Test your Gradle Workflows with NetBeans 19-rc-3

2023-08-11 Thread Neil C Smith
On Fri, 28 Jul 2023 at 16:01, Laszlo Kishalmi  wrote:
> Gradle 8.3-rc1 came very late in the game, but it is the one which
> finally supports JDK 20 as runtime. That's why we dropped that in.
> Please test!

So, we need to build 19-rc5 soon, which will hopefully be identical to
the release.

Do we want to update the bundled Gradle library here before release?
Do we have any idea when it might be finalized?

Also I'm curious, given that the Gradle tooling API is meant to be
forwards compatible, whether we actually needed to upgrade it to be
able to support projects using 8.3?

> The main glitch is that new
> project would be generated using the 8.3-rc-1 as default even after 8.3
> come out.

Is there any workaround we could put in place here?  We might want a
different approach here in future to disconnect versions?

Best wishes,

Neil

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Please Test your Gradle Workflows with NetBeans 19-rc-3

2023-08-06 Thread Laszlo Kishalmi

https://github.com/apache/netbeans/pull/6307

On 8/6/23 12:36, Scott Palmer wrote:

Yes, the change to a Kotlin default for the build scripts is very
annoying.   You could hardcode the option to use Groovy for now, until the
UI selector is ready.

Scott

On Fri, Aug 4, 2023 at 10:03 PM Laszlo Kishalmi 
wrote:


Well,

Usually there is not too much change if any on the tooling side between
the RC-s and the final release of Gradle. The main glitch is that new
project would be generated using the 8.3-rc-1 as default even after 8.3
come out.

Also there is another "issue", that from 8.2, Gradle generates Kotlin
DSL by default, which could be confusing. I do not how big "pain" that
could be, especially if we consider that we are quite popular in the
Education sector... A patch to get the Groovy back might would worth
another RC, might not...

I've plan to add a Gradle DSL dialect selector to the new project page
later

On 8/4/23 17:00, Scott Palmer wrote:

There's no guarantee that there isn't going to be a Gradle 8.3-rc-4 of
course.. but I believe they have a policy of letting any RC soak for

about

a week, but maybe shorter depending on what changed since the previous

RC.

There were only a couple days between the last RC for 8.2 and the final
release. RC-3 was announced on Wednesday, August 2nd.

You and Laszlo can make the call.

Cheers,

Scott


On Fri, Aug 4, 2023 at 2:19 PM Neil C Smith 

wrote:

On Fri, 4 Aug 2023, 18:53 Scott Palmer,  wrote:


Seems to be working well.  I see Gradle 8.3-rc-3 is available, but

didn't

make it into NetBeans19-RC4.  I haven't noticed any regressions, so I

would

try to squeeze in whatever the latest artifact is for Gradle 8.3 when

the

final NB 19 build is made.


We'd need another NetBeans release candidate for that. Doable. Are the
Gradle RC on a schedule? If so, possibly wait to see if a final release

is

made soon?

Best wishes,

Neil


-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists






-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Please Test your Gradle Workflows with NetBeans 19-rc-3

2023-08-06 Thread Scott Palmer
Yes, the change to a Kotlin default for the build scripts is very
annoying.   You could hardcode the option to use Groovy for now, until the
UI selector is ready.

Scott

On Fri, Aug 4, 2023 at 10:03 PM Laszlo Kishalmi 
wrote:

> Well,
>
> Usually there is not too much change if any on the tooling side between
> the RC-s and the final release of Gradle. The main glitch is that new
> project would be generated using the 8.3-rc-1 as default even after 8.3
> come out.
>
> Also there is another "issue", that from 8.2, Gradle generates Kotlin
> DSL by default, which could be confusing. I do not how big "pain" that
> could be, especially if we consider that we are quite popular in the
> Education sector... A patch to get the Groovy back might would worth
> another RC, might not...
>
> I've plan to add a Gradle DSL dialect selector to the new project page
> later
>
> On 8/4/23 17:00, Scott Palmer wrote:
> > There's no guarantee that there isn't going to be a Gradle 8.3-rc-4 of
> > course.. but I believe they have a policy of letting any RC soak for
> about
> > a week, but maybe shorter depending on what changed since the previous
> RC.
> > There were only a couple days between the last RC for 8.2 and the final
> > release. RC-3 was announced on Wednesday, August 2nd.
> >
> > You and Laszlo can make the call.
> >
> > Cheers,
> >
> > Scott
> >
> >
> > On Fri, Aug 4, 2023 at 2:19 PM Neil C Smith 
> wrote:
> >
> >> On Fri, 4 Aug 2023, 18:53 Scott Palmer,  wrote:
> >>
> >>> Seems to be working well.  I see Gradle 8.3-rc-3 is available, but
> didn't
> >>> make it into NetBeans19-RC4.  I haven't noticed any regressions, so I
> >> would
> >>> try to squeeze in whatever the latest artifact is for Gradle 8.3 when
> the
> >>> final NB 19 build is made.
> >>>
> >> We'd need another NetBeans release candidate for that. Doable. Are the
> >> Gradle RC on a schedule? If so, possibly wait to see if a final release
> is
> >> made soon?
> >>
> >> Best wishes,
> >>
> >> Neil
> >>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: Please Test your Gradle Workflows with NetBeans 19-rc-3

2023-08-04 Thread Laszlo Kishalmi

Well,

Usually there is not too much change if any on the tooling side between 
the RC-s and the final release of Gradle. The main glitch is that new 
project would be generated using the 8.3-rc-1 as default even after 8.3 
come out.


Also there is another "issue", that from 8.2, Gradle generates Kotlin 
DSL by default, which could be confusing. I do not how big "pain" that 
could be, especially if we consider that we are quite popular in the 
Education sector... A patch to get the Groovy back might would worth 
another RC, might not...


I've plan to add a Gradle DSL dialect selector to the new project page later

On 8/4/23 17:00, Scott Palmer wrote:

There's no guarantee that there isn't going to be a Gradle 8.3-rc-4 of
course.. but I believe they have a policy of letting any RC soak for about
a week, but maybe shorter depending on what changed since the previous RC.
There were only a couple days between the last RC for 8.2 and the final
release. RC-3 was announced on Wednesday, August 2nd.

You and Laszlo can make the call.

Cheers,

Scott


On Fri, Aug 4, 2023 at 2:19 PM Neil C Smith  wrote:


On Fri, 4 Aug 2023, 18:53 Scott Palmer,  wrote:


Seems to be working well.  I see Gradle 8.3-rc-3 is available, but didn't
make it into NetBeans19-RC4.  I haven't noticed any regressions, so I

would

try to squeeze in whatever the latest artifact is for Gradle 8.3 when the
final NB 19 build is made.


We'd need another NetBeans release candidate for that. Doable. Are the
Gradle RC on a schedule? If so, possibly wait to see if a final release is
made soon?

Best wishes,

Neil



-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Please Test your Gradle Workflows with NetBeans 19-rc-3

2023-08-04 Thread Scott Palmer
There's no guarantee that there isn't going to be a Gradle 8.3-rc-4 of
course.. but I believe they have a policy of letting any RC soak for about
a week, but maybe shorter depending on what changed since the previous RC.
There were only a couple days between the last RC for 8.2 and the final
release. RC-3 was announced on Wednesday, August 2nd.

You and Laszlo can make the call.

Cheers,

Scott


On Fri, Aug 4, 2023 at 2:19 PM Neil C Smith  wrote:

> On Fri, 4 Aug 2023, 18:53 Scott Palmer,  wrote:
>
> > Seems to be working well.  I see Gradle 8.3-rc-3 is available, but didn't
> > make it into NetBeans19-RC4.  I haven't noticed any regressions, so I
> would
> > try to squeeze in whatever the latest artifact is for Gradle 8.3 when the
> > final NB 19 build is made.
> >
>
> We'd need another NetBeans release candidate for that. Doable. Are the
> Gradle RC on a schedule? If so, possibly wait to see if a final release is
> made soon?
>
> Best wishes,
>
> Neil
>


Re: Please Test your Gradle Workflows with NetBeans 19-rc-3

2023-08-04 Thread Neil C Smith
On Fri, 4 Aug 2023, 18:53 Scott Palmer,  wrote:

> Seems to be working well.  I see Gradle 8.3-rc-3 is available, but didn't
> make it into NetBeans19-RC4.  I haven't noticed any regressions, so I would
> try to squeeze in whatever the latest artifact is for Gradle 8.3 when the
> final NB 19 build is made.
>

We'd need another NetBeans release candidate for that. Doable. Are the
Gradle RC on a schedule? If so, possibly wait to see if a final release is
made soon?

Best wishes,

Neil


Re: Please Test your Gradle Workflows with NetBeans 19-rc-3

2023-08-04 Thread Scott Palmer
Seems to be working well.  I see Gradle 8.3-rc-3 is available, but didn't
make it into NetBeans19-RC4.  I haven't noticed any regressions, so I would
try to squeeze in whatever the latest artifact is for Gradle 8.3 when the
final NB 19 build is made.

Scott


On Fri, Jul 28, 2023 at 11:02 AM Laszlo Kishalmi 
wrote:

> Dear all,
>
> Gradle 8.3-rc1 came very late in the game, but it is the one which
> finally supports JDK 20 as runtime. That's why we dropped that in.
> Please test!
>
>
> Thanks!
>
> --
>
> Laszlo Kishalmi
>