Re: energy consumption

2019-10-13 Thread Peter Cheung
Thank you all gentlemen

From: Jaroslav Tulach 
Sent: Monday, October 14, 2019 11:58 AM
To: dev 
Subject: Re: energy consumption

http://wiki.netbeans.org/FaqProfileMeNow
-jt

po 14. 10. 2019 v 4:51 odesílatel Eirik Bakke  napsal:

> This could be due to any number of issues that cause high CPU
> utilization--it might be very specific to your use case.
>
> So the first step would be to identify cases where you see NetBeans is
> using a lot of CPU resources, and try to figure out what is going on in
> each case.
>
> -- Eirik
>
> -Original Message-
> From: Peter Cheung 
> Sent: Sunday, October 13, 2019 6:06 PM
> To: dev@netbeans.apache.org
> Subject: energy consumption
>
> Hi All
> Netbeans 11.1 eat up the notebook battery so fast. My macbook pro 15
> can only stand for 1.5 hour max. Does the group has any plan to optimize it?
> Thanks
> From Peter
>
> -
> 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: Module build fails in IDE but works on command line

2019-10-13 Thread Jaroslav Tulach
st 9. 10. 2019 v 20:15 odesílatel Siddhesh Rane 
napsal:

> October 9, 2019 10:21 AM, "Jaroslav Tulach" 
> wrote:
>
> > Looks like the deprecated
> >
> >> Class org.netbeans.modules.openfile.PackagePanel
> >> "E1.2 - API type removed" : method public java.awt.peer.ComponentPeer
> >
> > java.awt.Component.getPeer()
> >> anno 0 java.lang.Deprecated()
> >
> > method got removed. If that is true, we will have to update the
> `.sigfile`
> > (or files) and remove the line requesting the method.
> > -tj
>
> So basically this method is removed in JDK 11 but not in JDK 8.
> If I set the project Properties > Library > Java Platform to JDK 8, it
> should compile in the IDE as well.
> However this does not happen. This seems to be a bug. Ant only compiles
> with the jdk it is run with, which
> is JDK 11 inside the IDE and JDK 8 on command line, ignoring the project
> setting.
>

Right. It is possible that sigtest ignores "nbjdk.home" property and runs
on JDK the Ant is running at. That would be a bug. The file that needs to
be fixed in such case is at nbbuild/antsrc/org/netbeans/nbbuild/Sigtest.java
-jt


Javadoc for HTML/Java API

2019-10-13 Thread Jaroslav Tulach
Hello guys,
I've just noticed that http://bits.netbeans.org/html+java/ javadoc
redirects to some old IP addresses. Could we setup proper way of generating
the HTML/Java API javadoc? Locally I do:

$ git clone https://gitbox.apache.org/repos/asf/netbeans-html4j.git
$ cd netbeans-html4j
$ mvn javadoc:aggregate

Thanks for any help.
-jt


Re: energy consumption

2019-10-13 Thread Jaroslav Tulach
http://wiki.netbeans.org/FaqProfileMeNow
-jt

po 14. 10. 2019 v 4:51 odesílatel Eirik Bakke  napsal:

> This could be due to any number of issues that cause high CPU
> utilization--it might be very specific to your use case.
>
> So the first step would be to identify cases where you see NetBeans is
> using a lot of CPU resources, and try to figure out what is going on in
> each case.
>
> -- Eirik
>
> -Original Message-
> From: Peter Cheung 
> Sent: Sunday, October 13, 2019 6:06 PM
> To: dev@netbeans.apache.org
> Subject: energy consumption
>
> Hi All
> Netbeans 11.1 eat up the notebook battery so fast. My macbook pro 15
> can only stand for 1.5 hour max. Does the group has any plan to optimize it?
> Thanks
> From Peter
>
> -
> 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: energy consumption

2019-10-13 Thread Eirik Bakke
This could be due to any number of issues that cause high CPU utilization--it 
might be very specific to your use case.

So the first step would be to identify cases where you see NetBeans is using a 
lot of CPU resources, and try to figure out what is going on in each case.

-- Eirik

-Original Message-
From: Peter Cheung  
Sent: Sunday, October 13, 2019 6:06 PM
To: dev@netbeans.apache.org
Subject: energy consumption

