Re: Executable version

2019-01-04 Thread Emilian Bold
Good catch! That .exe doesn't need to be compiled very often since it
doesn't change and there's not much it has to do.

So, we last compiled it for NetBeans 9 and will use it until it breaks :-)

Please open a JIRA issue if you want, but we'll have to wait for Jan
to recompile the .exe.

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Fri, Jan 4, 2019 at 8:16 PM Mark A. Claassen  wrote:
>
> This is not a big deal, but I noticed that the Windows executable properties 
> are old.
>
>
>
> Right click on “netbeans64.exe” and select “Properties”.  Then on the 
> “Details” tab there are several items, some of which are out of date:
>
>
>
> File Version: 9.0.0.0
>
> Product Name: Netbeans IDE 9.0
>
> Product Version 9.0.0.0
>
>
>
>
>
> Mark Claassen
>
> Senior Software Engineer
>
>
>
> Donnell Systems, Inc.
>
> 130 South Main Street
>
> Leighton Plaza Suite 375
>
> South Bend, IN  46601
>
> E-mail: mailto:mclaas...@ocie.net
>
> Voice: (574)232-3784
>
> Fax: (574)232-4014
>
>
>
> Disclaimer:
>
> The opinions provided herein do not necessarily state or reflect
>
> those of Donnell Systems, Inc.(DSI). DSI makes no warranty for and
>
> assumes no legal liability or responsibility for the posting.
>
>

-
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



RE: Netbeans 10 Gradle support

2019-01-04 Thread Mark A. Claassen
Thanks so much for the help!  That worked perfectly.

Mark Claassen
Senior Software Engineer

Donnell Systems, Inc.
130 South Main Street
Leighton Plaza Suite 375
South Bend, IN  46601
E-mail: mailto:mclaas...@ocie.net
Voice: (574)232-3784
Fax: (574)232-4014

---
Confidentiality Notice: OCIESERVICE
---
The contents of this e-mail message and any attachments are intended solely for 
the addressee(s) named in this message. This communication is intended to be 
and to remain confidential. If you are not the intended recipient of this 
message, or if this message has been addressed to you in error, please 
immediately alert the sender by reply e-mail and then delete this message and 
its attachments. Do not deliver, distribute, copy, disclose the contents or 
take any action in reliance upon the information contained in the communication 
or any attachments.

From: Peter Steele 
Sent: Friday, January 4, 2019 10:08 AM
To: Mark A. Claassen 
Cc: users@netbeans.apache.org
Subject: Re: Netbeans 10 Gradle support

I downloaded from the authors GitHub page and added manually, works fine when 
you have the groovy plugin. Would be good to get it added in to the repository 
though

On Fri, 4 Jan 2019, 14:39 Mark A. Claassen 
mailto:mclaas...@ocie.net> wrote:
I just tried the final release of Netbeans 10 and everything work pretty well.  
However, I am unable to find a Gradle plugin.   Even adding the old update 
centers, I can’t find one.  Here are the additional update centers I tried:

http://plugins.netbeans.org/nbpluginportal/updates/8.2/catalog.xml.gz
https://netbeans.apache.org/nb/updates/9.0/updates.xml.gz
http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz

Any ideas on how I can find this plugin?

Thanks!

Mark Claassen
Senior Software Engineer

Donnell Systems, Inc.
130 South Main Street
Leighton Plaza Suite 375
South Bend, IN  46601
E-mail: mailto:mclaas...@ocie.net
Voice: (574)232-3784
Fax: (574)232-4014

Disclaimer:
The opinions provided herein do not necessarily state or reflect
those of Donnell Systems, Inc.(DSI). DSI makes no warranty for and
assumes no legal liability or responsibility for the posting.



Executable version

2019-01-04 Thread Mark A. Claassen
This is not a big deal, but I noticed that the Windows executable properties 
are old.

Right click on "netbeans64.exe" and select "Properties".  Then on the "Details" 
tab there are several items, some of which are out of date:

File Version: 9.0.0.0
Product Name: Netbeans IDE 9.0
Product Version 9.0.0.0


Mark Claassen
Senior Software Engineer

