Re: [External] : RE: [DISCUSSION] Gradle Patch Release for NetBeans 16

2022-12-18 Thread Svata Dedic

Hi,

late Friday, a colleague discovered a bug in NbProjectInfoBuilder - 
mishandled compiler options (compilerArgs / allCompilerArgs / 
freeCompilerArgs) that fails to load the project when NB runs on JDK19. 
I can provide a fix tomorrow.


-S.

On 18. 12. 22 18:28, Neil C Smith wrote:

On Sun, 18 Dec 2022 at 16:58, Laszlo Kishalmi  wrote:

I'm ready to update the netbeansrelease.json. In the 12.0-u1 and 12.0-u2
it was just another entry with git hash, version and position. Would it
be the same this time, or shall I use the vote entry as well. As far as
I remember vote would remove the version suffix from the final artifacts
and other places, that might be not required for 16-uc1.


Yes, try as before and leave out vote.  That does very little now, but
I think will still stop the version suffix being added.  Eric even
better to answer that!  Quite a lot has changed since we did 12.0
updates, but all should hopefully work OK.

Try to update netbeansrelease.json after merging and before building
if you can.  The build process also publishes to
https://nightlies.apache.org/netbeans/candidate/netbeans/ now which
currently has your build without a suffix.  Aside - we should look at
adding -dev as suffix to files for this as fallback.

Nightlies might be a better update centre to share for testing too if
we need to in future.

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





"Navigate > GoToDeclaration" fails if target is in gradle project

2022-12-18 Thread Ernie Rael

I've just opened this issue

   https://github.com/apache/netbeans/issues/5120

It has lots of info gathered at the point of failure. But I suspect the 
problem comes from things done at project open.


I could compare some things between maven project open and gradle 
project open if that makes sense.


Any pointers to where those things are in the source code?

-ernie


Re: [External] : RE: [DISCUSSION] Gradle Patch Release for NetBeans 16

2022-12-18 Thread Neil C Smith
On Sun, 18 Dec 2022 at 16:58, Laszlo Kishalmi  wrote:
> I'm ready to update the netbeansrelease.json. In the 12.0-u1 and 12.0-u2
> it was just another entry with git hash, version and position. Would it
> be the same this time, or shall I use the vote entry as well. As far as
> I remember vote would remove the version suffix from the final artifacts
> and other places, that might be not required for 16-uc1.

Yes, try as before and leave out vote.  That does very little now, but
I think will still stop the version suffix being added.  Eric even
better to answer that!  Quite a lot has changed since we did 12.0
updates, but all should hopefully work OK.

Try to update netbeansrelease.json after merging and before building
if you can.  The build process also publishes to
https://nightlies.apache.org/netbeans/candidate/netbeans/ now which
currently has your build without a suffix.  Aside - we should look at
adding -dev as suffix to files for this as fallback.

Nightlies might be a better update centre to share for testing too if
we need to in future.

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: [External] : RE: [DISCUSSION] Gradle Patch Release for NetBeans 16

2022-12-18 Thread Laszlo Kishalmi

Dear Neil,

I'm ready to update the netbeansrelease.json. In the 12.0-u1 and 12.0-u2 
it was just another entry with git hash, version and position. Would it 
be the same this time, or shall I use the vote entry as well. As far as 
I remember vote would remove the version suffix from the final artifacts 
and other places, that might be not required for 16-uc1.


On 12/16/22 23:43, Neil C Smith wrote:

On Sat, 17 Dec 2022, 07:08 László Kishalmi, 
wrote:


I have not planned another build, just with the one with the updated
netbeansrelease.json.


Sure, that was all I actually meant by another build. Certainly not
suggesting anything else should go in.

I thought initially the build date in the module implementation versions
was because of netbeansrelease.json not being updated, but it's not. It's a
bug we'll have to live with for 16u1 and try to resolve by 17.

Thanks,

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