[C++] How to use 'make -j8' on localhost, and 'make -j1' on a remote host?

2020-04-27 Thread Patrice Espié
Hi All,

I am using Netbeans for C++ code, on a project which should be compiled and
run on a Linux station AND on a Raspberry Pi 3B+ station, both running
Ubuntu Linux 64 (server for the Raspi).
Obviously, the station is powerful and the Raspi is no really ...

So, on the station, in my configuration "Debug" for example, I want to use
command like "make -j8 ..", while on Raspi, I would like to have in the
configuration "Debug remote" for example, the command "make -j1 ..".

I found in "Tools -> Options -> C/C++ -> Project Options" the parameter
"Make Options" but it is quite useless in my case, because if I add
parameter "-j1", it is OK on the Raspi, but not anymore on the station ...

Is there a way to modify the generated build files to achieve such a fine
grained tuning? Maybe a plugin is already solving the problem?
I used Platformio a long time ago, and I do not remember about such
problems, but it was on another project and I am not sure the compilation
was on both sides. I maybe should give a try again?

Thanks a lot for reading my request, and another big thanks if you have
some clue to save the situation!

Patrice


Re: [java] [j2ee] [jms] [payara] Slow deployment due to JMS destination?

2020-04-27 Thread Stefan Obpacher

Hi,

I solved the issue by myself.
If anyone cares what the problem was:

It wasn't a NetBeans, Payara or J2EE issue.
It was caused by the VPN connection to our company I used so I can do 
home office.
I guess that the server was doing a nice detour through the internet and 
back again to notice that port 7676 (JMS-Port) is running on the local 
machine.


Holy cow.

Now I have to find a workaround for that...

Regards,
Steff


Am 22.04.2020 um 13:39 schrieb Stefan Obpacher:

Hi everyone!

Since using NetBeans 11.3, deployment of my EAR-Project to payara is 
really slow.


I have about 20 message driven beans in my EJB-Module and for every
single one of it the following output is written to the console
during deployment:

 >>...
End point determines destination name,
 Res name: javax.jms.Queue,
 JNDI name: java:global/jms/
 descriptor name : |#]
...<<

On every occurence of such a line it takes a few seconds before the
deployment goes on.

In NetBeans 8.2 and payara 4.1.x it was ok.
Then I upgraded to NetBeans 11.3 -> Slow behaviour.
Then I upgraded to payara 5.201 -> Worked a few times, but now again: 
very slow deployment.


Do you have any ideas or advice for me?

Running on Win 10, JDK 1.8
If you need further information, please let me know!

Regards,
Stefan


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

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




--
Stefan Obpacher
Anschlusswerk GmbH
--<>--<>--<>--<>--<>--<>--<>--<>--<>--
Kotzinger Straße 21, 83278 Traunstein
Fon: +49 (0) 861 / 900500 -21
Fax: +49 (0) 861 / 900500 -10
Mail: s.obpac...@anschlusswerk.de

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

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



Quirks when running Netbeans 11.3 on a laptop

2020-04-27 Thread Peter Steele
Hi

I just wanted to know if people had noticed the following when running
netbeans 11.3 on their laptop (not sure if it happens on earlier versions
or not)

I'm running on Ubuntu and using java 13

1. After closing the laptop lid and letting it suspend (or hibernate, same
thing), the line numbers disappear when I re open the laptop and it resumes.

2. After closing the laptop and letting it suspend (or hibernate, same
thing), you can't search or search and replace after it resumes. The short
cut keys don't work and the menu items are Grey's out.

Both the above two are fixed with a netbeans restart.

3. After changing to tablet mode on my laptop, netbeans sometimes gets in
to bad state where one window always has the focus no matter which window I
try and click in. I can put the mouse pointer in another windows and click
and hold to select text but it always does the actions in the window where
the focus is stuck

This is fixed only by restarting the whole laptop, the problem persists on
a restart of netbeans.


I appreciate these could be java issues (the last one definitely happened
on earlier versions of java and netbeans), but I don't know 100%

Thanks

Peter


RE: NetBeans utf-8

2020-04-27 Thread Louis Collet
Maybe adding : 

-J-Dfile.encoding=UTF-8

To your netbeans.conf ?

 

From: Abossolo Foh Guy  
Sent: lundi 27 avril 2020 13:20
To: users@netbeans.apache.org
Subject: NetBeans utf-8

 

Hi,

In ant projects we can set source encoding to utf-8

With gradle projects we can't.

What is the source encoding format used by Netbeans ?

Compile and app works fine, except all french accent disppear when we use 
System.out.printl :

"Without any Gradle option :
Cette URL, donn�e par l'�l�ment img, n'est pas valide !URL must not be empty"

With Gradle option :  compileJava.options.encoding = 'UTF-8'
"Cette URL, donn?e par l'?l?ment img, n'est pas valide !URL must not be empty"

instead of

"Cette URL, donnée par l'élément img, n'est pas valide !URL must not be empty"

Is it related to NETBEANS-2526 
  ?

regards.



NetBeans utf-8

2020-04-27 Thread Abossolo Foh Guy

Hi,

In ant projects we can set source encoding to utf-8

With gradle projects we can't.

What is the source encoding format used by Netbeans ?

Compile and app works fine, except all french accent disppear when we
use System.out.printl :

"Without any Gradle option :
Cette URL, donn�e par l'�l�ment img, n'est pas valide !URL must not be
empty"

With Gradle option :  compileJava.options.encoding = 'UTF-8'
"Cette URL, donn?e par l'?l?ment img, n'est pas valide !URL must not be
empty"

instead of

"Cette URL, donnée par l'élément img, n'est pas valide !URL must not be
empty"

Is it related to NETBEANS-2526 [1] ?

regards. 


Links:
--
[1] https://issues.apache.org/jira/browse/NETBEANS-2526

Re: How to Alt + Enter on mac?

2020-04-27 Thread Luff,Chris
Ah now - indeed Alt+Enter does work. However, intermittently, as in I am unable 
to reproduce the conditions in which it occurs, it stops working and a restart 
of NetBeans is needed.

On 22 Apr 2020, at 22:31, Malcolm Fitzgerald 
mailto:malc...@notyourhomework.net>> wrote:

These keys are modifiable in Systems Preferences, so if you're using a keyboard 
that hasn't been manufactured for Apple, you can tell another key, e.g., the 
Windows key, to be the ALT key.

Malcolm

Peter Ford wrote on 23/04/20 1:27 AM:
On a Mac keyboard option-enter is the magic you need: on my keyboards options 
is also labelled alt

Pete

On 22 Apr 2020, at 12:57, Geertjan Wielenga 
mailto:geert...@apache.org>> wrote:

Probably the Apple keyboard key CMD and then Enter — or just click the 
lightbulb.

Gj

On Wed, 22 Apr 2020 at 13:54, Ewan Slater 
mailto:ewan.sla...@oracle.com>> wrote:
Hi,

Could somebody please tell me how to do Alt+Enter on Mac (and yes, I
have googled and looked at "help > keyboard shortcuts card" but to no
avail).

Context: netbeans is suggesting I hit Alt Enter for hints.

Cheers,

Ewan






CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.