Re: [External] : [VOTE] Release Apache NetBeans 14 VSCode Extension

2022-06-09 Thread Petr Pisl
+1

Features tested on Ubuntu.

Petr

Od: Dusan Balek 
Odesláno: středa 8. června 2022 8:45
Komu: dev@netbeans.apache.org 
Předmět: Re: [External] : [VOTE] Release Apache NetBeans 14 VSCode Extension

+1 (binding)

Features tested on Linux. SHA check is OK.

Dusan

On 6/6/22 12:56 PM, Martin Balin wrote:
> Vote for Apache NetBeans 14.0 VSCode Extension (VSNetBeans)
>
> Primary voting arefact:
> https://urldefense.com/v3/__https://dist.apache.org/repos/dist/dev/netbeans/netbeans-vscode-ext/14.0/apache-netbeans-java-14.0.0.vsix__;!!ACWV5N9M2RV99hQ!OHVDKTERH1QClNbc-lXqsCVwhxOBsPG5r_aXYsrvjRXDDmkWlDWcVXp7UcKVpnpzqvpUxu7xOecPCvF1yCupqag$
>
> SHA512 checksum:
> https://urldefense.com/v3/__https://dist.apache.org/repos/dist/dev/netbeans/netbeans-vscode-ext/14.0/apache-netbeans-java-14.0.0.vsix.sha512__;!!ACWV5N9M2RV99hQ!OHVDKTERH1QClNbc-lXqsCVwhxOBsPG5r_aXYsrvjRXDDmkWlDWcVXp7UcKVpnpzqvpUxu7xOecPCvF1Pv7af1o$
>
> 2af3b142641f502245534ec62ce0d56e047e0eae3cae09a58c4fd08708930446e6e825ddfc6fa048a8ce97570cfac9b34f6fbffb6c385e90e79b7610ab7403b8
>   apache-netbeans-java-14.0.0.vsix
>
> PGP Signature file:
> https://urldefense.com/v3/__https://dist.apache.org/repos/dist/dev/netbeans/netbeans-vscode-ext/14.0/apache-netbeans-java-14.0.0.vsix.asc__;!!ACWV5N9M2RV99hQ!OHVDKTERH1QClNbc-lXqsCVwhxOBsPG5r_aXYsrvjRXDDmkWlDWcVXp7UcKVpnpzqvpUxu7xOecPCvF1WOS2lUM$
>
> Built by same job as main NetBeans 14 artefacts
> https://urldefense.com/v3/__https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release140/lastSuccessfulBuild/artifact/dist/vsix/__;!!ACWV5N9M2RV99hQ!OHVDKTERH1QClNbc-lXqsCVwhxOBsPG5r_aXYsrvjRXDDmkWlDWcVXp7UcKVpnpzqvpUxu7xOecPCvF1aCg70sg$
>
> This vote is going to be open at least 72 hours, vote with +1, 0, and
> -1 as usual. Please mark your vote with (binding) if you're an Apache
> NetBeans PMC member.
>
> This vote is dependent on the main Apache NetBeans 14 release vote passing.
>
> Regards,
> Martin
>
>

-
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://urldefense.com/v3/__https://cwiki.apache.org/confluence/display/NETBEANS/Mailing*lists__;Kw!!ACWV5N9M2RV99hQ!KDosBPk6JPGlDOXSjw_3a7nQmAFD5pRAZi8kBXjDgAYc4S9ne_7sIVjifiZdbgRUGLHY80_AEDyLgY4b4prN$





Re: [External] : [VOTE] Release Apache NetBeans 14 VSCode Extension

2022-06-09 Thread Jan Horvath
+1

Tested on MacOS, SHA Check OK.

Jan

On Thu, Jun 9, 2022 at 12:24 PM Petr Pisl  wrote:

