Re: Anyone tried JetBrainsRuntime with Netbeans?

2022-01-19 Thread Jean-Marc Borer
Interesting. So it seems that some Java modules are missing... Strange if
it is a fork of the JDK.

On Wed, Jan 19, 2022 at 4:15 PM Laszlo Kishalmi 
wrote:

> lkishalmi@thelio:~$ netbeans --jdkhome ~/jbr
> Error occurred during initialization of boot layer
> java.lang.module.FindException: Module jdk.jshell not found
>
> On 1/19/22 06:12, Jean-Marc Borer wrote:
> > Hello guys,
> >
> > Did anyone of you try to use JetBrain's runtime with Netbeans and if yes,
> > what came out of it?
> > https://github.com/JetBrains/JetBrainsRuntime
> >
> > Cheers,
> >
> > JMB
> >
>
> -
> 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
>
>
>
>


[DISCUSSION] Improve process for changes to native binaries used by NetBeans

2022-01-19 Thread Christian Oyarzun
There have been a few threads discussing how to build and deploy fixes to
native binaries used by NetBeans.
I’ve attempted to identify the native binaries in the NetBeans repo.

• https://github.com/apache/netbeans/tree/master/nbi/engine/native
• https://github.com/apache/netbeans/tree/master/nb/ide.launcher/macosx
•
https://github.com/apache/netbeans/tree/master/harness/apisupport.harness/macosx-launcher-src
•
https://github.com/apache/netbeans/tree/master/profiler/lib.profiler/native
• https://github.com/apache/netbeans/tree/master/ide/extbrowser/native
•
https://github.com/apache/netbeans/tree/master/ide/dlight.nativeexecution/tools
• https://github.com/apache/netbeans/tree/master/java/performance/jtrace
•
https://github.com/apache/netbeans/tree/master/contrib/cordova.platforms.ios/iDeviceNativeBinding

The problem is that fixing a bug or adding a feature to native binaries is
a multi-step process.

1. Merge Pull request that fixes the native source code.
2. Get the native source compiled. For most of the native binaries there is
no build automation for this.
  a. Lars has leveraged GitHub actions to get the lib.profiler native
code compiled.
  b. Eric has moved the Windows native launchers to a separate repo.
  These get compiled on Apache Jenkins servers, is this correct?
3. The native binaries then need to be manually uploaded to OSUOSL by a PMC
member.
  a. In the case of the Window native launcher, these get published to
maven central.
4. Merge Pull request that updated the external/binaries list.
5. For the harness native binaries it is beneficial that nbm-maven-harness
and nbm-maven-plugin get updated with new binaries.

Lars might need to correct me on this. There are fixes for NBI native
binaries which have been sitting in Git for long time but never
made it into an actual release. PR #1844 fix for [NETBEANS-2523] and PR
#1504 fix for [NETBEANS-3094]. So these fixes only got to Step 1.

What can be done to improve this process of getting fixes/features in the
native code into a binary that is included in a NetBeans release?
Some ideas raised in other threads:

1. Use GitHub actions to build the binaries? This currently seems to be the
only way to get a macOS binary compiled since Apache Infra does not have
any Macs.
(Except the macOS native launcher which gets compiled when John builds
the Mac installer).
2. Move the native source into separate repos as Eric did with the Windows
launchers?
3. Migrate away from storing the binary artifacts on OSUOSL in favor of
maven central?
4. Other ideas?


Here are various list threads related to this topic (in no particular
order):

• Profiling on 64bit Windows
   https://lists.apache.org/thread/388wddtwfjzxjs2xgkglh60ttnm05hy9

• Re: Profiling on 64bit Windows
   https://lists.apache.org/thread/lw1kw3jzo795lsh8vvs986wzgw93gtdt

• Re: Profiling on 64bit Windows
   https://lists.apache.org/thread/rlso38wtpy34ykdlcngo1fcrtc2thb7n

• GitHub Packages
   https://lists.apache.org/thread/bz82m710flcr8hsn85k26llj8ozz2n7r

• How does NBI native binaries become part of a release?
   https://lists.apache.org/thread/rhnjo65lc4ojqhfsdyxsfnvlw1f19ljh

• Re: Profiler crash on Windows (was: [NOTICE] Last PRs for Apache NetBeans
12.4 Beta)
  https://lists.apache.org/thread/21h2w0jv5rsmf59vrxpp2wpj6dfwjvrl

• Native launchers repository
  https://lists.apache.org/thread/jggow0voyl1t1skd2d1owjppj1frkkpm

• Re: Compiling shared libraries (cnd.remote)
  https://lists.apache.org/thread/4yfno0yyn3jy331l448ptl6cckb7q3ky

--Christian


[NOTICE] Apache NetBeans 13 release candidate 1 available for testing

2022-01-19 Thread Neil C Smith
The first release candidate build for Apache NetBeans 13 is available
(links below).

Please help with testing, and file issues in GitHub .. yes, GitHub! ..
as necessary -

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

If you're a committer adding an issue, or helping triage an issue
(please do!), add the milestone and/or priority labels as appropriate.
Use priority:high for should be fixed before release,
priority:critical for must be fixed before we can release.

**The following rules are applied to pull requests from now until release:**

PR's intended to be included in the 13 release :
 - Limited to fixes (no need for a ticket!)
 - Base on the delivery branch.
 - Mark with NB13 milestone (we'll monitor - no need to add us all as
reviewers!).
 - Will be merged by the release team.
 - Will be assessed against bug priorities - please use the
priority:high and priority:critical labels here too.