Donnell Systems, Inc.
130 South Main Street
Leighton Plaza Suite 375
South Bend, IN  46601
E-mail: mailto:mclaas...@ocie.net
Voice: (574)232-3784
Fax: (574)232-4014

Disclaimer:
The opinions provided herein do not necessarily state or reflect
those of Donnell Systems, Inc.(DSI). DSI makes no warranty for and
assumes no legal liability or responsibility for the posting.



Re: Netbeans 10 Gradle support

2019-01-04 Thread Scott Palmer
It doesn’t seem to show up in the update centre for me either.  (It used to for 
8.2.)
So I just manually download it 
http://plugins.netbeans.org/plugin/44510/gradle-support 


Scott

> On Jan 4, 2019, at 9:32 AM, Mark A. Claassen  wrote:
> 
> I just tried the final release of Netbeans 10 and everything work pretty 
> well.  However, I am unable to find a Gradle plugin.   Even adding the old 
> update centers, I can’t find one.  Here are the additional update centers I 
> tried:
>  
> http://plugins.netbeans.org/nbpluginportal/updates/8.2/catalog.xml.gz 
> 
> https://netbeans.apache.org/nb/updates/9.0/updates.xml.gz 
> 
> http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz
>  
> 
>  
> Any ideas on how I can find this plugin?
>  
> Thanks!


Re: Netbeans 10 Gradle support

2019-01-04 Thread Peter Steele
I downloaded from the authors GitHub page and added manually, works fine
when you have the groovy plugin. Would be good to get it added in to the
repository though

On Fri, 4 Jan 2019, 14:39 Mark A. Claassen  I just tried the final release of Netbeans 10 and everything work pretty
> well.  However, I am unable to find a Gradle plugin.   Even adding the old
> update centers, I can’t find one.  Here are the additional update centers I
> tried:
>
>
>
> http://plugins.netbeans.org/nbpluginportal/updates/8.2/catalog.xml.gz
>
> https://netbeans.apache.org/nb/updates/9.0/updates.xml.gz
>
>
> http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz
>
>
>
> Any ideas on how I can find this plugin?
>
>
>
> Thanks!
>
>
>
> Mark Claassen
>
> Senior Software Engineer
>
>
>
> Donnell Systems, Inc.
>
> 130 South Main Street
>
> Leighton Plaza Suite 375
>
> South Bend, IN  46601
>
> E-mail: mailto:mclaas...@ocie.net 
>
> Voice: (574)232-3784
>
> Fax: (574)232-4014
>
>
>
> Disclaimer:
>
> The opinions provided herein do not necessarily state or reflect
>
> those of Donnell Systems, Inc.(DSI). DSI makes no warranty for and
>
> assumes no legal liability or responsibility for the posting.
>
>
>


Netbeans 10 Gradle support

2019-01-04 Thread Mark A. Claassen
I just tried the final release of Netbeans 10 and everything work pretty well.  
However, I am unable to find a Gradle plugin.   Even adding the old update 
centers, I can't find one.  Here are the additional update centers I tried:

http://plugins.netbeans.org/nbpluginportal/updates/8.2/catalog.xml.gz
https://netbeans.apache.org/nb/updates/9.0/updates.xml.gz
http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz

Any ideas on how I can find this plugin?

Thanks!

Mark Claassen
Senior Software Engineer

Donnell Systems, Inc.
130 South Main Street
Leighton Plaza Suite 375
South Bend, IN  46601
E-mail: mailto:mclaas...@ocie.net
Voice: (574)232-3784
Fax: (574)232-4014

Disclaimer:
The opinions provided herein do not necessarily state or reflect
those of Donnell Systems, Inc.(DSI). DSI makes no warranty for and
assumes no legal liability or responsibility for the posting.



Re: Posible bug in Netbeans 10.0 - Macos 10.14.2 (Mojave)

2019-01-04 Thread Juan Miguel Escribano
Sorry for the confusion.

Jstack Dump attached

best