> +1
>
> Features tested on Ubuntu.
>
> Petr
> 
> Od: Dusan Balek 
> Odesláno: středa 8. června 2022 8:45
> Komu: dev@netbeans.apache.org 
> Předmět: Re: [External] : [VOTE] Release Apache NetBeans 14 VSCode
> Extension
>
> +1 (binding)
>
> Features tested on Linux. SHA check is OK.
>
> Dusan
>
> On 6/6/22 12:56 PM, Martin Balin wrote:
> > Vote for Apache NetBeans 14.0 VSCode Extension (VSNetBeans)
> >
> > Primary voting arefact:
> >
> https://urldefense.com/v3/__https://dist.apache.org/repos/dist/dev/netbeans/netbeans-vscode-ext/14.0/apache-netbeans-java-14.0.0.vsix__;!!ACWV5N9M2RV99hQ!OHVDKTERH1QClNbc-lXqsCVwhxOBsPG5r_aXYsrvjRXDDmkWlDWcVXp7UcKVpnpzqvpUxu7xOecPCvF1yCupqag$
> >
> > SHA512 checksum:
> >
> https://urldefense.com/v3/__https://dist.apache.org/repos/dist/dev/netbeans/netbeans-vscode-ext/14.0/apache-netbeans-java-14.0.0.vsix.sha512__;!!ACWV5N9M2RV99hQ!OHVDKTERH1QClNbc-lXqsCVwhxOBsPG5r_aXYsrvjRXDDmkWlDWcVXp7UcKVpnpzqvpUxu7xOecPCvF1Pv7af1o$
> >
> >
> 2af3b142641f502245534ec62ce0d56e047e0eae3cae09a58c4fd08708930446e6e825ddfc6fa048a8ce97570cfac9b34f6fbffb6c385e90e79b7610ab7403b8
> apache-netbeans-java-14.0.0.vsix
> >
> > PGP Signature file:
> >
> https://urldefense.com/v3/__https://dist.apache.org/repos/dist/dev/netbeans/netbeans-vscode-ext/14.0/apache-netbeans-java-14.0.0.vsix.asc__;!!ACWV5N9M2RV99hQ!OHVDKTERH1QClNbc-lXqsCVwhxOBsPG5r_aXYsrvjRXDDmkWlDWcVXp7UcKVpnpzqvpUxu7xOecPCvF1WOS2lUM$
> >
> > Built by same job as main NetBeans 14 artefacts
> >
> https://urldefense.com/v3/__https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release140/lastSuccessfulBuild/artifact/dist/vsix/__;!!ACWV5N9M2RV99hQ!OHVDKTERH1QClNbc-lXqsCVwhxOBsPG5r_aXYsrvjRXDDmkWlDWcVXp7UcKVpnpzqvpUxu7xOecPCvF1aCg70sg$
> >
> > This vote is going to be open at least 72 hours, vote with +1, 0, and
> > -1 as usual. Please mark your vote with (binding) if you're an Apache
> > NetBeans PMC member.
> >
> > This vote is dependent on the main Apache NetBeans 14 release vote
> passing.
> >
> > Regards,
> > Martin
> >
> >
>
> -
> 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://urldefense.com/v3/__https://cwiki.apache.org/confluence/display/NETBEANS/Mailing*lists__;Kw!!ACWV5N9M2RV99hQ!KDosBPk6JPGlDOXSjw_3a7nQmAFD5pRAZi8kBXjDgAYc4S9ne_7sIVjifiZdbgRUGLHY80_AEDyLgY4b4prN$
>
>
>
>


Re: [VOTE] Release Apache NetBeans 14 VSCode Extension

2022-06-09 Thread Martin Balin
+1 (binding)
VSIX tested with micronaut-core project and GraalVM as runtime JDK.
Works well.
SHA matches.

Martin

On 6. 6. 2022, at 12:56, Martin Balin 
mailto:martin.ba...@oracle.com>> wrote:

Vote for Apache NetBeans 14.0 VSCode Extension (VSNetBeans)

Primary voting arefact:
https://dist.apache.org/repos/dist/dev/netbeans/netbeans-vscode-ext/14.0/apache-netbeans-java-14.0.0.vsix

SHA512 checksum:
https://dist.apache.org/repos/dist/dev/netbeans/netbeans-vscode-ext/14.0/apache-netbeans-java-14.0.0.vsix.sha512

2af3b142641f502245534ec62ce0d56e047e0eae3cae09a58c4fd08708930446e6e825ddfc6fa048a8ce97570cfac9b34f6fbffb6c385e90e79b7610ab7403b8
  apache-netbeans-java-14.0.0.vsix

PGP Signature file:
https://dist.apache.org/repos/dist/dev/netbeans/netbeans-vscode-ext/14.0/apache-netbeans-java-14.0.0.vsix.asc

Built by same job as main NetBeans 14 artefacts
https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release140/lastSuccessfulBuild/artifact/dist/vsix/

This vote is going to be open at least 72 hours, vote with +1, 0, and
-1 as usual. Please mark your vote with (binding) if you're an Apache
NetBeans PMC member.

This vote is dependent on the main Apache NetBeans 14 release vote passing.

Regards,
Martin




[RESULT] [VOTE] Release Apache NetBeans 14 VSCode Extension

2022-06-09 Thread Martin Balin
Voting Apache NetBeans 14.0 VSCode Extension (VSNetBeans) is closed with:

3x +1 (binding) Eric Barboni, Dusan Balek, Martin Balin
2x +1 Petr Pisl, Jan Horvath

VSNetBeans VSIX will be published to marketplace and to 
https://dist.apache.org/repos/dist/release/netbeans/netbeans-vscode-ext/

Thank you for votes and support
Martin