PR's with features for NB14 :
 - Base on the master branch.
 - Will be reviewed and merged in the usual way.
 - If possible stay away from big refactoring.
 - If possible do not overlap with fixes for 13 (delivery will be
merged to master weekly).


The NetBeans 13-rc1 artefacts (inc. some unsigned installers) are here :
https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release130/4/artifact/dist/

Link to the binary zip:
https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release130/4/artifact/dist/netbeans/netbeans-13-rc1-bin.zip
SHA512: 
fa95f19d22c9030dd0282d05e601a3ea44961b17467c685247f654009d553987aa649a5c40252d45458eb41f9a05730a058f4f7a9149c2ab78bd69b799c8668e

The sources are here:
https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release130/4/artifact/dist/netbeans/netbeans-13-rc1-source.zip
SHA512: 
89aaf75aaf04b11c6249520a232c67ffb057391686206f915da2dc770242030adee78430503addfa6d15373052f36aee2b6c6a6c431a5b3a6ac6bc6c7d1679d5

The PRs already integrated into 13 are :
https://github.com/apache/netbeans/pulls?q=is%3Aclosed+milestone%3ANB13

Release schedule :
https://cwiki.apache.org/confluence/display/NETBEANS/Release+Schedule

Bug Priority Guidelines (outdated - needs review based on labelling above) :
https://cwiki.apache.org/confluence/display/NETBEANS/Bug+Priority+Guidelines

NB 13 major changes (HELP wanted to complete - currently nothing there!) :
https://cwiki.apache.org/confluence/display/NETBEANS/Apache+NetBeans+13


Thank you for your contributions!

Best wishes,

Neil

PS. Please don't respond to this email directly - start a new thread.
Let's keep the [NOTICE] tag for what it says. Thanks! :-)

-
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: New theme for netbeans, team member wanted

2022-01-19 Thread Eirik Bakke
In case it is helpful, I made a quick screencast video showing the icon drawing 
process I used in the past, in Adobe Illustrator:

https://vimeo.com/manage/videos/667860571

-- Eirik

From: Arafat BOUCHAFRA 
Sent: Wednesday, January 19, 2022 9:35 AM
To: Eirik Bakke 
Cc: Venus Chung ; Peter Cheung ; Apache 
NetBeans ; Peter Cheung 
Subject: Re: New theme for netbeans, team member wanted

No worries, thanks for the update!

Le mer. 19 janv. 2022 à 14:35, Eirik Bakke 
mailto:eba...@ultorg.com>> a écrit :
Sorry about that--thank you for your help with this project! Happy to answer 
any questions, or to do a screen sharing session.

(When I was drawing icons myself, it took me many hours to figure out the right 
tools to use in Illustrator to get the right result. But it goes faster after a 
few icons!)

There is also a style guide at 
https://issues.apache.org/jira/browse/NETBEANS-2617 .

-- Eirik

From: Venus Chung mailto:ve...@quantr.hk>>
Sent: Wednesday, January 19, 2022 1:34 AM
To: Eirik Bakke mailto:eba...@ultorg.com>>; Peter Cheung 
mailto:pe...@quantr.hk>>; 
dev@netbeans.apache.org
Cc: Arafat BOUCHAFRA mailto:arafat...@gmail.com>>; Peter 
Cheung mailto:mcheun...@hotmail.com>>
Subject: 回覆: New theme for netbeans, team member wanted

Dear All,

I made a mistake,I designed the wrong icon, it needs to be redesigned, please 
give me more time.

Best Regards,
Venus

寄件者: Eirik Bakke mailto:eba...@ultorg.com>>
寄件日期: 2022年1月18日 下午 11:11
收件者: Peter Cheung mailto:pe...@quantr.hk>>; 
dev@netbeans.apache.org 
mailto:dev@netbeans.apache.org>>
副本: Arafat BOUCHAFRA mailto:arafat...@gmail.com>>; Peter 
Cheung mailto:mcheun...@hotmail.com>>; Venus Chung 
mailto:ve...@quantr.hk>>
主旨: RE: New theme for netbeans, team member wanted


Hi, Peter.



Thank you so much for these efforts!! Could we see what the icons look like 
without Pixel Preview enabled? (View->Pixel Preview in Illustrator)



Might you also send the latest version of the Illustrator file? I'd love to 
have a look at grid alignments, and see the new icons against the background 
layer with the old bitmap icons, and at different resolutions etc.



Happy to meet next week. I could do anytime 8am-11am Hong Kong time, for 
instance. Feel free to pick a day.



Thanks again very much to Venus and you!



-- Eirik

(Now on US east coast time.)



From: Peter Cheung mailto:pe...@quantr.hk>>
Sent: Tuesday, January 18, 2022 1:45 AM
To: Eirik Bakke mailto:eba...@ultorg.com>>; 
dev@netbeans.apache.org
Cc: Arafat BOUCHAFRA mailto:arafat...@gmail.com>>; Peter 
Cheung mailto:mcheun...@hotmail.com>>
Subject: Re: New theme for netbeans, team member wanted



Dear Eirik & All

Let's have a wrap-up meeting next week?



Thanks

From Peter (System Architect, Quantr Limited https://www.quantr.hk , Mobile : 
96554595)



From: Peter Cheung mailto:pe...@quantr.hk>>
Sent: Tuesday, January 18, 2022 11:36 AM
To: Eirik Bakke mailto:eba...@ultorg.com>>; 
dev@netbeans.apache.org 
mailto:dev@netbeans.apache.org>>
Cc: Arafat BOUCHAFRA mailto:arafat...@gmail.com>>; Peter 
Cheung mailto:mcheun...@hotmail.com>>
Subject: Re: New theme for netbeans, team member wanted



Dear all

Please see the last three rows, is the style matched?