Juan Miguel
El 4 ene 2019 12:07 +0100, Emilian Bold , escribió:
> This doesn't look like a java thread dump. Use something like jstack
> https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/tooldescr016.html
>
> --emi
>
> http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!
>
> On Fri, Jan 4, 2019 at 12:52 PM Juan Miguel Escribano
>  wrote:
> >
> > Here you are
> >
> > Best
> >
> > Juan Miguel
> > El 4 ene 2019 9:17 +0100, Emilian Bold , escribió:
> >
> > A thread dump during the beach ball would probably also help.
> >
> > --emi
> >
> > http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!
> >
> > On Thu, Jan 3, 2019 at 7:43 PM Juan Miguel Escribano
> >  wrote:
> >
> >
> > Same problem with other project opened and no svn errores in messages.log
> >
> > Best
> >
> > Juan Miguel
> > El 3 ene 2019 18:14 +0100, Emilian Bold , escribió:
> >
> > It might be related to the svn errors you are getting. If you close
> > the projects do you still reproduce the bug with 'Same background
> > color for files from the same project'?
> >
> > --emi
> >
> > http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!
> >
> > On Thu, Jan 3, 2019 at 6:34 PM Juan Miguel Escribano
> >  wrote:
> >
> >
> > Hi all,
> >
> > Before commit a bug report I would like to know if the problem is only mine 
> > or it is, really, a Netbeans’ bug.
> >
> > System:
> > Macos 10.14.2 (Mojave)
> > Netbeans 10.0 running over Java 1.8.0_181
> > (The same problem occurs with Netbeans 9 and Netbeans 8.2)
> >
> > Steps:
> > Activate “Same background color for files from the same project” in 
> > Preferences -> Appearance -> Document Tabs
> >
> > Quit Netbeans and starts again.
> >
> > Go to a source file and click over any part of the text.
> >
> > The “system wait for” beach ball appears and Netbeans is unresponsive at 
> > all. Need to force quit to exit Netbeans.
> >
> > ¿Anyone can confirm that this problem is general or only mine, please?
> >
> > Attached: messages.log
> >
> > Best
> >
> > Juan Miguel
> >
> > -
> > 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
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.181-b13 mixed mode):

"Timer-0" #60 prio=6 os_prio=31 tid=0x7fd9d5681000 nid=0x17f1b in 
Object.wait() [0x79537000]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)
at java.util.TimerThread.mainLoop(Timer.java:526)
- locked <0x0007ba743d78> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:505)

"Attach Listener" #56 daemon prio=9 os_prio=31 tid=0x7fd9d22f3000 
nid=0x1e457 waiting on condition [0x]
   java.lang.Thread.State: RUNNABLE

"Inactive RequestProcessor thread 
[Was:JavaSourceTaskFactory/org.netbeans.api.java.source.JavaSourceTaskFactory$1]"
 #53 daemon prio=1 os_prio=31 tid=0x7fd9d28d6800 nid=0x1d903 in 
Object.wait() [0x7a752000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1977)
- locked <0x000784db5428> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:Pause 
Action/org.netbeans.modules.masterfs.ui.suspend.PauseAction$1Controller]" #51 
daemon prio=1 os_prio=31 tid=0x7fd9cec45800 nid=0x17503 in Object.wait() 
[0x7a54f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1977)
- locked <0x0007857b8958> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:JarFs - modification 
watcher/org.openide.filesystems.JarFileSystem$2]" #50 daemon prio=1 os_prio=31 
tid=0x7fd9d56f2800 nid=0x1da13 in Object.wait() [0x7a34c000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1977)
- locked <0x0007860a0cd8> (a java.lang.Object)

"Inactive RequestProcessor thread 
[Was:MimePathLookupFiring/org.openide.util.lookup.ProxyLookup$1Notify]" #48 
daemon prio=1 os_prio=31 tid=0x7fd9d568d800 nid=0x1710b in Object.wait() 
[0x7a149000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1977)
- l

Re: Posible bug in Netbeans 10.0 - Macos 10.14.2 (Mojave)

2019-01-04 Thread Emilian Bold
This doesn't look like a java thread dump. Use something like jstack
https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/tooldescr016.html

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Fri, Jan 4, 2019 at 12:52 PM Juan Miguel Escribano
 wrote:
>
> Here you are
>
> Best
>
> Juan Miguel
> El 4 ene 2019 9:17 +0100, Emilian Bold , escribió:
>
> A thread dump during the beach ball would probably also help.
>
> --emi
>
> http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!
>
> On Thu, Jan 3, 2019 at 7:43 PM Juan Miguel Escribano
>  wrote:
>
>
> Same problem with other project opened and no svn errores in messages.log
>
> Best
>
> Juan Miguel
> El 3 ene 2019 18:14 +0100, Emilian Bold , escribió:
>
> It might be related to the svn errors you are getting. If you close
> the projects do you still reproduce the bug with 'Same background
> color for files from the same project'?
>
> --emi
>
> http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!
>
> On Thu, Jan 3, 2019 at 6:34 PM Juan Miguel Escribano
>  wrote:
>
>
> Hi all,
>
> Before commit a bug report I would like to know if the problem is only mine 
> or it is, really, a Netbeans’ bug.
>
> System:
> Macos 10.14.2 (Mojave)
> Netbeans 10.0 running over Java 1.8.0_181
> (The same problem occurs with Netbeans 9 and Netbeans 8.2)
>
> Steps:
> Activate “Same background color for files from the same project” in 
> Preferences -> Appearance -> Document Tabs
>
> Quit Netbeans and starts again.
>
> Go to a source file and click over any part of the text.
>
> The “system wait for” beach ball appears and Netbeans is unresponsive at all. 
> Need to force quit to exit Netbeans.
>
> ¿Anyone can confirm that this problem is general or only mine, please?
>
> Attached: messages.log
>
> Best
>
> Juan Miguel
>
> -
> 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

-
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



Re: [PHP] NB8.2 / NB10.0 long background scanning - Netbeans tunning guide

2019-01-04 Thread Mondane Woodworker
Well, the easiest steps would be:

1. Go to https://magento.com/tech-resources/download and download the
latest 2.2.x version without sample data. You'll get a surveyform, but you
can fill in what you want.
2. Unpack the downloaded archive somewhere.
3. Open NetBeans 10.x and create a PHP 7.1. projecs with existing sources,
point to the 'somewhere'.

And now wait

Op vr 4 jan. 2019 om 09:27 schreef Geertjan Wielenga <
geertjan.wiele...@googlemail.com>:

> Maybe you can tell us step by step how to replicate your scenario.
>
> Gj
>
> On Fri, Jan 4, 2019 at 9:26 AM Emilian Bold 
> wrote:
>
>> You could take some thead dump every now and then and see which class
>> is running. Profiling the IDE could also show this.
>>
>> There are also various logs where you could increase the log level
>> once you figure out which classes / packages to look further into.
>>
>> --emi
>>
>> http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!
>>
>> On Fri, Jan 4, 2019 at 10:24 AM Mondane Woodworker
>>  wrote:
>> >
>> > I've tested this approach but it doesn't seem to improve my situation.
>> The background scanning is still going on for 20 minutes now. For the other
>> projects I've mentioned, this normally takes max. 5 minutes.
>> >
>> > Can I debug this somehow to help indicate why it's taking so long?
>> >
>> > Op do 3 jan. 2019 om 17:02 schreef arsi :
>> >>
>> >> Hi,
>> >>
>> >> The best way to speed up Netbeans is to move the netbeans_cachedir to
>> RAM disk.
>> >>
>> >> On linux:
>> >>
>> >> Create a directory, for example /media/ramdisk
>> >>
>> >> Add to /etc/fstab line:
>> >>
>> >> none /media/ramdisk tmpfs defaults,user,size=2G,mode=0777 0 0
>> >>
>> >> reboot
>> >>
>> >> Create new file  /lib/systemd/system/ramdisk.service
>> >>
>> >> [Unit]
>> >> Description=RAM-Disk Manager
>> >> Before=umount.target
>> >>
>> >> [Service]
>> >> Type=oneshot
>> >> RemainAfterExit=yes
>> >> User=root
>> >> ExecStart=/usr/bin/rsync -ar /ssd/ramdisk-backup/ /media/ramdisk/
>> >> ExecStop=/usr/bin/rsync -ar /media/ramdisk/ /ssd/ramdisk-backup/
>> >>
>> >> [Install]
>> >> WantedBy=multi-user.target
>> >>
>> >> Replace /ssd/ramdisk-backup/ with a location on the HDD where the
>> contents of the RAM disk will be saved when the computer is shut down..
>> >>
>> >>
>> >> sudo apt install rsync
>> >>
>> >> sudo systemctl enable ramdisk.service
>> >>
>> >> Menu Netbeans -> About -> Cache directory
>> >> And turn off netbeans.
>> >>
>> >> copy all directories from Cache directory to /media/ramdisk except
>> mavencachedirs and mavenindex.
>> >>
>> >> For the mavencachedirs and mavenindex, create a symlink. The size of
>> the two directories are huge.
>> >>
>> >> sudo rsync -ar /media/ramdisk/ /ssd/ramdisk-backup/  first backup...
>> >>
>> >> sudo systemctl start ramdisk.service
>> >>
>> >> now ...netbeans_dir/etc/netbeans.conf
>> >>
>> >> netbeans_default_cachedir="/media/ramdisk"
>> >>
>> >>
>> >> Run netbeans and enjoy the speed :)
>> >>
>> >> ArSi
>> >>
>> >> 
>> >> From: Mondane Woodworker 
>> >> Sent: Thursday, January 03, 2019 3:18PM
>> >>
>> >> Cc: Users 
>> >> Subject: Re: [PHP] NB8.2 / NB10.0 long background scanning Magento 2
>> projects
>> >>
>> >> Excluding the vendor folder is not really an option as I need NetBeans
>> to know which classes are available. From the video, I added nodejs and
>> node_modules to the ignored files pattern. I'll look into the magento
>> modules to see if more can be ignored, I've ignored tests already, this
>> saves ~8000 files
>> >>
>> >> Op do 3 jan. 2019 om 12:25 schreef Geertjan Wielenga <
>> geertjan.wiele...@googlemail.com>:
>> >>>
>> >>> Maybe you can exclude the 'vendor' folder from scanning as explained
>> here:
>> >>>
>> >>> https://www.youtube.com/watch?v=iBCid5KQDA8
>> >>>
>> >>> Gj
>> >>>
>> >>> On Thu, Jan 3, 2019 at 12:23 PM Mondane Woodworker <
>> mondane.woodwor...@gmail.com> wrote:
>> 
>>  Hello,
>> 
>>  Since a few months, I started developing Magento 2 shops in NetBeans
>> 8.2 and 10.0 . I've noticed the background scanning of such projects takes
>> a long time and stays on 50%.
>> 
>>  This is after I've performed a composer install to have a /vendor
>> folder with all the Magento 2 packages.
>> 
>>  I don't have this problem when building something on Zend Framework
>> 2/3 or symfony 2+.
>> 
>>  Do more users experience this?
>> 
>>  NB I'm using a laptop with SSD's.
>> 
>>  Regards,
>>  Mondane
>> >>
>> >>
>>
>> -
>> 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
>>
>>


Re: [PHP] NB8.2 / NB10.0 long background scanning - Netbeans tunning guide

2019-01-04 Thread Geertjan Wielenga
Maybe you can tell us step by step how to replicate your scenario.

Gj

On Fri, Jan 4, 2019 at 9:26 AM Emilian Bold  wrote:

> You could take some thead dump every now and then and see which class
> is running. Profiling the IDE could also show this.
>
> There are also various logs where you could increase the log level
> once you figure out which classes / packages to look further into.
>
> --emi
>
> http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!
>
> On Fri, Jan 4, 2019 at 10:24 AM Mondane Woodworker
>  wrote:
> >
> > I've tested this approach but it doesn't seem to improve my situation.
> The background scanning is still going on for 20 minutes now. For the other
> projects I've mentioned, this normally takes max. 5 minutes.
> >
> > Can I debug this somehow to help indicate why it's taking so long?
> >
> > Op do 3 jan. 2019 om 17:02 schreef arsi :
> >>
> >> Hi,
> >>
> >> The best way to speed up Netbeans is to move the netbeans_cachedir to
> RAM disk.
> >>
> >> On linux:
> >>
> >> Create a directory, for example /media/ramdisk
> >>
> >> Add to /etc/fstab line:
> >>
> >> none /media/ramdisk tmpfs defaults,user,size=2G,mode=0777 0 0
> >>
> >> reboot
> >>
> >> Create new file  /lib/systemd/system/ramdisk.service
> >>
> >> [Unit]
> >> Description=RAM-Disk Manager
> >> Before=umount.target
> >>
> >> [Service]
> >> Type=oneshot
> >> RemainAfterExit=yes
> >> User=root
> >> ExecStart=/usr/bin/rsync -ar /ssd/ramdisk-backup/ /media/ramdisk/
> >> ExecStop=/usr/bin/rsync -ar /media/ramdisk/ /ssd/ramdisk-backup/
> >>
> >> [Install]
> >> WantedBy=multi-user.target
> >>
> >> Replace /ssd/ramdisk-backup/ with a location on the HDD where the
> contents of the RAM disk will be saved when the computer is shut down..
> >>
> >>
> >> sudo apt install rsync
> >>
> >> sudo systemctl enable ramdisk.service
> >>
> >> Menu Netbeans -> About -> Cache directory
> >> And turn off netbeans.
> >>
> >> copy all directories from Cache directory to /media/ramdisk except
> mavencachedirs and mavenindex.
> >>
> >> For the mavencachedirs and mavenindex, create a symlink. The size of
> the two directories are huge.
> >>
> >> sudo rsync -ar /media/ramdisk/ /ssd/ramdisk-backup/  first backup...
> >>
> >> sudo systemctl start ramdisk.service
> >>
> >> now ...netbeans_dir/etc/netbeans.conf
> >>
> >> netbeans_default_cachedir="/media/ramdisk"
> >>
> >>
> >> Run netbeans and enjoy the speed :)
> >>
> >> ArSi
> >>
> >> 
> >> From: Mondane Woodworker 
> >> Sent: Thursday, January 03, 2019 3:18PM
> >>
> >> Cc: Users 
> >> Subject: Re: [PHP] NB8.2 / NB10.0 long background scanning Magento 2
> projects
> >>
> >> Excluding the vendor folder is not really an option as I need NetBeans
> to know which classes are available. From the video, I added nodejs and
> node_modules to the ignored files pattern. I'll look into the magento
> modules to see if more can be ignored, I've ignored tests already, this
> saves ~8000 files
> >>
> >> Op do 3 jan. 2019 om 12:25 schreef Geertjan Wielenga <
> geertjan.wiele...@googlemail.com>:
> >>>
> >>> Maybe you can exclude the 'vendor' folder from scanning as explained
> here:
> >>>
> >>> https://www.youtube.com/watch?v=iBCid5KQDA8
> >>>
> >>> Gj
> >>>
> >>> On Thu, Jan 3, 2019 at 12:23 PM Mondane Woodworker <
> mondane.woodwor...@gmail.com> wrote:
> 
>  Hello,
> 
>  Since a few months, I started developing Magento 2 shops in NetBeans
> 8.2 and 10.0 . I've noticed the background scanning of such projects takes
> a long time and stays on 50%.
> 
>  This is after I've performed a composer install to have a /vendor
> folder with all the Magento 2 packages.
> 
>  I don't have this problem when building something on Zend Framework
> 2/3 or symfony 2+.
> 
>  Do more users experience this?
> 
>  NB I'm using a laptop with SSD's.
> 
>  Regards,
>  Mondane
> >>
> >>
>
> -
> 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
>
>


Re: [PHP] NB8.2 / NB10.0 long background scanning - Netbeans tunning guide

2019-01-04 Thread Emilian Bold
You could take some thead dump every now and then and see which class
is running. Profiling the IDE could also show this.

There are also various logs where you could increase the log level
once you figure out which classes / packages to look further into.

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Fri, Jan 4, 2019 at 10:24 AM Mondane Woodworker
 wrote:
>
> I've tested this approach but it doesn't seem to improve my situation. The 
> background scanning is still going on for 20 minutes now. For the other 
> projects I've mentioned, this normally takes max. 5 minutes.
>
> Can I debug this somehow to help indicate why it's taking so long?
>
> Op do 3 jan. 2019 om 17:02 schreef arsi :
>>
>> Hi,
>>
>> The best way to speed up Netbeans is to move the netbeans_cachedir to RAM 
>> disk.
>>
>> On linux:
>>
>> Create a directory, for example /media/ramdisk
>>
>> Add to /etc/fstab line:
>>
>> none /media/ramdisk tmpfs defaults,user,size=2G,mode=0777 0 0
>>
>> reboot
>>
>> Create new file  /lib/systemd/system/ramdisk.service
>>
>> [Unit]
>> Description=RAM-Disk Manager
>> Before=umount.target
>>
>> [Service]
>> Type=oneshot
>> RemainAfterExit=yes
>> User=root
>> ExecStart=/usr/bin/rsync -ar /ssd/ramdisk-backup/ /media/ramdisk/
>> ExecStop=/usr/bin/rsync -ar /media/ramdisk/ /ssd/ramdisk-backup/
>>
>> [Install]
>> WantedBy=multi-user.target
>>
>> Replace /ssd/ramdisk-backup/ with a location on the HDD where the contents 
>> of the RAM disk will be saved when the computer is shut down..
>>
>>
>> sudo apt install rsync
>>
>> sudo systemctl enable ramdisk.service
>>
>> Menu Netbeans -> About -> Cache directory
>> And turn off netbeans.
>>
>> copy all directories from Cache directory to /media/ramdisk except 
>> mavencachedirs and mavenindex.
>>
>> For the mavencachedirs and mavenindex, create a symlink. The size of the two 
>> directories are huge.
>>
>> sudo rsync -ar /media/ramdisk/ /ssd/ramdisk-backup/  first backup...
>>
>> sudo systemctl start ramdisk.service
>>
>> now ...netbeans_dir/etc/netbeans.conf
>>
>> netbeans_default_cachedir="/media/ramdisk"
>>
>>
>> Run netbeans and enjoy the speed :)
>>
>> ArSi
>>
>> 
>> From: Mondane Woodworker 
>> Sent: Thursday, January 03, 2019 3:18PM
>>
>> Cc: Users 
>> Subject: Re: [PHP] NB8.2 / NB10.0 long background scanning Magento 2 projects
>>
>> Excluding the vendor folder is not really an option as I need NetBeans to 
>> know which classes are available. From the video, I added nodejs and 
>> node_modules to the ignored files pattern. I'll look into the magento 
>> modules to see if more can be ignored, I've ignored tests already, this 
>> saves ~8000 files
>>
>> Op do 3 jan. 2019 om 12:25 schreef Geertjan Wielenga 
>> :
>>>
>>> Maybe you can exclude the 'vendor' folder from scanning as explained here:
>>>
>>> https://www.youtube.com/watch?v=iBCid5KQDA8
>>>
>>> Gj
>>>
>>> On Thu, Jan 3, 2019 at 12:23 PM Mondane Woodworker 
>>>  wrote:

 Hello,

 Since a few months, I started developing Magento 2 shops in NetBeans 8.2 
 and 10.0 . I've noticed the background scanning of such projects takes a 
 long time and stays on 50%.

 This is after I've performed a composer install to have a /vendor folder 
 with all the Magento 2 packages.

 I don't have this problem when building something on Zend Framework 2/3 or 
 symfony 2+.

 Do more users experience this?

 NB I'm using a laptop with SSD's.

 Regards,
 Mondane
>>
>>

-
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



Re: [PHP] NB8.2 / NB10.0 long background scanning - Netbeans tunning guide

2019-01-04 Thread Mondane Woodworker
I've tested this approach but it doesn't seem to improve my situation. The
background scanning is still going on for 20 minutes now. For the other
projects I've mentioned, this normally takes max. 5 minutes.

Can I debug this somehow to help indicate why it's taking so long?

Op do 3 jan. 2019 om 17:02 schreef arsi :

