Re: Values of os.arch for mac OS (x86-64 and aarch64) and windows aarch64

2021-08-11 Thread Rami Swailem
java -XshowSettings 2>&1 | grep "  os."
os.arch = x86_64
os.name = Mac OS X
os.version = 11.5.1


java -version
openjdk version "17" 2021-09-14
OpenJDK Runtime Environment (build 17+35-2724)
OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing)


uname -a
Darwin dev-mac 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 
2021; root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64


On 2021/08/10 23:40:41, Matthias Bläsing  wrote: 
> Hi all,
> 
> I'm preparing an update of JNA for NetBeans and this will bring changes
> in the way the native libraries are packed.
> 
> For the platforms:
> 
> - mac OS on x86-64 (aka amd64)
> - mac OS on aarch64 (aka M1)
> - Windows on aarch64
> 
> I'm looking for the values of the system property "os.arch". It would
> great if people owning such hardware and having 64bit native JDKs
> running on them could provide the value.
> 
> java -XshowSettings
> 
> outputs it.
> 
> java -XshowSettings 2>&1 | grep "  os."
> 
> filters the output directly.
> 
> 
> For the "why"?
> 
> Darwin (the base of mac OS) used to have fat binaries (all platforms in
> a single library file), but Apple decided, that they only selectively
> like that (applications were reported to be rejected from app store
> because 32bit object code was found) and thus the feature is being
> phase out from JNA to make it easier to strip the right binaries. For
> NetBeans it means, that the binaries need to be placed in the right
> folder and the requires the value of "os.arch".
> 
> Support for Windows and mac OS aarch64 was recently added, which might
> be helpful to get NetBeans running (better?) on these architectures.
> 
> 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
> 
> 
> 
> 

-
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: Add javaagent to a NetBeans Platform application

2021-06-09 Thread Rami Swailem
You are welcome :-)





On 2021/06/08 16:54:23, Arcturus Bootes  wrote: 
> Hi Rami,
> 
> I think that did it. Thank you so much!
> 
> On Tue, 8 Jun 2021 at 18:23, Rami Swailem 
> wrote:
> 
> > it should look like this: -J-D
> >
> > example:
> >
> > -J-Duser.language=...
> >
> > greets
> >
> > Rami Swailem
> >
> > On 2021/06/08 01:34:55, Arcturus Bootes 
> > wrote:
> > > Hi!
> > >
> > > Thank you for the reply. I know the file your talking about and I did try
> > > adding the options to it and I sadly get the same error as if I was
> > passing
> > > them as command line arguments. Unknown option...
> > >
> > > Any advice is greatly appreciated as I am really keen to see what stats I
> > > can get out of the app.
> > >
> > > Thanks.
> > >
> > > On Tue, 8 Jun 2021 at 01:03, djamel torche 
> > wrote:
> > >
> > > > Hi there,
> > > > With netbeans (and Netbeans platform applications) is event easier:)
> > > > Just add your options in etc/netbeans.conf (in
> > > > netbeans_default_options="...").
> > > > With Netbeans platform application, that file will be created in build
> > > > after your first ant/maven build, I don't remember well but be sure
> > that
> > > > when you clean the project this file remains there! (I think not).
> > > >
> > > > Kind regards
> > > >
> > > > On Mon, 7 Jun 2021 at 15:40, Arcturus Bootes <
> > arcturusboot...@gmail.com>
> > > > wrote:
> > > >
> > > > > Hi All,
> > > > >
> > > > > I have a NetBeans platform application and I'd like to do some APM
> > > > > (Application Performance Monitoring) using an Elastic cluster I've
> > got
> > > > set
> > > > > up. The Elastic APM doco says you need to add the -javaagent flag to
> > > > their
> > > > > jar like below.
> > > > >
> > > > > java -javaagent:/path/to/elastic-apm-agent-.jar \
> > > > > -Delastic.apm.service_name=my-application \
> > -Delastic.apm.server_urls=
> > > > > http://localhost:8200 \ -Delastic.apm.secret_token= \
> > > > > -Delastic.apm.environment=production \
> > > > > -Delastic.apm.application_packages=org.example \ -jar
> > my-application.jar
> > > > >
> > > > > The problem is that a NetBeans platform application does not compile
> > down
> > > > > to a single jar like a standalone Java app. For my application I
> > created
> > > > a
> > > > > distribution zip, unzipped it and from the bin folder tried to run
> > my app
> > > > > and pass these arguments but I get the following error:
> > > > >
> > > > > Unknown option -javaagent:./elastic-apm-agent-1.24.0.jar
> > > > >
> > > > > I've also tried adding these options to the run.args.extra in the
> > > > > project.properties file and that fails as well.
> > > > >
> > > > > Is there a way I can pass the javaagent to my NetBeans platform
> > > > > application?
> > > > >
> > > > > Thank you.
> > > > >
> > > >
> > >
> >
> > -
> > 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: Add javaagent to a NetBeans Platform application