Thanks

From Peter (System Architect, Quantr Limited https://www.quantr.hk , Mobile : 
96554595)



From: Eirik Bakke mailto:eba...@ultorg.com>>
Sent: Thursday, January 13, 2022 1:17 AM
To: dev@netbeans.apache.org 
mailto:dev@netbeans.apache.org>>
Cc: Arafat BOUCHAFRA mailto:arafat...@gmail.com>>; Peter 
Cheung mailto:mcheun...@hotmail.com>>; Peter Cheung 
mailto:pe...@quantr.hk>>
Subject: RE: New theme for netbeans, team member wanted



I think I understand your goal, and this thread now has a good summary of pros 
and cons.

Again, this is really up to whoever does the icon drawing work. Myself, I have 
just contributed the icons that happened to be used in my NetBeans Platform app.

Would you be interested in participating in the actual icon drawing process, by 
the way? Or is the use of Adobe Illustrator a deal-breaker for you? My company 
could pay for a license.

Alternatively we could try to work out an Inkscape process, if someone wants to 
commit to drawing a significant number of icons in it (separate from the ones 
Peter Cheung is working on). Although the lack of an Artboards feature in 
Inkscape could be a problem.

-- Eirik
[1] 
https://issues.apache.org/jira/secure/attachment/13026411/13026411_210604+Icons+Overview+Cropped.png

-Original Message-
From: Neil C Smith mailto:neilcsm...@apache.org>>
Sent: Wednesday, January 12, 2022 11:18 AM
To: dev@netbeans.apache.org
Cc: Arafat BOUCHAFRA mailto:arafat...@gmail.com>>; Peter 
Cheung mailto:mcheun.

Re: Netbeans localization

2022-01-19 Thread antonio

I think https://github.com/apache/netbeans-l10n is the way to go.

Clone that repo and follow the readme. It seems you have to unzip your 
translations under the proper locale in the "src" directory there.


Let us know how it goes!

Kind regards,
Antonio


On 19/01/2022 14:54, Milan Horák - tHB wrote:

This actually worked, thank you so much.

Now I just translate it all :D

What is the reverse procedure then (put translation back into application)?

The reason for this is, that we have one big NetBeans platform 
application for everything to manage our company and I need to translate 
UI (so not the whole platform) into our language (CS_cz).


*Milan Horák*
informatik

Dne 19. 01. 22 v 14:29 antonio napsal(a):

Hi Milan,

Try this:

1. "ant"
I don't know if this is strictly required. You may try without running 
ant first.


2. "ant build-nbms"

This generates the "nbbuild/nbms" directory with 450 Mb. of the finest 
NetBeans bits in the whole world.


3. "ant l10n-kit"

This generates unzips all nbm files (.nbm files are just zip files 
with another name) into a "nbbuild/tmp" directory (that is 
automatically created for you) and then generates a 
nbbuild\build\l10n.zip file that you're looking for. In my box (and 
with the whole NetBeans + cnd + dlight, this is a 103 Mb. file).


I know these steps are time consuming. Maybe we could set-up a Jenkins 
job that generates these artifacts. It seems Sun/Oracle NetBeans did 
publish these "ide-l10n-XXX.zip" files ages ago, so you didn't have to 
build one yourself.


I found that [1] has a tutorial on how to translate to Vietnamese, 
that can be help to you. Also we have [2], but I cannot explain what 
this does.


Hope this helps,
Antonio

[1]
https://dzone.com/articles/nb-in-vietnamese

[2]
https://github.com/apache/netbeans-l10n

On 19/01/2022 11:48, Milan Horák - tHB wrote:
Had to create empty directories tmp and nbms under nbbuild directory, 
to ant stop complaining


-
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: Anyone tried JetBrainsRuntime with Netbeans?

2022-01-19 Thread Laszlo Kishalmi

lkishalmi@thelio:~$ netbeans --jdkhome ~/jbr
Error occurred during initialization of boot layer
java.lang.module.FindException: Module jdk.jshell not found

On 1/19/22 06:12, Jean-Marc Borer wrote:

Hello guys,

Did anyone of you try to use JetBrain's runtime with Netbeans and if yes,
what came out of it?
https://github.com/JetBrains/JetBrainsRuntime

Cheers,

JMB



-
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: Netbeans Maven plugin release process

2022-01-19 Thread Eric Barboni
Hi,
 It's a vote like for other release and some setup for release manager. I can 
handle it if needed but I'm not sure it worth it yet (1).
https://cwiki.apache.org/confluence/display/NETBEANS/Releasing+Apache+NetBeans+maven+utilities

(1) We had issue according to the jdk version. If you build on jdk 17-18 the 
jar is not parsable by the plugin 
maven-dependency-analyzer 1.11.3 and make errors. Due to the dependency on 
org.ow2.asm:asm 8.0 it use that is not able to "open"  jars with recent .class 
version .

Best Regards
Eric



-Message d'origine-
De : Jean-Marc Borer  
Envoyé : mercredi 19 janvier 2022 15:47
À : dev@netbeans.apache.org
Objet : Netbeans Maven plugin release process

Hello,

I would like to know, what the process is to release a new version of the nbm 
maven plugin? I fixed it recently and was wondering what the steps are to make 
it release.

I think it is still too early since I ran over another very strange bug with 
the manifest generation on some of my colleagues PCs. Happens only there. 
Strange. I have to investigate, but it seems not easy to debug.


-
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 Maven plugin release process

2022-01-19 Thread Jean-Marc Borer
Hello,

I would like to know, what the process is to release a new version of the
nbm maven plugin? I fixed it recently and was wondering what the steps are
to make it release.