On 6. 6. 2022, at 12:56, Martin Balin 
mailto:martin.ba...@oracle.com>> wrote:

Vote for Apache NetBeans 14.0 VSCode Extension (VSNetBeans)

Primary voting arefact:
https://dist.apache.org/repos/dist/dev/netbeans/netbeans-vscode-ext/14.0/apache-netbeans-java-14.0.0.vsix

SHA512 checksum:
https://dist.apache.org/repos/dist/dev/netbeans/netbeans-vscode-ext/14.0/apache-netbeans-java-14.0.0.vsix.sha512

2af3b142641f502245534ec62ce0d56e047e0eae3cae09a58c4fd08708930446e6e825ddfc6fa048a8ce97570cfac9b34f6fbffb6c385e90e79b7610ab7403b8
  apache-netbeans-java-14.0.0.vsix

PGP Signature file:
https://dist.apache.org/repos/dist/dev/netbeans/netbeans-vscode-ext/14.0/apache-netbeans-java-14.0.0.vsix.asc

Built by same job as main NetBeans 14 artefacts
https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release140/lastSuccessfulBuild/artifact/dist/vsix/

This vote is going to be open at least 72 hours, vote with +1, 0, and
-1 as usual. Please mark your vote with (binding) if you're an Apache
NetBeans PMC member.

This vote is dependent on the main Apache NetBeans 14 release vote passing.

Regards,
Martin




Re: [RESULT] [VOTE] Release Apache NetBeans 14 VSCode Extension

2022-06-09 Thread Neil C Smith
On Thu, 9 Jun 2022 at 11:48, Martin Balin  wrote:
> VSNetBeans VSIX will be published to marketplace and to 
> https://dist.apache.org/repos/dist/release/netbeans/netbeans-vscode-ext/

Please wait to publish until Eric has closed the main vote.

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





Re: [External] : Re: [RESULT] [VOTE] Release Apache NetBeans 14 VSCode Extension

2022-06-09 Thread Martin Balin
Yes, no problem.
Martin

> On 9. 6. 2022, at 12:52, Neil C Smith  wrote:
> 
> On Thu, 9 Jun 2022 at 11:48, Martin Balin  wrote:
>> VSNetBeans VSIX will be published to marketplace and to 
>> https://urldefense.com/v3/__https://dist.apache.org/repos/dist/release/netbeans/netbeans-vscode-ext/__;!!ACWV5N9M2RV99hQ!Ns8gDCIfu7BH6Cy84XbYl1XBSoHhgTRM61aMfzYkXb_2oXmNGuM8tUuFk0YVbeIMLjFxEaKOmW19NfxuBeeP7A$
>>  
> 
> Please wait to publish until Eric has closed the main vote.
> 
> 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://urldefense.com/v3/__https://cwiki.apache.org/confluence/display/NETBEANS/Mailing*lists__;Kw!!ACWV5N9M2RV99hQ!Ns8gDCIfu7BH6Cy84XbYl1XBSoHhgTRM61aMfzYkXb_2oXmNGuM8tUuFk0YVbeIMLjFxEaKOmW19NfzCxKtFmQ$
>  
> 
> 
> 


-
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





[RESULT][VOTE] Release Apache NetBeans 14 Windows installer

2022-06-09 Thread Eric Barboni
The vote on Apache NetBeans 14 Windows installer 

Pass with 4+ binding vote and 2
+1 community vote. No 0  or -1 vote.
+1 binding
Neil C Smith
Geertjan Wielanga
John McDonel
Eric Barboni

2x +1 community
Tomáš Procházka
Kai Uwe Pel

Thanks for all vote. 

Best Regards
Eric


-
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





[RESULT][VOTE] Release Apache NetBeans 14

2022-06-09 Thread Eric Barboni
Hi 

The vote on Apache NetBeans 14 (vc1) is now closed with a result of 10
+1 binding votes, 3 +1 votes from community members. There was one 0
community vote, and no -1 votes.

Binging vote
Neil C Smith
Svata Dedic
Michael Bien
Matthias Bläsing
Glenn Holmer
Laszlo Kishalmi
Josh Juneau
Junichi Yamamoto
John McDonnell
Geertjan Wielenga

community
Kai Uwe Pel
Eric Bresie
Tomáš Procházka

We can release Apache NetBeans 14

Best Regards
Eric


-
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: Detecting file changed externally

2022-06-09 Thread John Kostaras
Hallo Ernie. Are you aware of the FileObject

class and its FileChageListener

s?

On Tue, Jun 7, 2022 at 7:17 PM Ernie Rael  wrote:

> Hi all,
>
> When NetBeans detects that a file has been changed externally, it
> updates the file. When this happens, my plugin usually /looses/ its
> javax.swing.text.Positions; they go to offset 0.
>
> How can I get notified or detect that this is about to happen so I can
> try to preserve the marks. Notification that it just happened would be
> better than nothing.
>
> Any hints on how to do this, or suggestions on where to look?
>
> Thanks,
> -ernie
>
>
> -
> 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: Detecting file changed externally

2022-06-09 Thread Laszlo Kishalmi
You might also check how the editor handles the reload, and try to 
improve the caret persistence situation.


On 6/7/22 18:17, Ernie Rael wrote:

Hi all,

When NetBeans detects that a file has been changed externally, it 
updates the file. When this happens, my plugin usually /looses/ its 
javax.swing.text.Positions; they go to offset 0.


How can I get notified or detect that this is about to happen so I can 
try to preserve the marks. Notification that it just happened would be 
better than nothing.


Any hints on how to do this, or suggestions on where to look?

Thanks,
-ernie


-
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: Detecting file changed externally

2022-06-09 Thread Ernie Rael

Thanks John,

I was listening to the DataObject, there is no "PROP_MODIFIED" when this 
happens.


I'll check the FileObject and see what's happening with that. I just 
started browsing the filesystem api docs this morning.


-ernie

On 6/9/22 6:49 AM, John Kostaras wrote:

Hallo Ernie. Are you aware of the FileObject

class and its FileChageListener

s?

On Tue, Jun 7, 2022 at 7:17 PM Ernie Rael  wrote:


Hi all,

When NetBeans detects that a file has been changed externally, it
updates the file. When this happens, my plugin usually /looses/ its
javax.swing.text.Positions; they go to offset 0.

How can I get notified or detect that this is about to happen so I can
try to preserve the marks. Notification that it just happened would be
better than nothing.

Any hints on how to do this, or suggestions on where to look?

Thanks,
-ernie


-
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: Detecting file changed externally

2022-06-09 Thread Ernie Rael

Thanks Laszlo,

If I new where it was...

Now that I'll pull my head out of my DataObject, and look at the 
FileObject, I might have a better clue as to what to look for. I was 
hoping someone could point to the editor files where the action is 
happening.


-ernie

On 6/9/22 6:52 AM, Laszlo Kishalmi wrote:
You might also check how the editor handles the reload, and try to 
improve the caret persistence situation.


On 6/7/22 18:17, Ernie Rael wrote:

Hi all,

When NetBeans detects that a file has been changed externally, it 
updates the file. When this happens, my plugin usually /looses/ its 
javax.swing.text.Positions; they go to offset 0.


How can I get notified or detect that this is about to happen so I 
can try to preserve the marks. Notification that it just happened 
would be better than nothing.


Any hints on how to do this, or suggestions on where to look?

Thanks,
-ernie


-
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







-
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: Detecting file changed externally

2022-06-09 Thread Laszlo Kishalmi

Maybe this one:

https://github.com/apache/netbeans/blob/d4c991929ac33daf2c8733b0f700e00e0f70acb7/platform/openide.text/src/org/openide/text/CloneableEditorSupport.java#L1701 
?


On 6/9/22 16:48, Ernie Rael wrote:

Thanks Laszlo,

If I new where it was...

Now that I'll pull my head out of my DataObject, and look at the 
FileObject, I might have a better clue as to what to look for. I was 
hoping someone could point to the editor files where the action is 
happening.


-ernie

On 6/9/22 6:52 AM, Laszlo Kishalmi wrote:
You might also check how the editor handles the reload, and try to 
improve the caret persistence situation.


On 6/7/22 18:17, Ernie Rael wrote:

Hi all,

When NetBeans detects that a file has been changed externally, it 
updates the file. When this happens, my plugin usually /looses/ its 
javax.swing.text.Positions; they go to offset 0.


How can I get notified or detect that this is about to happen so I 
can try to preserve the marks. Notification that it just happened 
would be better than nothing.


Any hints on how to do this, or suggestions on where to look?

Thanks,
-ernie


-
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







-
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: Kill ValidateLayerConsistencyTest?

2022-06-09 Thread Michael Bien

On 08.06.22 20:54, Matthias Bläsing wrote:

Hi again,

Am Montag, dem 06.06.2022 um 09:05 +0200 schrieb Jaroslav Tulach:

2022-05-29T17:06:31.9092439Z [junit] java.lang.AssertionError: Has to be 
NbRepository: org.openide.filesystems.Repository@744b325b
2022-05-29T17:06:31.9093232Z [junit]at 
org.netbeans.core.startup.Main.start(Main.java:298)
2022-05-29T17:06:31.9094120Z [junit]at 
org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)
2022-05-29T17:06:31.9094571Z [junit]at 
java.lang.Thread.run(Thread.java:750) 2022-05-29T17:06:31.9095235Z
[junit]