2021-06-08 Thread Rami Swailem
it should look like this: -J-D

example:

-J-Duser.language=...

greets

Rami Swailem

On 2021/06/08 01:34:55, Arcturus Bootes  wrote: 
> Hi!
> 
> Thank you for the reply. I know the file your talking about and I did try
> adding the options to it and I sadly get the same error as if I was passing
> them as command line arguments. Unknown option...
> 
> Any advice is greatly appreciated as I am really keen to see what stats I
> can get out of the app.
> 
> Thanks.
> 
> On Tue, 8 Jun 2021 at 01:03, djamel torche  wrote:
> 
> > Hi there,
> > With netbeans (and Netbeans platform applications) is event easier:)
> > Just add your options in etc/netbeans.conf (in
> > netbeans_default_options="...").
> > With Netbeans platform application, that file will be created in build
> > after your first ant/maven build, I don't remember well but be sure that
> > when you clean the project this file remains there! (I think not).
> >
> > Kind regards
> >
> > On Mon, 7 Jun 2021 at 15:40, Arcturus Bootes 
> > wrote:
> >
> > > Hi All,
> > >
> > > I have a NetBeans platform application and I'd like to do some APM
> > > (Application Performance Monitoring) using an Elastic cluster I've got
> > set
> > > up. The Elastic APM doco says you need to add the -javaagent flag to
> > their
> > > jar like below.
> > >
> > > java -javaagent:/path/to/elastic-apm-agent-.jar \
> > > -Delastic.apm.service_name=my-application \ -Delastic.apm.server_urls=
> > > http://localhost:8200 \ -Delastic.apm.secret_token= \
> > > -Delastic.apm.environment=production \
> > > -Delastic.apm.application_packages=org.example \ -jar my-application.jar
> > >
> > > The problem is that a NetBeans platform application does not compile down
> > > to a single jar like a standalone Java app. For my application I created
> > a
> > > distribution zip, unzipped it and from the bin folder tried to run my app
> > > and pass these arguments but I get the following error:
> > >
> > > Unknown option -javaagent:./elastic-apm-agent-1.24.0.jar
> > >
> > > I've also tried adding these options to the run.args.extra in the
> > > project.properties file and that fails as well.
> > >
> > > Is there a way I can pass the javaagent to my NetBeans platform
> > > application?
> > >
> > > Thank you.
> > >
> >
> 

-
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 12.4 Maven artefacts

2021-05-28 Thread Rami Swailem
Thank you for this Eric. Tried it and works for me, perfect …

a vote from community member :-)