I think it is still too early since I ran over another very strange bug
with the manifest generation on some of my colleagues PCs. Happens only
there. Strange. I have to investigate, but it seems not easy to debug.


Re: New theme for netbeans, team member wanted

2022-01-19 Thread Arafat BOUCHAFRA
No worries, thanks for the update!

Le mer. 19 janv. 2022 à 14:35, Eirik Bakke  a écrit :

> Sorry about that--thank you for your help with this project! Happy to
> answer any questions, or to do a screen sharing session.
>
>
>
> (When I was drawing icons myself, it took me many hours to figure out the
> right tools to use in Illustrator to get the right result. But it goes
> faster after a few icons!)
>
>
>
> There is also a style guide at
> https://issues.apache.org/jira/browse/NETBEANS-2617 .
>
>
>
> -- Eirik
>
>
>
> *From:* Venus Chung 
> *Sent:* Wednesday, January 19, 2022 1:34 AM
> *To:* Eirik Bakke ; Peter Cheung ;
> dev@netbeans.apache.org
> *Cc:* Arafat BOUCHAFRA ; Peter Cheung <
> mcheun...@hotmail.com>
> *Subject:* 回覆: New theme for netbeans, team member wanted
>
>
>
> Dear All,
>
>
>
> I made a mistake,I designed the wrong icon, it needs to be redesigned,
> please give me more time.
>
>
>
> Best Regards,
> Venus
> --
>
> *寄件者**:* Eirik Bakke 
> *寄件日期**:* 2022年1月18日 下午 11:11
> *收件者**:* Peter Cheung ; dev@netbeans.apache.org <
> dev@netbeans.apache.org>
> *副本**:* Arafat BOUCHAFRA ; Peter Cheung <
> mcheun...@hotmail.com>; Venus Chung 
> *主旨**:* RE: New theme for netbeans, team member wanted
>
>
>
> Hi, Peter.
>
>
>
> Thank you so much for these efforts!! Could we see what the icons look
> like without Pixel Preview enabled? (View->Pixel Preview in Illustrator)
>
>
>
> Might you also send the latest version of the Illustrator file? I'd love
> to have a look at grid alignments, and see the new icons against the
> background layer with the old bitmap icons, and at different resolutions
> etc.
>
>
>
> Happy to meet next week. I could do anytime 8am-11am Hong Kong time, for
> instance. Feel free to pick a day.
>
>
>
> Thanks again very much to Venus and you!
>
>
>
> -- Eirik
>
> (Now on US east coast time.)
>
>
>
> *From:* Peter Cheung 
> *Sent:* Tuesday, January 18, 2022 1:45 AM
> *To:* Eirik Bakke ; dev@netbeans.apache.org
> *Cc:* Arafat BOUCHAFRA ; Peter Cheung <
> mcheun...@hotmail.com>
> *Subject:* Re: New theme for netbeans, team member wanted
>
>
>
> Dear Eirik & All
>
> Let's have a wrap-up meeting next week?
>
>
>
> Thanks
>
> From Peter (System Architect, Quantr Limited https://www.quantr.hk ,
> Mobile : 96554595)
> --
>
> *From:* Peter Cheung 
> *Sent:* Tuesday, January 18, 2022 11:36 AM
> *To:* Eirik Bakke ; dev@netbeans.apache.org <
> dev@netbeans.apache.org>
> *Cc:* Arafat BOUCHAFRA ; Peter Cheung <
> mcheun...@hotmail.com>
> *Subject:* Re: New theme for netbeans, team member wanted
>
>
>
> Dear all
>
> Please see the last three rows, is the style matched?
>
>
>
> Thanks
>
> From Peter (System Architect, Quantr Limited https://www.quantr.hk ,
> Mobile : 96554595)
> --
>
> *From:* Eirik Bakke 
> *Sent:* Thursday, January 13, 2022 1:17 AM
> *To:* dev@netbeans.apache.org 
> *Cc:* Arafat BOUCHAFRA ; Peter Cheung <
> mcheun...@hotmail.com>; Peter Cheung 
> *Subject:* RE: New theme for netbeans, team member wanted
>
>
>
> I think I understand your goal, and this thread now has a good summary of
> pros and cons.
>
> Again, this is really up to whoever does the icon drawing work. Myself, I
> have just contributed the icons that happened to be used in my NetBeans
> Platform app.
>
> Would you be interested in participating in the actual icon drawing
> process, by the way? Or is the use of Adobe Illustrator a deal-breaker for
> you? My company could pay for a license.
>
> Alternatively we could try to work out an Inkscape process, if someone
> wants to commit to drawing a significant number of icons in it (separate
> from the ones Peter Cheung is working on). Although the lack of an
> Artboards feature in Inkscape could be a problem.
>
> -- Eirik
> [1]
> https://issues.apache.org/jira/secure/attachment/13026411/13026411_210604+Icons+Overview+Cropped.png
>
> -Original Message-
> From: Neil C Smith 
> Sent: Wednesday, January 12, 2022 11:18 AM
> To: dev@netbeans.apache.org
> Cc: Arafat BOUCHAFRA ; Peter Cheung <
> mcheun...@hotmail.com>; Peter Cheung 
> Subject: Re: New theme for netbeans, team member wanted
>
> On Wed, 12 Jan 2022 at 15:48, Eirik Bakke  wrote:
> > Sorry, to clarify: The point about the color palette was my own. My
> argument is that the existing NetBeans icon style is not very well-suited
> for assigning logical colors. In order to designate a meaningful,
> configurable, "accent color", for example, we would have to change the
> overall color palette of the entire icon set. And that's something that's
> easier to do after-the-fact than up-front (see my earlier explanation for
> why).
>
> This is where I somewhat disagree, although I think we're talking about
> different things.
>
> Take 3 different icons - folder, warning, and lightbulb (not sure we have
> one, but ...)
>
> They might all be the same shade of yellow.  However, maybe you want the
> folder icons to take on the accent c