Isn't this caused by some race condition? Temporarily adding
`this.when = new
Exception("initialized")` into `Repository` constructor and printing
the
stacktraces when the `AssertionError` happens might tell us who's
responsible
for the misconfiguration of the test.

This is a very nice way to catch this - thank you for the idea. I had
to slightly alter it, but I got a stack trace.

I decided to go ahead with merging the PR and see how it develops in
the next few days.

I filed an issue to hold information about that problem:

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

Then at least there is a record of it and it can be further analysed.

Greetings

Matthias


Hi,

we are lucky that the test is on a job which doesn't take very long to 
run, but It might be good to consider to disable it anyway for now.


I had to run it 4 times here:

https://github.com/apache/netbeans/actions/runs/2465738672

and twice here:

https://github.com/apache/netbeans/actions/runs/2468718859

since this is in a 4x matrix, basically every commit will likely fail 
and someone has to restart something.


you can see it here:

https://github.com/apache/netbeans/commits/master


no hurry since this is still somewhat manageable i believe, but it would 
be better to turn it off until resolved IMO.


best regards,

michael



-
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: [VOTE] Release Apache NetBeans 14 Linux installer

2022-06-09 Thread Neil C Smith
+1 (binding)

And closing off the vote.

Thanks,

Neil

On Fri, 3 Jun 2022 at 11:57, Neil C Smith  wrote:
>
> Vote for Apache NetBeans 14 Linux installer.
>
> Primary voting artefact :
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-linux-x64.sh
>
> SHA512 checksum :
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-linux-x64.sh.sha512
>
> 878003401ba3c5ad8d033b2f737842fae09434fb3fd52629d0a88e9efc4471bf2c2ff83877d6eb7821b826628a5789c536669434b6c0ca2bb4718bb319645c11
>
> KEYS file :
>
> https://dist.apache.org/repos/dist/release/netbeans/KEYS
>
> PGP signature file :
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-linux-x64.sh.asc
>
> Built by Jenkins job :
>
> https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release140/27/
>
> This vote is going to be open at least 72 hours, vote with +1, 0, and
> -1 as usual. Please mark your vote with (binding) if you're an Apache
> NetBeans PMC member.
>
> This vote is dependent on the main Apache NetBeans 14 release vote passing.
>
> Thanks and 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: Kill ValidateLayerConsistencyTest?

2022-06-09 Thread Svata Dedic
I have very bad experience with turning off integration tests. And 
consistency of the registrations is ultimately important. We can easily 
go unnoticed to the situation when the IDE simply does not start because 
of broken layer.


I've fixed similar situation in the past (after some time without proper 
tests) and would appreciate not to go through the hell again.


-S.


Dne 09. 06. 22 v 19:10 Michael Bien napsal(a):

On 08.06.22 20:54, Matthias Bläsing wrote:

Hi again,

Am Montag, dem 06.06.2022 um 09:05 +0200 schrieb Jaroslav Tulach:
2022-05-29T17:06:31.9092439Z [junit] java.lang.AssertionError: 
Has to be NbRepository: org.openide.filesystems.Repository@744b325b
2022-05-29T17:06:31.9093232Z [junit] at 
org.netbeans.core.startup.Main.start(Main.java:298)
2022-05-29T17:06:31.9094120Z [junit] at 
org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)
2022-05-29T17:06:31.9094571Z [junit] at 
java.lang.Thread.run(Thread.java:750) 2022-05-29T17:06:31.9095235Z

[junit]

Isn't this caused by some race condition? Temporarily adding
`this.when = new
Exception("initialized")` into `Repository` constructor and printing
the
stacktraces when the `AssertionError` happens might tell us who's
responsible
for the misconfiguration of the test.

This is a very nice way to catch this - thank you for the idea. I had
to slightly alter it, but I got a stack trace.

I decided to go ahead with merging the PR and see how it develops in
the next few days.

I filed an issue to hold information about that problem:

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

Then at least there is a record of it and it can be further analysed.

Greetings

Matthias


Hi,

we are lucky that the test is on a job which doesn't take very long to 
run, but It might be good to consider to disable it anyway for now.


I had to run it 4 times here:

https://github.com/apache/netbeans/actions/runs/2465738672

and twice here:

https://github.com/apache/netbeans/actions/runs/2468718859

since this is in a 4x matrix, basically every commit will likely fail 
and someone has to restart something.


you can see it here:

https://github.com/apache/netbeans/commits/master


no hurry since this is still somewhat manageable i believe, but it would 
be better to turn it off until resolved IMO.


best regards,

michael



-
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





[RESULT][VOTE] Release Apache NetBeans 14 Linux installer

2022-06-09 Thread Neil C Smith
The vote on the Apache NetBeans 14 Linux installer is now closed.