On 2021/05/25 14:34:48, "Eric Barboni"  wrote: 
> Hi all,
> 
>  
> 
> The Maven artefacts for Apache NetBeans 12.4 are ready on staging to be
> checked and voted on.
> 
>  
> 
> The version is : RELEASE124
> 
>  
> 
> Staged at :
> https://repository.apache.org/content/repositories/orgapachenetbeans-1087
> 
>  
> 
> Built from git hash : 21726744165c946ba6619bff89e98d5863f26e22(the
> implementation version for most modules should show up as
> 
> 12.4-21726744165c946ba6619bff89e98d5863f26e22)
> 
>  
> 
> By build job :
> https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/
> release124/22/
> 
>  
> 
> All artefacts are signed by my key and verified by the repository.apache.org
> closing phase.
> 
>  
> 
> Some artefact groupID may change from org.netbeans.api to
> org.netbeans.modules in comparison to RELEASE123
> 
>  
> 
> This vote is going to be open for at least 72 hours. Vote with +1, 0,
> 
> -1 as usual.
> 
>  
> 
> 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: [POLL] Gradle Task Navigator with Favorite Task UI

2020-12-15 Thread Rami Swailem
Version 2

On 2020/12/15 04:29:42 Laszlo Kishalmi wrote:
> Well, I've created two UI implementation of displaying Favorite Task in 
> Gradle Navigator.
> 
> The implementations:
> 
> https://issues.apache.org/jira/secure/attachment/13017035/GradleFavoritesCut.mp4
> 
> https://issues.apache.org/jira/secure/attachment/13017110/GradleFavoritesCut2.mp4
> 
> 
> You can vote on your favorite implementation at:
> 
> - Here in the mailing list.
> 
> - Twitter:  https://twitter.com/KishalmiLaszlo
> 
> - Telegram: https://t.me/apache_netbeans
> 
> The poll is open for 3 days.
> 
> 
> -
> 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: [VOTE] Release Apache NetBeans 12.2 Maven Artifacts

2020-12-07 Thread Rami Swailem
+1 It works perfect in my RCP application

On 2020/12/05 14:48:49, Laszlo Kishalmi  wrote: 
> Dear all,
> 
> The Maven Artifacts for Apache NetBeans 12.2 are ready on Staging to be 
> tested.
> 
> Well the cpplite still contained a SNAPSHOT dependency so that cluster 
> git removed form this release.
> 
> The version is: RELEASE122.
> 
> 
> Built from this commit :
> 
> d73d3dd898acc440c460924dabf8ad5feb90369f
> 
> By build job :
> 
> https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release122/21/
> 
> Staged at :
> 
> https://repository.apache.org/content/repositories/orgapachenetbeans-1077/
> 
> Arteficts composed of jars, nbms, sources, javadocs and poms are
> signed using my key and verified by the repository.apache.org closing
> phase.
> 
> This vote is going to be open at least 72 hours, vote with +1, 0, and
> 
> -1 as usual.
> 
> 
> --
> 
>    Laszlo Kishalmi
> 
> 
> 
> -
> 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: [VOTE] Release Apache NetBeans-12.2 Mac OSX Installer

2020-12-01 Thread Rami Swailem
+1

Product Version: Apache NetBeans IDE 12.2
Java: 11.0.9; Java HotSpot(TM) 64-Bit Server VM 11.0.9+7-LTS
Runtime: Java(TM) SE Runtime Environment 11.0.9+7-LTS
System: Mac OS X version 10.16 running on x86_64; UTF-8; en_DE (nb)
User directory: /Users/rami/Library/Application Support/NetBeans/12.2
Cache directory: /Users/rami/Library/Caches/NetBeans/12.2



On 2020/11/30 18:57:43, John Mc  wrote: 
> Hi,
> 
> We can vote for Apache NetBeans 12.2 Mac OSX installer.
> 
> Primary voting artefact:
> 
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-macosx.dmg
> 
> 
> KEYS file:
> https://dist.apache.org/repos/dist/release/netbeans/KEYS
> 
> PGP signature file:
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-macosx.dmg.asc
> 
> SHA512 checksum file
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-macosx.dmg.sha512
> 
> Built locally using the artefacts found in the Jenkins job:
> https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release122/21/
> 
> 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.
> 
> Apache NetBeans-12.2 Mac OSX Installer will be released if and when this
> vote passes.
> 
> Regards
> 
> 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