Re: [RELEASES] initial setup done

2022-01-19 Thread Neil C Smith
OK, 13-rc1 should be building.  Please no merging now to delivery
until it's finished OK and sync PR to master can be merged.

GitBox seemed to take a long time to sync the json file update ...

On Tue, 18 Jan 2022 at 15:47, Eric Barboni  wrote:
>  Bumping version leads to classexception see issue.
>  As apidoc can be regenerated it should not impact release.

I wonder if that has similar causes to the sigtest failure.  Need to
have a closer look at which things failing.

>  For new way of handling nbjavac, I will try to make a staging of maven 
> artefacts for RC1 to see if we are ok maven side.

That sounds a good idea.  Should be built within an hour or so.

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





Anyone tried JetBrainsRuntime with Netbeans?

2022-01-19 Thread Jean-Marc Borer
Hello guys,

Did anyone of you try to use JetBrain's runtime with Netbeans and if yes,
what came out of it?
https://github.com/JetBrains/JetBrainsRuntime

Cheers,

JMB


Re: nb-javac and timing

2022-01-19 Thread Neil C Smith
On Tue, 18 Jan 2022 at 20:23, Michael Bien  wrote:
> since 17.0.2 was just released I wondered if the release timing could be
> adjusted a little in future so that we can add the latest javac to NB.
> (esp once auto-nb-javac is up and running)
>
> JDK updates can happen in the months 1, 4, 7, 10. GA happen in 3 or 9.
>
> NB schedule is 2, 5, 8, 11. So all we have to do is feature feeze a week
> later and we can grab the latest javac if my calculations are correct :)

The schedule was initially written with JDK releases in mind.
Originally it was a month earlier all around, so 4 and 10, with the
aim of tying release candidates, and testing of them, to JDK releases.
Aside from the fact that no-one wanted to do releases over Xmas and
New Year for some reason(!), another reason for pushing back a month
was because nb-javac was never ready on time.  When the schedule was
originally written, there was more of a plan to move away from it.

We could shift around again, certainly, if we need to.  But automatic
or not, nb-java scheduling and releasing is still not in our control
anyway.  Also, kind of by definition, it's not a feature release.
IMO, whether it's before or after our feature freeze, the assessment
should be on whether it has fixes we want to pick up?  The risk vs
benefit questions are similar whether it lands just before rc1 or rc2?

> (or we ignore all this and release an update via plugin portal?)

It would be via the distribution update centre rather than plugin
portal, which is a little convoluted a process right now, but doable.
Easing release updates is something else that could be worth putting
time into.

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: Netbeans localization

2022-01-19 Thread Milan Horák - tHB

This actually worked, thank you so much.

Now I just translate it all :D

What is the reverse procedure then (put translation back into application)?

The reason for this is, that we have one big NetBeans platform 
application for everything to manage our company and I need to translate 
UI (so not the whole platform) into our language (CS_cz).


*Milan Horák*
informatik

Dne 19. 01. 22 v 14:29 antonio napsal(a):

Hi Milan,

Try this:

1. "ant"
I don't know if this is strictly required. You may try without running 
ant first.


2. "ant build-nbms"

This generates the "nbbuild/nbms" directory with 450 Mb. of the finest 
NetBeans bits in the whole world.


3. "ant l10n-kit"

This generates unzips all nbm files (.nbm files are just zip files 
with another name) into a "nbbuild/tmp" directory (that is 
automatically created for you) and then generates a 
nbbuild\build\l10n.zip file that you're looking for. In my box (and 
with the whole NetBeans + cnd + dlight, this is a 103 Mb. file).


I know these steps are time consuming. Maybe we could set-up a Jenkins 
job that generates these artifacts. It seems Sun/Oracle NetBeans did 
publish these "ide-l10n-XXX.zip" files ages ago, so you didn't have to 
build one yourself.


I found that [1] has a tutorial on how to translate to Vietnamese, 
that can be help to you. Also we have [2], but I cannot explain what 
this does.


Hope this helps,
Antonio

[1]
https://dzone.com/articles/nb-in-vietnamese

[2]
https://github.com/apache/netbeans-l10n

On 19/01/2022 11:48, Milan Horák - tHB wrote:
Had to create empty directories tmp and nbms under nbbuild directory, 
to ant stop complaining


-
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: New theme for netbeans, team member wanted

2022-01-19 Thread Eirik Bakke
Sorry about that--thank you for your help with this project! Happy to answer 
any questions, or to do a screen sharing session.

(When I was drawing icons myself, it took me many hours to figure out the right 
tools to use in Illustrator to get the right result. But it goes faster after a 
few icons!)

There is also a style guide at 
https://issues.apache.org/jira/browse/NETBEANS-2617 .

-- Eirik

From: Venus Chung 
Sent: Wednesday, January 19, 2022 1:34 AM
To: Eirik Bakke ; Peter Cheung ; 
dev@netbeans.apache.org
Cc: Arafat BOUCHAFRA ; Peter Cheung 
Subject: 回覆: New theme for netbeans, team member wanted

Dear All,

I made a mistake,I designed the wrong icon, it needs to be redesigned, please 
give me more time.

Best Regards,
Venus

寄件者: Eirik Bakke 
寄件日期: 2022年1月18日 下午 11:11
收件者: Peter Cheung ; dev@netbeans.apache.org 