> Hi,
>
> The best way to speed up Netbeans is to move the netbeans_cachedir to RAM
> disk.
>
> On linux:
>
> Create a directory, for example */media/ramdisk*
>
> Add to */etc/fstab* line:
>
> none /media/ramdisk tmpfs defaults,user,size=2G,mode=0777 0 0
>
> ​
> reboot
>
> Create new file * /lib/systemd/system/ramdisk.service*
>
> [Unit]
> Description=RAM-Disk Manager
> Before=umount.target
>
> [Service]
> Type=oneshot
> RemainAfterExit=yes
> User=root
> ExecStart=/usr/bin/rsync -ar /ssd/ramdisk-backup/ /media/ramdisk/
> ExecStop=/usr/bin/rsync -ar /media/ramdisk/ /ssd/ramdisk-backup/
>
> [Install]
> WantedBy=multi-user.target
>
> ​
>
> Replace */ssd/ramdisk-backup/ *with a location on the HDD where the
> contents of the RAM disk will be saved when the computer is shut down..
>
>
> *sudo apt install rsync*
>
> *sudo systemctl enable **ramdisk.service*
>
> Menu Netbeans -> About -> Cache directory
> And turn off netbeans.
>
> copy all directories from Cache directory to */media/ramdisk* except 
> *mavencachedirs
> *and *mavenindex*.
>
> For the *mavencachedirs *and *mavenindex*, create a symlink. The size of
> the two directories are huge.
>
> *sudo rsync -ar /media/ramdisk/ /ssd/ramdisk-backup/  *first backup...
>
> *sudo systemctl start **ramdisk.service*
>
> now ...*netbeans_dir/etc/netbeans.conf*
>
>
> netbeans_default_cachedir="/media/ramdisk"
>
> ​
>
> Run netbeans and enjoy the speed :)
>
> ArSi
>
> --
> *From:* Mondane Woodworker 
> 
> *Sent:* Thursday, January 03, 2019 3:18PM
>
> *Cc:* Users 
> 
> *Subject:* Re: [PHP] NB8.2 / NB10.0 long background scanning Magento 2
> projects
>
> Excluding the vendor folder is not really an option as I need NetBeans to
> know which classes are available. From the video, I added nodejs and
> node_modules to the ignored files pattern. I'll look into the magento
> modules to see if more can be ignored, I've ignored tests already, this
> saves ~8000 files
>
> Op do 3 jan. 2019 om 12:25 schreef Geertjan Wielenga <
> geertjan.wiele...@googlemail.com>:
>
>> Maybe you can exclude the 'vendor' folder from scanning as explained
>> here:
>>
>> https://www.youtube.com/watch?v=iBCid5KQDA8
>>
>> Gj
>>
>> On Thu, Jan 3, 2019 at 12:23 PM Mondane Woodworker <
>> mondane.woodwor...@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> Since a few months, I started developing Magento 2 shops in NetBeans 8.2
>>> and 10.0 . I've noticed the background scanning of such projects takes a
>>> long time and stays on 50%.
>>>
>>> This is after I've performed a composer install to have a /vendor folder
>>> with all the Magento 2 packages.
>>>
>>> I don't have this problem when building something on Zend Framework 2/3
>>> or symfony 2+.
>>>
>>> Do more users experience this?
>>>
>>> NB I'm using a laptop with SSD's.
>>>
>>> Regards,
>>> Mondane
>>>
>>
>


Re: Posible bug in Netbeans 10.0 - Macos 10.14.2 (Mojave)

2019-01-04 Thread Emilian Bold
A thread dump during the beach ball would probably also help.

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Thu, Jan 3, 2019 at 7:43 PM Juan Miguel Escribano
 wrote:
>
> Same problem with other project opened and no svn errores in messages.log
>
> Best
>
> Juan Miguel
> El 3 ene 2019 18:14 +0100, Emilian Bold , escribió:
>
> It might be related to the svn errors you are getting. If you close
> the projects do you still reproduce the bug with 'Same background
> color for files from the same project'?
>
> --emi
>
> http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!
>
> On Thu, Jan 3, 2019 at 6:34 PM Juan Miguel Escribano
>  wrote:
>
>
> Hi all,
>
> Before commit a bug report I would like to know if the problem is only mine 
> or it is, really, a Netbeans’ bug.
>
> System:
> Macos 10.14.2 (Mojave)
> Netbeans 10.0 running over Java 1.8.0_181
> (The same problem occurs with Netbeans 9 and Netbeans 8.2)
>
> Steps:
> Activate “Same background color for files from the same project” in 
> Preferences -> Appearance -> Document Tabs
>
> Quit Netbeans and starts again.
>
> Go to a source file and click over any part of the text.
>
> The “system wait for” beach ball appears and Netbeans is unresponsive at all. 
> Need to force quit to exit Netbeans.
>
> ¿Anyone can confirm that this problem is general or only mine, please?
>
> Attached: messages.log
>
> Best
>
> Juan Miguel
>
> -
> 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

-
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