Re: Regarding Netbeans IDE development on MacOS .

2020-11-13 Thread Rami Swailem
Workaround:

Run NetBeans from the terminal:

/Applications/NetBeans/Apache\ NetBeans\ 
12.1.app/Contents/Resources/NetBeans/netbeans/bin/netbeans 



On 2020/11/13 08:15:55, HEMANT KUMAR  
wrote: 
> Sir 
> 
> This email is regarding the application development regarding macOS , Apache 
> netbeans is widely used IDE for java development in schools . 
> I an also the user of Netbeans IDE since 2018 , but few months ago , apple 
> had launched it’s brand new Mac Operating system called macOS Big Sur version 
> OS 11 , previously known as OSX Catalina (10.15) , .
> 
> New OS had been developed to adapt the New Apple Silicon arm architecture 
> Environment and OS is also developed for that , but the Market having intel 
> Mac , on which macOS Big Sur is running and created for Both intel and arm , 
> but your netbeans are not running on macOS Big Sur on intel processor , which 
> is not good sign .
> 
> So kindly fix it .
> 
> Regards
> Hemant Kumar 
> -
> 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: [VOTE] Gradle Icon Colors (Just some silly UI one)

2019-10-07 Thread Rami Swailem
+1 green

On 2019/10/08 03:23:11, Laszlo Kishalmi  wrote: 
> Dear all,
> 
> This is not that serious vote, like a release, versioning scheme, or 
> release process, just on some colors.
> 
> We have and issue 
> (NETBEANS-2417)[https://issues.apache.org/jira/browse/NETBEANS-2417] to 
> follow the branding change happened ago in Gradle. Please take a look on 
> the attached screenshots issue.
> 
> We are voting on the green or the white elephants on dark scheme.
> 
> You can vote:
> 
> +1 white or +1 green
> 
> If it is indifferent to you please do not cast a vote!
> 
> This thread would be open for at least 72 hours, if no one would vote, 
> then I decide what would be in the PR for this.
> 
> 
> Happy voting!
> 
> Laszlo Kishalmi
> 
> 
> -
> 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: my first pull request

2019-05-07 Thread Rami Swailem
You can build Apache NetBeans with a higher JDK Version than 1.8
-Dpermit.jdk9.builds=true


On 2019/05/07 19:23:44, Brad Walker  wrote: 
> I'm trying to help out in a very small way. What I'm hoping to do is clean
> up some of the build cruft and learn at the same time.
> 
> So I created a new Jira ticket for my work..
> https://issues.apache.org/jira/browse/NETBEANS-2514
> 
> Made the changes to remove the usage of sun.misc.Unsafe in the
> NoJavacHelper.java file.
> 
> And issued a pull request.
> https://github.com/apache/netbeans/pull/1236
> 
> So a couple of things, I think this is the proper process to follow,
> correct?
> 
> Also, since we only support the use of JDK 1.8 to compile Apache NetBeans,
> I think this change is correct.. I really didn't want to add any logic.
> Only to remove the usage of sun.misc.Unsafe.
> 
> Any suggestions and/or comments are appreciated.
> 
> -brad w.
> 

-
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: News: Apache NetBeans has graduated from the Apache Incubator

2019-04-18 Thread Rami Swailem
Great news! Congratulations!!!

On 2019/04/17 22:36:21, Geertjan Wielenga  wrote: 
> Hi all,
> 
> The ASF Board of Directors have just voted to establish the Apache NetBeans
> project as a top level project. Congrats to us all, for the hard work and
> dedication (and it only took 2 1/2 years)!
> 
> This is a public (binding) decision, so by means of this e-mail we are
> officially sharing the good news that we have left the Apache Incubator and
> are now an official Apache project.
> 
> Now comes the tasks of "un-incubating" all the resources we have, in the
> coming days -- for example, you'll see references to "incubating" being
> removed in various places.
> 
> Kind regards, and congrats to us all again,
> 
> Gj
> 

-
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