副本: Arafat BOUCHAFRA ; Peter Cheung 
; Venus Chung 
主旨: RE: New theme for netbeans, team member wanted


Hi, Peter.



Thank you so much for these efforts!! Could we see what the icons look like 
without Pixel Preview enabled? (View->Pixel Preview in Illustrator)



Might you also send the latest version of the Illustrator file? I'd love to 
have a look at grid alignments, and see the new icons against the background 
layer with the old bitmap icons, and at different resolutions etc.



Happy to meet next week. I could do anytime 8am-11am Hong Kong time, for 
instance. Feel free to pick a day.



Thanks again very much to Venus and you!



-- Eirik

(Now on US east coast time.)



From: Peter Cheung 
Sent: Tuesday, January 18, 2022 1:45 AM
To: Eirik Bakke ; dev@netbeans.apache.org
Cc: Arafat BOUCHAFRA ; Peter Cheung 
Subject: Re: New theme for netbeans, team member wanted



Dear Eirik & All

Let's have a wrap-up meeting next week?



Thanks

>From Peter (System Architect, Quantr Limited https://www.quantr.hk , Mobile : 
>96554595)



From: Peter Cheung 
Sent: Tuesday, January 18, 2022 11:36 AM
To: Eirik Bakke ; dev@netbeans.apache.org 

Cc: Arafat BOUCHAFRA ; Peter Cheung 
Subject: Re: New theme for netbeans, team member wanted



Dear all

Please see the last three rows, is the style matched?



Thanks

>From Peter (System Architect, Quantr Limited https://www.quantr.hk , Mobile : 
>96554595)



From: Eirik Bakke 
Sent: Thursday, January 13, 2022 1:17 AM
To: dev@netbeans.apache.org 
Cc: Arafat BOUCHAFRA ; Peter Cheung 
; Peter Cheung 
Subject: RE: New theme for netbeans, team member wanted



I think I understand your goal, and this thread now has a good summary of pros 
and cons.

Again, this is really up to whoever does the icon drawing work. Myself, I have 
just contributed the icons that happened to be used in my NetBeans Platform app.

Would you be interested in participating in the actual icon drawing process, by 
the way? Or is the use of Adobe Illustrator a deal-breaker for you? My company 
could pay for a license.

Alternatively we could try to work out an Inkscape process, if someone wants to 
commit to drawing a significant number of icons in it (separate from the ones 
Peter Cheung is working on). Although the lack of an Artboards feature in 
Inkscape could be a problem.

-- Eirik
[1] 
https://issues.apache.org/jira/secure/attachment/13026411/13026411_210604+Icons+Overview+Cropped.png

-Original Message-
From: Neil C Smith 
Sent: Wednesday, January 12, 2022 11:18 AM
To: dev@netbeans.apache.org
Cc: Arafat BOUCHAFRA ; Peter Cheung 
; Peter Cheung 
Subject: Re: New theme for netbeans, team member wanted

On Wed, 12 Jan 2022 at 15:48, Eirik Bakke  wrote:
> Sorry, to clarify: The point about the color palette was my own. My argument 
> is that the existing NetBeans icon style is not very well-suited for 
> assigning logical colors. In order to designate a meaningful, configurable, 
> "accent color", for example, we would have to change the overall color 
> palette of the entire icon set. And that's something that's easier to do 
> after-the-fact than up-front (see my earlier explanation for why).

This is where I somewhat disagree, although I think we're talking about 
different things.

Take 3 different icons - folder, warning, and lightbulb (not sure we have one, 
but ...)

They might all be the same shade of yellow.  However, maybe you want the folder 
icons to take on the accent colour of a look and feel, while a dark theme might 
want to make the shades of the other two a darker yellow, or just the warning 
to match other things in the theme.

Maybe we want to edit the icon files later - this could apply there as much as 
in icon loading.

The point was that to have the icons encode the context of a fill colour (eg. 
CSS class), as well as the colour itself, is potentially useful in multiple 
ways.  And as far as I'm aware, easier to define upfront in a template for all 
icons, than later.  At least in Inkscape (I'm a libre graphics person! :-)) I 
would set up th

Re: Netbeans localization

2022-01-19 Thread antonio

Hi again,

The "nblocalization.netbeans.org" domain/website was not ported to 
Apache NetBeans (it seems we missed that one).


You may want to look at the web archive version here instead:

http://web.archive.org/web/20130316064119/http://nblocalization.netbeans.org/index-l10n.html

It would be great if you could document the whole process (asciidoc 
format preferred, markdown acceptable) and send a PR to our website 
repository.


Cheers,
Antonio

On 19/01/2022 14:29, antonio wrote:

Hi Milan,

Try this:

1. "ant"
I don't know if this is strictly required. You may try without running 
ant first.


2. "ant build-nbms"

This generates the "nbbuild/nbms" directory with 450 Mb. of the finest 
NetBeans bits in the whole world.


3. "ant l10n-kit"

This generates unzips all nbm files (.nbm files are just zip files with 
another name) into a "nbbuild/tmp" directory (that is automatically 
created for you) and then generates a nbbuild\build\l10n.zip file that 
you're looking for. In my box (and with the whole NetBeans + cnd + 
dlight, this is a 103 Mb. file).


I know these steps are time consuming. Maybe we could set-up a Jenkins 
job that generates these artifacts. It seems Sun/Oracle NetBeans did 
publish these "ide-l10n-XXX.zip" files ages ago, so you didn't have to 
build one yourself.


I found that [1] has a tutorial on how to translate to Vietnamese, that 
can be help to you. Also we have [2], but I cannot explain what this does.


Hope this helps,
Antonio

[1]
https://dzone.com/articles/nb-in-vietnamese