Pass with six +1 binding votes and two +1 community votes. There were
no 0 or -1 votes.

+1 binding

Eric Barboni
Glenn Holmer
Emmanuel Hugonnet
Laszlo Kishalmi
Neil C Smith
Junichi Yamamoto

+1 community

Kai Uwe Pel
Tomáš Procházka

Thanks for voting!

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: [VOTE] Release Apache NetBeans 14 Linux installer

2022-06-09 Thread Neil C Smith
On Mon, 6 Jun 2022 at 12:15, Laszlo Kishalmi  wrote:
> I'm going to file a UI issues though, as usual the license is displayed
> with white on white using Ubuntu dark color scheme.

PS. The most visible of a number of issues.  I'm obviously inclined to
replacing it entirely.  I am even more inclined to say that I don't
want to sign and run a vote on it again in its current state.

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: Kill ValidateLayerConsistencyTest?

2022-06-09 Thread Matthias Bläsing
Hi,

Am Donnerstag, dem 09.06.2022 um 20:13 +0200 schrieb Svata Dedic:
> I have very bad experience with turning off integration tests. And 
> consistency of the registrations is ultimately important. We can easily 
> go unnoticed to the situation when the IDE simply does not start because 
> of broken layer.
> 
> I've fixed similar situation in the past (after some time without proper 
> tests) and would appreciate not to go through the hell again.

I understand that, but flaky tests put these into the "just ignore
them" category in my mind. They just delay merging and raise my
annoyance level with people claiming "test-driven-development" is a
good and always working ideal.

I don't even know where to start with this - maybe you have an idea
what could happen here?

Greetings

Matthias

-
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: Kill ValidateLayerConsistencyTest?

2022-06-09 Thread Michael Bien
sure, we can run like this for a while but it will be painful (for 
everyone) to have often failing tests in gh actions additionally to 
travis. It can also cause other issues. If someone isn't restarting them 
we might max out our artifact storage. And if they are not restarted 
within a day, we have to restart EVERYTHING to get new build artifacts.


We are lucky here that the job itself is short. If it would be in a 1h+ 
job that would be a showstopper IMO.


Matthias already spent time to try to fix this, there is no lack of 
trying. We don't have much room left to make tests more unreliable.


best regards,
michael


On 09.06.22 20:13, Svata Dedic wrote:
I have very bad experience with turning off integration tests. And 
consistency of the registrations is ultimately important. We can 
easily go unnoticed to the situation when the IDE simply does not 
start because of broken layer.


I've fixed similar situation in the past (after some time without 
proper tests) and would appreciate not to go through the hell again.


-S.


Dne 09. 06. 22 v 19:10 Michael Bien napsal(a):

On 08.06.22 20:54, Matthias Bläsing wrote:

Hi again,

Am Montag, dem 06.06.2022 um 09:05 +0200 schrieb Jaroslav Tulach:
2022-05-29T17:06:31.9092439Z [junit] java.lang.AssertionError: Has 
to be NbRepository: org.openide.filesystems.Repository@744b325b
2022-05-29T17:06:31.9093232Z [junit] at 
org.netbeans.core.startup.Main.start(Main.java:298)
2022-05-29T17:06:31.9094120Z [junit] at 
org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)
2022-05-29T17:06:31.9094571Z [junit] at 
java.lang.Thread.run(Thread.java:750) 2022-05-29T17:06:31.9095235Z

[junit]

Isn't this caused by some race condition? Temporarily adding
`this.when = new
Exception("initialized")` into `Repository` constructor and printing
the
stacktraces when the `AssertionError` happens might tell us who's
responsible
for the misconfiguration of the test.

This is a very nice way to catch this - thank you for the idea. I had
to slightly alter it, but I got a stack trace.

I decided to go ahead with merging the PR and see how it develops in
the next few days.

I filed an issue to hold information about that problem:

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

Then at least there is a record of it and it can be further analysed.

Greetings

Matthias


Hi,

we are lucky that the test is on a job which doesn't take very long 
to run, but It might be good to consider to disable it anyway for now.


I had to run it 4 times here:

https://github.com/apache/netbeans/actions/runs/2465738672

and twice here:

https://github.com/apache/netbeans/actions/runs/2468718859

since this is in a 4x matrix, basically every commit will likely fail 
and someone has to restart something.


you can see it here:

https://github.com/apache/netbeans/commits/master


no hurry since this is still somewhat manageable i believe, but it 
would be better to turn it off until resolved IMO.


best regards,

michael



-
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






-
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





Community installers for NetBeans 14

2022-06-09 Thread Neil C Smith
Hi All,

I've been working on updating our (as in Codelerity / Gj IT) community
installers today.  Aside from the cross-platform DEB that uses system
JDK, they now bundle JDK 18 (Zulu, except for Liberica in Pi
AppImage).