Hi All
Netbeans 11.1 eat up the notebook battery so fast. My macbook pro 15 can 
only stand for 1.5 hour max. Does the group has any plan to optimize it?
Thanks
>From Peter

-
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: energy consumption

2019-10-13 Thread Peter Cheung
Hi, my macbook pro is 2016 early.


Thanks
From Peter

From: Steve Hannah 
Sent: Monday, October 14, 2019 9:33 AM
To: dev@netbeans.apache.org 
Subject: Re: energy consumption

Curious what year MacBook Pro?  I have a 2012  that really churns for
netbeans.  And a 2015 that runs with no issues.  Have never been able to
narrow down why the 2012 has to work so hard but I think it’s Java related
and not Netbeans specific.

On Sun, Oct 13, 2019 at 5:56 PM Scott Palmer  wrote:

> This is likely due to a bug that causes the Swing framework to use the
> high performance graphics chip instead of the integrated graphics chip.
>
> Unfortunately, I think the way that the NetBeans launcher works, the bug
> is unavoidable. The process that is using the CPU is not the main process
> of the NetBeans application bundle. I think that makes the workaround
> ineffective.
>
> Scott
>
> > On Oct 13, 2019, at 6:06 PM, Peter Cheung  wrote:
> >
> > Hi All
> >Netbeans 11.1 eat up the notebook battery so fast. My macbook pro 15
> can only stand for 1.5 hour max. Does the group has any plan to optimize it?
> > Thanks
> > From Peter
>
> -
> 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
>
>
>
> --
Steve Hannah
Web Lite Solutions Corp.


Re: energy consumption

2019-10-13 Thread Steve Hannah
Curious what year MacBook Pro?  I have a 2012  that really churns for
netbeans.  And a 2015 that runs with no issues.  Have never been able to
narrow down why the 2012 has to work so hard but I think it’s Java related
and not Netbeans specific.

On Sun, Oct 13, 2019 at 5:56 PM Scott Palmer  wrote:

> This is likely due to a bug that causes the Swing framework to use the
> high performance graphics chip instead of the integrated graphics chip.
>
> Unfortunately, I think the way that the NetBeans launcher works, the bug
> is unavoidable. The process that is using the CPU is not the main process
> of the NetBeans application bundle. I think that makes the workaround
> ineffective.
>
> Scott
>
> > On Oct 13, 2019, at 6:06 PM, Peter Cheung  wrote:
> >
> > Hi All
> >Netbeans 11.1 eat up the notebook battery so fast. My macbook pro 15
> can only stand for 1.5 hour max. Does the group has any plan to optimize it?
> > Thanks
> > From Peter
>
> -
> 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
>
>
>
> --
Steve Hannah
Web Lite Solutions Corp.


Re: energy consumption

2019-10-13 Thread Scott Palmer
This is likely due to a bug that causes the Swing framework to use the high 
performance graphics chip instead of the integrated graphics chip. 

Unfortunately, I think the way that the NetBeans launcher works, the bug is 
unavoidable. The process that is using the CPU is not the main process of the 
NetBeans application bundle. I think that makes the workaround ineffective. 

Scott

> On Oct 13, 2019, at 6:06 PM, Peter Cheung  wrote:
> 
> Hi All
>Netbeans 11.1 eat up the notebook battery so fast. My macbook pro 15 can 
> only stand for 1.5 hour max. Does the group has any plan to optimize it?
> Thanks
> From Peter

-
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





energy consumption

2019-10-13 Thread Peter Cheung
Hi All
Netbeans 11.1 eat up the notebook battery so fast. My macbook pro 15 can 
only stand for 1.5 hour max. Does the group has any plan to optimize it?
Thanks
>From Peter


Cannot login on New Plugin Portal

2019-10-13 Thread Alessandro
Hi all,
  I just finished trying the new procedure for having a plugin available on
the new Plugin Portal.

I successfully published the plugin on Maven Central (perhaps the biggest
step) now I am trying to log-in into the plugin portal to complete the
publishing process but after inserting my Google credentials the
"AddPlugin" button mentioned in the Help section is not available.

I was able to log-in last friday just to have a look so this looks like a
temporary server problem, could anyone have a look?

Regards,
Alex