[2]
https://github.com/apache/netbeans-l10n

On 19/01/2022 11:48, Milan Horák - tHB wrote:
Had to create empty directories tmp and nbms under nbbuild directory, 
to ant stop complaining


-
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: Netbeans localization

2022-01-19 Thread antonio

Hi Milan,

Try this:

1. "ant"
I don't know if this is strictly required. You may try without running 
ant first.


2. "ant build-nbms"

This generates the "nbbuild/nbms" directory with 450 Mb. of the finest 
NetBeans bits in the whole world.


3. "ant l10n-kit"

This generates unzips all nbm files (.nbm files are just zip files with 
another name) into a "nbbuild/tmp" directory (that is automatically 
created for you) and then generates a nbbuild\build\l10n.zip file that 
you're looking for. In my box (and with the whole NetBeans + cnd + 
dlight, this is a 103 Mb. file).


I know these steps are time consuming. Maybe we could set-up a Jenkins 
job that generates these artifacts. It seems Sun/Oracle NetBeans did 
publish these "ide-l10n-XXX.zip" files ages ago, so you didn't have to 
build one yourself.


I found that [1] has a tutorial on how to translate to Vietnamese, that 
can be help to you. Also we have [2], but I cannot explain what this does.


Hope this helps,
Antonio

[1]
https://dzone.com/articles/nb-in-vietnamese

[2]
https://github.com/apache/netbeans-l10n

On 19/01/2022 11:48, Milan Horák - tHB wrote:
Had to create empty directories tmp and nbms under nbbuild directory, to 
ant stop complaining


-
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: Netbeans localization

2022-01-19 Thread Milan Horák - tHB

Hello,

sorry for incoplete message before :/

tried it and:

5.2

Had to create empty directories tmp and nbms under nbbuild directory, to 
ant stop complaining


Complains that netbeans/nbbuild/build.xml:1212: basedir attribute must 
be set, or at least one resource collection must be given!


If I add line  (in build.xml) before that line, 
it just complains five minutes later on the same problem.


Do you have any suggestions for me?

*Milan Horák*

informatik

Dne 14. 01. 22 v 18:27 antonio napsal(a):

Hi Danijel,

AFAIU this should work as follows:

1. NetBeans is built as a set of modules.

2. Each module has a "manifest.mf" file (see [1] for an example)

3. Some of these files have an entry named 
"OpenIDE-Module-Localizing-Bundle" (see [2] for an example)


4. This means that the module has a "localizing bundle" which is a 
Java bundle (properties file) such as [3] that you have to localize.


5. The NetBeans source code has a "l10n-kit" Ant task that you can run 
to collect and group these localizing bundles.


5.1.- Clone the Apache NetBeans repo as in "Building from source" in [4].

5.2.- Run "ant l10n-kit" there. You should have the english version of 
the kit to localize to your preferred language.


I think it's ages since we last run "l10n-kit", so it could be it 
doesn't run well for you. If so please either


6.a) Try to send us a PR with improvements.

6.b) Open a ticket detailing the problem.

Hope this helps,
Antonio



[1]
https://github.com/apache/netbeans/blob/master/platform/core.ui/manifest.mf 



[2]
https://github.com/apache/netbeans/blob/561409b8b64ce23a65b73a37e79305efd5d155f8/platform/core.ui/manifest.mf#L3 



[3]
https://github.com/apache/netbeans/blob/master/platform/core.ui/src/org/netbeans/core/ui/resources/Bundle.properties 



[4]
https://netbeans.apache.org/download/dev/index.html


El 14/1/22 a las 14:00, Danijel Mišanovič escribió:

Greetings all!

We have interest in localizing the platform to Slovenian language and 
we came to a hold on how to continue. We managed to checkout 
https://github.com/apache/netbeans-l10n build and prepare a few 
projects (Italian, Polish) for which there were already some 
translation sources but we are lost from where to get the English 
bundles that we would use as a base for our Slovenian translation. 
Currently most of info on how to setup I got from discussion from 
last year which we found here 
https://www.mail-archive.com/dev@netbeans.apache.org/msg08390.html 
but as there is no source localization files in 
netbeans-l10n-zip/src/ for English we don't know what to use as a 
template for Slovenian language translations.


Best regards!

Danijel Mišanović




-
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: Netbeans localization

2022-01-19 Thread Milan Horák - tHB

Hello,

tried it and:

5.2 Complains that netbeans/nbbuild/build.xml:1212: basedir attribute 
must be set, or at least one resource collection must be given!



*Milan Horák*
informatik

Dne 14. 01. 22 v 18:27 antonio napsal(a):

Hi Danijel,

AFAIU this should work as follows:

1. NetBeans is built as a set of modules.

2. Each module has a "manifest.mf" file (see [1] for an example)

3. Some of these files have an entry named 
"OpenIDE-Module-Localizing-Bundle" (see [2] for an example)


4. This means that the module has a "localizing bundle" which is a 
Java bundle (properties file) such as [3] that you have to localize.


5. The NetBeans source code has a "l10n-kit" Ant task that you can run 
to collect and group these localizing bundles.


5.1.- Clone the Apache NetBeans repo as in "Building from source" in [4].

5.2.- Run "ant l10n-kit" there. You should have the english version of 
the kit to localize to your preferred language.


I think it's ages since we last run "l10n-kit", so it could be it 
doesn't run well for you. If so please either


6.a) Try to send us a PR with improvements.

6.b) Open a ticket detailing the problem.

Hope this helps,
Antonio



[1]
https://github.com/apache/netbeans/blob/master/platform/core.ui/manifest.mf 