I won't link them into the Codelerity page, which is linked from the
current Apache NetBeans download page, until we're ready to announce
the ASF releases.

However, in the meantime, some advance testing would be appreciated!

https://github.com/codelerity/netbeans-installers/releases/tag/v14-build1

Obviously, these are community releases, not releases of ASF, and
include elements that are not licensed under ASL.  They are all built
from the ASF binary zip.

I've also made a bunch of updates for NBPackage to facilitate building
these (and some recent RCP installers) -
https://github.com/apache/netbeans-tools/pull/51

Thanks all and 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





NetBeans Module with dependencies

2022-06-09 Thread César García
Hi,

I'm trying to generate a NetBeans module that can use the graphs displayed
in the Profiler module.

My intention is to use Maven for module development, but it does not create
the module correctly, the MANIFEST.MF and the .jar and .nbm files do not
include the required dependencies.

I include the pom.xml for your kind comments.

I made the same module with Ant and it worked including a direct dependency
on the ...profiler-ui module.

I've already tried using various maven plugins like "shade", but I can't
get the application to recognize the ...profiler-ui module.

I appreciate your help,



-
The pom.xml
---

http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
4.0.0
com.mycompany
mavenproject9
1.0-SNAPSHOT
nbm




org.apache.netbeans.utilities
nbm-maven-plugin
4.7
true






org.netbeans.modules:org-netbeans-lib-profiler-charts
impl

org.netbeans.lib.profiler.charts/1 > 1.22




org.netbeans.modules:org-netbeans-lib-profiler-ui

impl
org.netbeans.lib.profiler.ui/1 >
1







org.apache.maven.plugins
maven-compiler-plugin
3.8.1

1.8
1.8




org.apache.maven.plugins
maven-jar-plugin
3.1.2



${project.build.outputDirectory}/META-INF/MANIFEST.MF

  true










org.netbeans.api
org-netbeans-api-annotations-common
RELEASE130


org.netbeans.api
org-openide-windows
RELEASE130


org.netbeans.api
org-openide-util
RELEASE130


org.netbeans.api
org-openide-util-ui
RELEASE130


org.netbeans.api
org-openide-util-lookup
RELEASE130


org.netbeans.api
org-openide-awt
RELEASE130


org.netbeans.api
org-netbeans-modules-settings
RELEASE130


org.netbeans.modules
org-netbeans-lib-profiler-ui
RELEASE130
jar


org.netbeans.modules
org-netbeans-lib-profiler-charts
RELEASE130




UTF-8




Re: Detecting file changed externally

2022-06-09 Thread Ernie Rael

On 6/9/22 6:52 AM, Laszlo Kishalmi wrote:
You might also check how the editor handles the reload, and try to 
improve the caret persistence situation.


Laszlo, your pointer into CloneableEditorSupport saved lots of time, 
thanks. The key discovery is that during reload, 
"getPositionManager().documentOpened(openClose.docRef)" is used to 
adjust/fixup "org.openide.text.PositionRef"; PositionRef is an 
implementation of swing.text.Position that come from 
CES.createPositionRef. The positionManager handles adjusting 
PositionRef's from the old document to the new document. There is 
support for persisting PositionRef's.


jVi is swing based, runs standalone, and produces a jar which includes 
handling the persistence of regular swing posistions; the jar is used by 
the NetBeans layer. I'd never heard of a PositionRef, overriding jVi to 
use CES.createPositionRef fixed the jVi problem with reload.


Also, I can now confirm by observation that the CES.PositionRef 
maintains line/column, not offset, between old and new. If the number of 
lines is changed, then the positionRef is wrong by that number of lines; 
if the length of lines is changed, then the positionRef is correct.


In DocumentOpenClose around line 761 there is code to preserve caret 
positions; this code uses positions from Document.createPosition, not 
positions from CES. It also seems to be using offset. This may be 
related to the problems with caret positions that you mention. I'm not 
exactly sure what observed behavior you were referring to.


All these classes are in platform/openide.text/src/org/openide/text

Assuming there is a CES.RELOADED event; this is a way to save/restore 
line/col with caret

1)  FILE CHANGE EVENT
    create PositionRef for each caret's position
2)  CES.RELOADED EVENT
    restore caret position from PositionRef saved in 1).

Note that there is usually many saves in a row from 1). Restore is only 
done rarely with 2).


In any event, it sure seems like a CES.RELOADED EVENT is missing. Could 
it be that the reload code was a later addition and didn't get event 
representation. Or maybe thought that things could be handled 
transparently (famous last words).


Changing how caret is restored would be a behavioral change, but maybe 
that would be OK.