[2]
https://github.com/apache/netbeans/blob/561409b8b64ce23a65b73a37e79305efd5d155f8/platform/core.ui/manifest.mf#L3 



[3]
https://github.com/apache/netbeans/blob/master/platform/core.ui/src/org/netbeans/core/ui/resources/Bundle.properties 



[4]
https://netbeans.apache.org/download/dev/index.html


El 14/1/22 a las 14:00, Danijel Mišanovič escribió:

Greetings all!

We have interest in localizing the platform to Slovenian language and 
we came to a hold on how to continue. We managed to checkout 
https://github.com/apache/netbeans-l10n build and prepare a few 
projects (Italian, Polish) for which there were already some 
translation sources but we are lost from where to get the English 
bundles that we would use as a base for our Slovenian translation. 
Currently most of info on how to setup I got from discussion from 
last year which we found here 
https://www.mail-archive.com/dev@netbeans.apache.org/msg08390.html 
but as there is no source localization files in 
netbeans-l10n-zip/src/ for English we don't know what to use as a 
template for Slovenian language translations.


Best regards!

Danijel Mišanović




-
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: Updating an Old Plugin and Having Issues

2022-01-19 Thread Peter Blemel
I'm making a little progress on this.  When compiling a different, unrelated 
module, I was getting the following error:

The module C:\Program 
Files\NetBeans-12.6\netbeans\java\modules\org-netbeans-modules-form.jar has no 
public packages and so cannot be compiled against

I assume that in your case, the lack of any public packages is why you can't 
find the FormEditorSupport class. In my case, I found an offending module of 
mine that was depending on the "Form Editor" module for no reason that I can 
remember. My application doesn't edit Forms and I don't recall ever having any 
such dependency.  I removed the dependency, and am no longer getting any errors 
related to the org.netbeans.modules.form module.

Does your application edit forms?  I found a GitHub repot for it at
https://github.com/szymach/incubator-netbeans/blob/master/form.nb/src/org/netbeans/modules/nbform/FormEditorSupport.java
if it helps you.

Not much help, I'm sure ... but the cobwebs are slowly clearing for me. As for 
my application, it now launches in 12.6 🙂.  My application startup, custom 
project type, and custom file types all seem to be working, which is 
encouraging.  My menus are not arranged the way that they were previously, 
which probably has something to do with the layers.

Unfortunately, when I open one of my files the TopComponent briefly shows and 
then disappears.  I set breakpoints in both componentShowing() and 
componentClosed().  The debugger stops in both, so some kind of error must be 
silently causing my TC to close.  Unfortunately, there's nothing in the logs.

I guess I need to go work through the latest MultiView tutorial and see if 
something has changed that I need to be aware of.

I hope you're also making progress.

Cheers,
Peter


From: Peter Blemel 
Sent: Tuesday, January 18, 2022 10:59 AM
To: dev@netbeans.apache.org ; NetBeans Mailing List 

Subject: Re: Updating an Old Plugin and Having Issues

Just to be clear, I am working in Netbeans 12.6 on both computers.  Absolute 
Layout works at home, but at my office it throws

java.io.IOException: no module org.netbeans.modules.form
at 
org.netbeans.modules.apisupport.project.queries.ModuleProjectClassPathExtender.addLibraries(ModuleProjectClassPathExtender.java:108)
at 
org.netbeans.spi.java.project.classpath.ProjectClassPathModifierImplementation$Accessor.addLibraries(ProjectClassPathModifierImplementation.java:401)
at 
org.netbeans.api.java.project.classpath.ProjectClassPathModifier.addLibraries(ProjectClassPathModifier.java:86)
at 
org.netbeans.modules.nbform.project.ClassSourceResolver$LibraryEntry.addToProjectClassPath(ClassSourceResolver.java:208)
at 
org.netbeans.modules.form.project.ClassSource.addToProjectClassPath(ClassSource.java:89)
at 
org.netbeans.modules.form.project.ClassPathUtils$2.run(ClassPathUtils.java:245)
at 
org.netbeans.modules.progress.ui.RunOffEDTImpl$ProgressBackgroundRunner.runBackground(RunOffEDTImpl.java:465)
at 
org.netbeans.modules.progress.ui.AbstractWindowRunner.call(AbstractWindowRunner.java:86)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
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)


From: Peter Blemel 
Sent: Tuesday, January 18, 2022 10:54 AM
To: dev@netbeans.apache.org ; NetBeans Mailing List 

Subject: Re: Updating an Old Plugin and Having Issues

Sean,

Your post inspired me to dust off an old Platform application of mine (a 
general Predicate Logic editor, among other things).  Hopefully, I can get back 
into the swing of things enough to be of some use around this mailing list 🙂.

My application was using Platform 6.8. I'm trying to get it running in 12.6. 
There's been some Platform module refactoring since 6,8, but in general I just 
had to add module dependencies to get everything to compile.

Where this is relevant to you is that I ran into a problem with old Form Editor 
autocode that depends on the old Swing Layout Extensions Integration (or 
whatever it was called, specifically it used org.jdesktop.layout.GroupLayout).  
On my home system, I was able to change the layout to "Absolute" from "Free 
Design" and everything worked great. I just tried doing the same thing on my 
work desktop, and I ran into a "no module org.netbeans.modules.form" error.

I don't know the difference between the two systems, except possibly that 1) 
this office machine has only has 12.0 on it and 2) is running a newer Open JDK 
17 that I just installed.  The home machine had 12.0 and 12.2 that I 
uninstalled to make room for 12.6. I am not sure which JDK it uses, possibly 11 
(I will have to drive home to check, my VPN is one-way).

I will need to ferret out what the difference between the tw