Below are all the events from FileObject, DataObject, 
CloneableEditorSupport. In the 2nd, changing with the editor, the first 
events are when a character is added to the file, the last events are 
when the file is written. The sequence of events ends with a FILE OBJECT 
EVENT.


In the 1st, external change, the only event is a FILE OBJECT EVENT. The 
stack trace shows that it is from a Watcher thread. Events starts with 
the FILE OBJECT EVENT.


=== external change

FILE OBJECT EVENT: BaseFileObj$FileEventImpl[... ,expected=false]

"Pending refresh :: FILE_CHANGED 
/src/nb/NetBeansProjects/JavaLibrary1/src/play/NewClass.java"
    at 
org.netbeans.modules.jvi.impl.NbBuffer$FoListen.fileChanged(NbBuffer.java:170)

    ...
>>> at org.openide.filesystems.FileObject.refresh(FileObject.java:1233)
    at 
org.netbeans.modules.masterfs.watcher.Watcher$1.run(Watcher.java:415)
    at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
    at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)

    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
    at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



=== modify/write with editor


CES EVENT: java.beans.PropertyChangeEvent[propertyName=modified;
    oldValue=false; newValue=true; ]
DATA OBJECT EVENT: java.beans.PropertyChangeEvent[propertyName=modified;
    oldValue=false; newValue=true; ]
DATA OBJECT EVENT: java.beans.PropertyChangeEvent[propertyName=cookie ]
DATA OBJECT EVENT: java.beans.PropertyChangeEvent[propertyName=cookie ]
CES EVENT: java.beans.PropertyChangeEvent[propertyName=modified;
    oldValue=true; newValue=false; ]
DATA OBJECT EVENT: java.beans.PropertyChangeEvent[propertyName=modified;
    oldValue=true; newValue=false ]
FILE OBJECT EVENT: BaseFileObj$FileEventImpl[... ,expected=false]

"AWT-EventQueue-0 :: FILE_CHANGED 
/src/nb/NetBeansProjects/JavaLibrary1/src/play/NewClass.java"
    at 
org.netbeans.modules.jvi.impl.NbBuffer$FoListen.fileChanged(NbBuffer.java:170)

    ...
    at 
org.openide.text.DataEditorSupport.saveDocument(DataEditorSupport.java:568)
    at 
org.netbeans.modules.openide.loaders.SimpleES$SaveCookieImpl.save(SimpleES.java:202)






On 6/7/22 18:17, Ernie Rael wrote:

Hi all,

When NetBeans detects that a file has been changed externally, it 
updates the file. When this happens, my plugin usually /looses/ its 
javax.swing.text.Positions; they go to offset 0.


How can I get notified or detect that this is about to happen so I 
can try to preserve the marks. Notification that it just

Re: Detecting file changed externally

2022-06-09 Thread Ernie Rael

On 6/9/22 7:56 PM, Ernie Rael wrote:

On 6/9/22 6:52 AM, Laszlo Kishalmi wrote:
You might also check how the editor handles the reload, and try to 
improve the caret persistence situation.

[snip]
In DocumentOpenClose around line 761 there is code to preserve caret 
positions; this code uses positions from Document.createPosition, not 
positions from CES. It also seems to be using offset. This may be 
related to the problems with caret positions that you mention. I'm not 
exactly sure what observed behavior you were referring to.


I just stepped through this code and the exact same offset is saved and 
restored. That code is broken. The only explanation is that the created 
Position is on the doc after reload.


-ernie


-
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





Anyone else building NetBeans behind a proxy server?

2022-06-09 Thread John Neffenger
If you build NetBeans behind a proxy server, I would greatly appreciate 
your help in testing the following pull request:


  Make one connection to download a file, not three
  https://github.com/apache/netbeans/pull/4206

The test involves deleting the external cache (742 MB) and building 
NetBeans from my pull request branch as follows:


$ rm -r ~/.hgexternalcache/*
$ git clone -b go-gentle-on-proxies --depth 1 
https://github.com/jgneff/netbeans.git

$ cd netbeans
$ ant -quiet -Dmetabuild.branch=master

Building from scratch takes about 13 minutes on my machine. Note that 
it's important to start off with a clean clone of the repository to test 
downloading all 565 external files.


Then post your results on the mailing list or in the pull request.

It would also be helpful to know how you're informing the build of the 
proxy servers. For example, are you setting ANT_OPTS, exporting the 
standard proxy environment variables, or using some other method?


  export ANT_OPTS=-Dhttp.proxyHost=10.10.10.1 -Dhttp.proxyPort=8222 \
  -Dhttps.proxyHost=10.10.10.1 -Dhttps.proxyPort=8222

  export https_proxy=http://10.10.10.1:8222/
  export http_proxy=http://10.10.10.1:8222/

Thank you!
John

-
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