[jira] [Commented] (NETBEANS-1412) NetBeans should not scan jars for deactivated plugins

2019-01-07 Thread Christian Lenz (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16735781#comment-16735781
 ] 

Christian Lenz commented on NETBEANS-1412:
--

Sry, but it is as it is. Atm I have 114 for NetBeans 10. 7 plugins are 
deactivated atm.

Yes it could be a solution to implement it, but I saw a long history of 
discussions whether a feature will be implemented into the core code or it 
should be better a plugin. Maybe a lot can be implemented nowadays, beacuse 
some plugins only do a little piece that, IMHO is essential for NetBeans but 
ok. Problems nowadays too is to found the plugin developers again, which they 
created plugins years ago.

> NetBeans should not scan jars for deactivated plugins
> -
>
> Key: NETBEANS-1412
> URL: https://issues.apache.org/jira/browse/NETBEANS-1412
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Performance, platform - Plugin Manager
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> When I deactivate plugins, they will still be inside the folder 
> *C:\Users\Chrl\AppData\Roaming\NetBeans\8.2\modules*. When opening NetBeans I 
> got over 100 warnings of dependencies that will upgraded:
> {code}
> WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module 
> arduino: added = [module org.netbeans.modules.projectuiapi.base/1 > 1.78.0, 
> module org.openide.filesystems.nb, module org.openide.filesystems.compat8] 
> removed = []; details: [Separate projectuiapi into desktop and NetBeans 
> independent and dependent parts, Separation of desktop and cleanup]
> {code}
> So yes I installed arduino but I deactivated it. I deactivated a lot more 
> like ruby and atmel and all are scanned. So for me, I don't want to deinstall 
> those plugins, because I will loose the history of all plugins that I added 
> months or years ago.
> So in my understanding, netbeans scans all jars inside of the modules folder 
> and this takes time. Not that much, maybe some ms but if you have 150 addons 
> installed, like me and NetBeans needs round about 20ms for that jar to scan 
> at starting the IDE and give the warning, doesn't matter whether it is 
> activated or not, it will increase the starting time. So 150 * 20ms = 3s. Of 
> course this is not much but preventable.
> I would prefer to move deactivated plugins into a sub folder called 
> deactivated and exclude them from scanning, if this is possible, How does 
> that sounds?
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

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



[jira] [Commented] (NETBEANS-1412) NetBeans should not scan jars for deactivated plugins

2019-01-07 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16735777#comment-16735777
 ] 

Geertjan Wielenga commented on NETBEANS-1412:
-

Another solution is to think about those 250 plugins and see if that source 
code can, in co-operation with the plugin authors, be included in Apache 
NetBeans GitHub. I really can't think of any valid reason to need 250 plugins.

> NetBeans should not scan jars for deactivated plugins
> -
>
> Key: NETBEANS-1412
> URL: https://issues.apache.org/jira/browse/NETBEANS-1412
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Performance, platform - Plugin Manager
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> When I deactivate plugins, they will still be inside the folder 
> *C:\Users\Chrl\AppData\Roaming\NetBeans\8.2\modules*. When opening NetBeans I 
> got over 100 warnings of dependencies that will upgraded:
> {code}
> WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module 
> arduino: added = [module org.netbeans.modules.projectuiapi.base/1 > 1.78.0, 
> module org.openide.filesystems.nb, module org.openide.filesystems.compat8] 
> removed = []; details: [Separate projectuiapi into desktop and NetBeans 
> independent and dependent parts, Separation of desktop and cleanup]
> {code}
> So yes I installed arduino but I deactivated it. I deactivated a lot more 
> like ruby and atmel and all are scanned. So for me, I don't want to deinstall 
> those plugins, because I will loose the history of all plugins that I added 
> months or years ago.
> So in my understanding, netbeans scans all jars inside of the modules folder 
> and this takes time. Not that much, maybe some ms but if you have 150 addons 
> installed, like me and NetBeans needs round about 20ms for that jar to scan 
> at starting the IDE and give the warning, doesn't matter whether it is 
> activated or not, it will increase the starting time. So 150 * 20ms = 3s. Of 
> course this is not much but preventable.
> I would prefer to move deactivated plugins into a sub folder called 
> deactivated and exclude them from scanning, if this is possible, How does 
> that sounds?
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

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



[jira] [Commented] (NETBEANS-1412) NetBeans should not scan jars for deactivated plugins

2019-01-07 Thread Christian Lenz (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16735774#comment-16735774
 ] 

Christian Lenz commented on NETBEANS-1412:
--

It is not a problem, it is not a bug, it is an improvement. I only want to say, 
that deactivated plugins still takes time to scan on NetBeans startup. Little 
calculation:

1 Plugin takes 20ms round about to scan while NetBeans startup, which is 
deactivated.
If you have 250 plugins installed and you deactivated 150 in case of they are 
broken, or not working that well but working good to activate them later, etc. 
so you can calculate 150 * 20 = 3s. So we can win 3s of starting time of 
NetBeans. This is a little impact, for sure, but if we have some other 
improvements later etc, 3s are really nice to have it as a win. (And yes in 
NetBeans 8.2 and 9 I had ~ 250 Plugins and I will definitely go to do it in 
NetBeans 10 again). So again this could be an improvement, this is not a bug, 
not a big problem, but I figured it out and I was wondering, why deactivated 
plugins where scanned. There is really no reason for doing this. Thats it.

> NetBeans should not scan jars for deactivated plugins
> -
>
> Key: NETBEANS-1412
> URL: https://issues.apache.org/jira/browse/NETBEANS-1412
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Performance, platform - Plugin Manager
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> When I deactivate plugins, they will still be inside the folder 
> *C:\Users\Chrl\AppData\Roaming\NetBeans\8.2\modules*. When opening NetBeans I 
> got over 100 warnings of dependencies that will upgraded:
> {code}
> WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module 
> arduino: added = [module org.netbeans.modules.projectuiapi.base/1 > 1.78.0, 
> module org.openide.filesystems.nb, module org.openide.filesystems.compat8] 
> removed = []; details: [Separate projectuiapi into desktop and NetBeans 
> independent and dependent parts, Separation of desktop and cleanup]
> {code}
> So yes I installed arduino but I deactivated it. I deactivated a lot more 
> like ruby and atmel and all are scanned. So for me, I don't want to deinstall 
> those plugins, because I will loose the history of all plugins that I added 
> months or years ago.
> So in my understanding, netbeans scans all jars inside of the modules folder 
> and this takes time. Not that much, maybe some ms but if you have 150 addons 
> installed, like me and NetBeans needs round about 20ms for that jar to scan 
> at starting the IDE and give the warning, doesn't matter whether it is 
> activated or not, it will increase the starting time. So 150 * 20ms = 3s. Of 
> course this is not much but preventable.
> I would prefer to move deactivated plugins into a sub folder called 
> deactivated and exclude them from scanning, if this is possible, How does 
> that sounds?
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

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



[jira] [Commented] (NETBEANS-1412) NetBeans should not scan jars for deactivated plugins

2019-01-07 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16735770#comment-16735770
 ] 

Geertjan Wielenga commented on NETBEANS-1412:
-

Well, you can suggest it on the mailing list and if someone wants to analyze 
this and fix this, great. I don't suspect there'll be many/any who will want to 
do this, though I may be wrong of course. I have never seen any evidence that 
deactivated plugins cause performance problems. Someone who does and who can 
reproduce it and who can analyze the problem and fix it could look at it.

> NetBeans should not scan jars for deactivated plugins
> -
>
> Key: NETBEANS-1412
> URL: https://issues.apache.org/jira/browse/NETBEANS-1412
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Performance, platform - Plugin Manager
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> When I deactivate plugins, they will still be inside the folder 
> *C:\Users\Chrl\AppData\Roaming\NetBeans\8.2\modules*. When opening NetBeans I 
> got over 100 warnings of dependencies that will upgraded:
> {code}
> WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module 
> arduino: added = [module org.netbeans.modules.projectuiapi.base/1 > 1.78.0, 
> module org.openide.filesystems.nb, module org.openide.filesystems.compat8] 
> removed = []; details: [Separate projectuiapi into desktop and NetBeans 
> independent and dependent parts, Separation of desktop and cleanup]
> {code}
> So yes I installed arduino but I deactivated it. I deactivated a lot more 
> like ruby and atmel and all are scanned. So for me, I don't want to deinstall 
> those plugins, because I will loose the history of all plugins that I added 
> months or years ago.
> So in my understanding, netbeans scans all jars inside of the modules folder 
> and this takes time. Not that much, maybe some ms but if you have 150 addons 
> installed, like me and NetBeans needs round about 20ms for that jar to scan 
> at starting the IDE and give the warning, doesn't matter whether it is 
> activated or not, it will increase the starting time. So 150 * 20ms = 3s. Of 
> course this is not much but preventable.
> I would prefer to move deactivated plugins into a sub folder called 
> deactivated and exclude them from scanning, if this is possible, How does 
> that sounds?
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

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



[jira] [Commented] (NETBEANS-1412) NetBeans should not scan jars for deactivated plugins

2019-01-07 Thread Christian Lenz (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16735765#comment-16735765
 ] 

Christian Lenz commented on NETBEANS-1412:
--

I don't know much about the complex module system. It is only a 
wish/improvement from me, because I thought about it, do to performance/error 
researching and I figured out, that deactivated plugins are still scanned and 
this has a performance impact in case of some ms and when I have a lot 
deactivated plugins, it has an impact of seconds, which has an impact of the 
starting time of NetBeans which means performance.

> NetBeans should not scan jars for deactivated plugins
> -
>
> Key: NETBEANS-1412
> URL: https://issues.apache.org/jira/browse/NETBEANS-1412
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Performance, platform - Plugin Manager
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> When I deactivate plugins, they will still be inside the folder 
> *C:\Users\Chrl\AppData\Roaming\NetBeans\8.2\modules*. When opening NetBeans I 
> got over 100 warnings of dependencies that will upgraded:
> {code}
> WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module 
> arduino: added = [module org.netbeans.modules.projectuiapi.base/1 > 1.78.0, 
> module org.openide.filesystems.nb, module org.openide.filesystems.compat8] 
> removed = []; details: [Separate projectuiapi into desktop and NetBeans 
> independent and dependent parts, Separation of desktop and cleanup]
> {code}
> So yes I installed arduino but I deactivated it. I deactivated a lot more 
> like ruby and atmel and all are scanned. So for me, I don't want to deinstall 
> those plugins, because I will loose the history of all plugins that I added 
> months or years ago.
> So in my understanding, netbeans scans all jars inside of the modules folder 
> and this takes time. Not that much, maybe some ms but if you have 150 addons 
> installed, like me and NetBeans needs round about 20ms for that jar to scan 
> at starting the IDE and give the warning, doesn't matter whether it is 
> activated or not, it will increase the starting time. So 150 * 20ms = 3s. Of 
> course this is not much but preventable.
> I would prefer to move deactivated plugins into a sub folder called 
> deactivated and exclude them from scanning, if this is possible, How does 
> that sounds?
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

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



[jira] [Commented] (NETBEANS-1412) NetBeans should not scan jars for deactivated plugins

2019-01-07 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16735747#comment-16735747
 ] 

Geertjan Wielenga commented on NETBEANS-1412:
-

That is a fundamental change to the module system of the NetBeans Platform 
which will potentially impact thousands of applications around the world, 
including mission critical applications -- consider the cost/benefit of this 
and feel free to open a new thread on the dev mailing list to discuss this. 
Handling this within an issue like this is not going to lead to success -- 
you're going to have to propose and fully motivate this, again, via the mailing 
list.

> NetBeans should not scan jars for deactivated plugins
> -
>
> Key: NETBEANS-1412
> URL: https://issues.apache.org/jira/browse/NETBEANS-1412
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Performance, platform - Plugin Manager
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> When I deactivate plugins, they will still be inside the folder 
> *C:\Users\Chrl\AppData\Roaming\NetBeans\8.2\modules*. When opening NetBeans I 
> got over 100 warnings of dependencies that will upgraded:
> {code}
> WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module 
> arduino: added = [module org.netbeans.modules.projectuiapi.base/1 > 1.78.0, 
> module org.openide.filesystems.nb, module org.openide.filesystems.compat8] 
> removed = []; details: [Separate projectuiapi into desktop and NetBeans 
> independent and dependent parts, Separation of desktop and cleanup]
> {code}
> So yes I installed arduino but I deactivated it. I deactivated a lot more 
> like ruby and atmel and all are scanned. So for me, I don't want to deinstall 
> those plugins, because I will loose the history of all plugins that I added 
> months or years ago.
> So in my understanding, netbeans scans all jars inside of the modules folder 
> and this takes time. Not that much, maybe some ms but if you have 150 addons 
> installed, like me and NetBeans needs round about 20ms for that jar to scan 
> at starting the IDE and give the warning, doesn't matter whether it is 
> activated or not, it will increase the starting time. So 150 * 20ms = 3s. Of 
> course this is not much but preventable.
> I would prefer to move deactivated plugins into a sub folder called 
> deactivated and exclude them from scanning, if this is possible, How does 
> that sounds?
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

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



[jira] [Commented] (NETBEANS-1412) NetBeans should not scan jars for deactivated plugins

2019-01-07 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16735756#comment-16735756
 ] 

Geertjan Wielenga commented on NETBEANS-1412:
-

{quote}And why I don't want to uninstall is, that I can't remember this plugin 
anymore. {quote}

And for this, you want a change to the whole module system? Why not a feature 
to track plugins that you have uninstalled?

> NetBeans should not scan jars for deactivated plugins
> -
>
> Key: NETBEANS-1412
> URL: https://issues.apache.org/jira/browse/NETBEANS-1412
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Performance, platform - Plugin Manager
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> When I deactivate plugins, they will still be inside the folder 
> *C:\Users\Chrl\AppData\Roaming\NetBeans\8.2\modules*. When opening NetBeans I 
> got over 100 warnings of dependencies that will upgraded:
> {code}
> WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module 
> arduino: added = [module org.netbeans.modules.projectuiapi.base/1 > 1.78.0, 
> module org.openide.filesystems.nb, module org.openide.filesystems.compat8] 
> removed = []; details: [Separate projectuiapi into desktop and NetBeans 
> independent and dependent parts, Separation of desktop and cleanup]
> {code}
> So yes I installed arduino but I deactivated it. I deactivated a lot more 
> like ruby and atmel and all are scanned. So for me, I don't want to deinstall 
> those plugins, because I will loose the history of all plugins that I added 
> months or years ago.
> So in my understanding, netbeans scans all jars inside of the modules folder 
> and this takes time. Not that much, maybe some ms but if you have 150 addons 
> installed, like me and NetBeans needs round about 20ms for that jar to scan 
> at starting the IDE and give the warning, doesn't matter whether it is 
> activated or not, it will increase the starting time. So 150 * 20ms = 3s. Of 
> course this is not much but preventable.
> I would prefer to move deactivated plugins into a sub folder called 
> deactivated and exclude them from scanning, if this is possible, How does 
> that sounds?
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

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



[jira] [Commented] (NETBEANS-1412) NetBeans should not scan jars for deactivated plugins

2019-01-07 Thread Christian Lenz (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16735743#comment-16735743
 ] 

Christian Lenz commented on NETBEANS-1412:
--

And why I don't want to uninstall is, that I can't remember this plugin 
anymore. Now I have a list of 114 plugins, where some are uninstalled. Which is 
quite nice, because I still have the list which plugins I installed. When I 
uninstall all deactivated plugins, the history is gone, beacuse I don't see 
them anymore. Because I go through the list, after I deactivated plugins to 
test errors and now I can easily activate them again.

> NetBeans should not scan jars for deactivated plugins
> -
>
> Key: NETBEANS-1412
> URL: https://issues.apache.org/jira/browse/NETBEANS-1412
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Performance, platform - Plugin Manager
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> When I deactivate plugins, they will still be inside the folder 
> *C:\Users\Chrl\AppData\Roaming\NetBeans\8.2\modules*. When opening NetBeans I 
> got over 100 warnings of dependencies that will upgraded:
> {code}
> WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module 
> arduino: added = [module org.netbeans.modules.projectuiapi.base/1 > 1.78.0, 
> module org.openide.filesystems.nb, module org.openide.filesystems.compat8] 
> removed = []; details: [Separate projectuiapi into desktop and NetBeans 
> independent and dependent parts, Separation of desktop and cleanup]
> {code}
> So yes I installed arduino but I deactivated it. I deactivated a lot more 
> like ruby and atmel and all are scanned. So for me, I don't want to deinstall 
> those plugins, because I will loose the history of all plugins that I added 
> months or years ago.
> So in my understanding, netbeans scans all jars inside of the modules folder 
> and this takes time. Not that much, maybe some ms but if you have 150 addons 
> installed, like me and NetBeans needs round about 20ms for that jar to scan 
> at starting the IDE and give the warning, doesn't matter whether it is 
> activated or not, it will increase the starting time. So 150 * 20ms = 3s. Of 
> course this is not much but preventable.
> I would prefer to move deactivated plugins into a sub folder called 
> deactivated and exclude them from scanning, if this is possible, How does 
> that sounds?
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

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



[jira] [Commented] (NETBEANS-1412) NetBeans should not scan jars for deactivated plugins

2019-01-07 Thread Christian Lenz (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16735739#comment-16735739
 ] 

Christian Lenz commented on NETBEANS-1412:
--

This is why I want it as a change/improvement.
It seems that NetBeans knows 3 states:

Installed & activated plugin:
- Shown in the plugin manager as installed and active
- Scanned at NetBeans start
- Loaded at NetBeans start

Installed & deactivated plugin:
- Shown in the plugin manager as installed and deactivated
- Scanned at NetBeans start
- Not loaded at NetBeans start

Not installed
- Not shown in the plugin manager
- Not scanned at NetBeans start
- Not loaded at NetBeans start

I think part 1 and 3 is clear, beacuse if it is installed and activated, it 
will be loaded. If it is not installed, nothing happened.
But NetBeans seems to save a state of an installed plugin which I deactivated. 
So NetBeans knows that state somehow. And if this is a mapping maybe, inside of 
a file which looks like this (only guessing, because I didn't have a look into 
the code):
Atmel -> deactivated
Confirm.exit -> deactivated
Arduino -> deactivated.

So for this, that means, that the plugin should be still shown in the plugin 
manager as installed and deactivated but in case of the list, it should not be 
scanned. For this, a proposal is to move the installed plugins into a separate 
folder called deactivated. But I think this will be the same as uninstalled, so 
the plugin will not be found.

> NetBeans should not scan jars for deactivated plugins
> -
>
> Key: NETBEANS-1412
> URL: https://issues.apache.org/jira/browse/NETBEANS-1412
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Performance, platform - Plugin Manager
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> When I deactivate plugins, they will still be inside the folder 
> *C:\Users\Chrl\AppData\Roaming\NetBeans\8.2\modules*. When opening NetBeans I 
> got over 100 warnings of dependencies that will upgraded:
> {code}
> WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module 
> arduino: added = [module org.netbeans.modules.projectuiapi.base/1 > 1.78.0, 
> module org.openide.filesystems.nb, module org.openide.filesystems.compat8] 
> removed = []; details: [Separate projectuiapi into desktop and NetBeans 
> independent and dependent parts, Separation of desktop and cleanup]
> {code}
> So yes I installed arduino but I deactivated it. I deactivated a lot more 
> like ruby and atmel and all are scanned. So for me, I don't want to deinstall 
> those plugins, because I will loose the history of all plugins that I added 
> months or years ago.
> So in my understanding, netbeans scans all jars inside of the modules folder 
> and this takes time. Not that much, maybe some ms but if you have 150 addons 
> installed, like me and NetBeans needs round about 20ms for that jar to scan 
> at starting the IDE and give the warning, doesn't matter whether it is 
> activated or not, it will increase the starting time. So 150 * 20ms = 3s. Of 
> course this is not much but preventable.
> I would prefer to move deactivated plugins into a sub folder called 
> deactivated and exclude them from scanning, if this is possible, How does 
> that sounds?
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

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



[jira] [Commented] (NETBEANS-1412) NetBeans should not scan jars for deactivated plugins

2019-01-07 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16735705#comment-16735705
 ] 

Geertjan Wielenga commented on NETBEANS-1412:
-

Well, that's the difference between uninstalling and deactivating. You can't 
have it both ways. Though a deactivated plugin is not loaded, it must be 
scanned, something must be done with it -- if you want nothing done with it you 
should uninstall it.

> NetBeans should not scan jars for deactivated plugins
> -
>
> Key: NETBEANS-1412
> URL: https://issues.apache.org/jira/browse/NETBEANS-1412
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Performance, platform - Plugin Manager
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> When I deactivate plugins, they will still be inside the folder 
> *C:\Users\Chrl\AppData\Roaming\NetBeans\8.2\modules*. When opening NetBeans I 
> got over 100 warnings of dependencies that will upgraded:
> {code}
> WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module 
> arduino: added = [module org.netbeans.modules.projectuiapi.base/1 > 1.78.0, 
> module org.openide.filesystems.nb, module org.openide.filesystems.compat8] 
> removed = []; details: [Separate projectuiapi into desktop and NetBeans 
> independent and dependent parts, Separation of desktop and cleanup]
> {code}
> So yes I installed arduino but I deactivated it. I deactivated a lot more 
> like ruby and atmel and all are scanned. So for me, I don't want to deinstall 
> those plugins, because I will loose the history of all plugins that I added 
> months or years ago.
> So in my understanding, netbeans scans all jars inside of the modules folder 
> and this takes time. Not that much, maybe some ms but if you have 150 addons 
> installed, like me and NetBeans needs round about 20ms for that jar to scan 
> at starting the IDE and give the warning, doesn't matter whether it is 
> activated or not, it will increase the starting time. So 150 * 20ms = 3s. Of 
> course this is not much but preventable.
> I would prefer to move deactivated plugins into a sub folder called 
> deactivated and exclude them from scanning, if this is possible, How does 
> that sounds?
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

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



[jira] [Commented] (NETBEANS-1412) NetBeans should not scan jars for deactivated plugins

2019-01-07 Thread Christian Lenz (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16735700#comment-16735700
 ] 

Christian Lenz commented on NETBEANS-1412:
--

It is any plugin. For example use this: 
http://plugins.netbeans.org/plugin/68372/atmel-plugin because it happens with 
others too (conform.exit as a second example. 
http://plugins.netbeans.org/plugin/33075/confirm-exit). You don't need to do 
much, just install one of those plugins, deactivate it, restart NetBeans, have 
a look into the messages.log search for atmel and see that it is scanned.

And in my case, in the description, I gave an explicit example, that I used the 
arduino plugin. So you can use it too.



> NetBeans should not scan jars for deactivated plugins
> -
>
> Key: NETBEANS-1412
> URL: https://issues.apache.org/jira/browse/NETBEANS-1412
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Performance, platform - Plugin Manager
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> When I deactivate plugins, they will still be inside the folder 
> *C:\Users\Chrl\AppData\Roaming\NetBeans\8.2\modules*. When opening NetBeans I 
> got over 100 warnings of dependencies that will upgraded:
> {code}
> WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module 
> arduino: added = [module org.netbeans.modules.projectuiapi.base/1 > 1.78.0, 
> module org.openide.filesystems.nb, module org.openide.filesystems.compat8] 
> removed = []; details: [Separate projectuiapi into desktop and NetBeans 
> independent and dependent parts, Separation of desktop and cleanup]
> {code}
> So yes I installed arduino but I deactivated it. I deactivated a lot more 
> like ruby and atmel and all are scanned. So for me, I don't want to deinstall 
> those plugins, because I will loose the history of all plugins that I added 
> months or years ago.
> So in my understanding, netbeans scans all jars inside of the modules folder 
> and this takes time. Not that much, maybe some ms but if you have 150 addons 
> installed, like me and NetBeans needs round about 20ms for that jar to scan 
> at starting the IDE and give the warning, doesn't matter whether it is 
> activated or not, it will increase the starting time. So 150 * 20ms = 3s. Of 
> course this is not much but preventable.
> I would prefer to move deactivated plugins into a sub folder called 
> deactivated and exclude them from scanning, if this is possible, How does 
> that sounds?
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

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



[jira] [Commented] (NETBEANS-1412) NetBeans should not scan jars for deactivated plugins

2019-01-07 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16735687#comment-16735687
 ] 

Geertjan Wielenga commented on NETBEANS-1412:
-

I'm sorry, without steps with a specific plugin, from scratch, I am not going 
to look at this or guess how to reproduce.

> NetBeans should not scan jars for deactivated plugins
> -
>
> Key: NETBEANS-1412
> URL: https://issues.apache.org/jira/browse/NETBEANS-1412
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Performance, platform - Plugin Manager
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> When I deactivate plugins, they will still be inside the folder 
> *C:\Users\Chrl\AppData\Roaming\NetBeans\8.2\modules*. When opening NetBeans I 
> got over 100 warnings of dependencies that will upgraded:
> {code}
> WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module 
> arduino: added = [module org.netbeans.modules.projectuiapi.base/1 > 1.78.0, 
> module org.openide.filesystems.nb, module org.openide.filesystems.compat8] 
> removed = []; details: [Separate projectuiapi into desktop and NetBeans 
> independent and dependent parts, Separation of desktop and cleanup]
> {code}
> So yes I installed arduino but I deactivated it. I deactivated a lot more 
> like ruby and atmel and all are scanned. So for me, I don't want to deinstall 
> those plugins, because I will loose the history of all plugins that I added 
> months or years ago.
> So in my understanding, netbeans scans all jars inside of the modules folder 
> and this takes time. Not that much, maybe some ms but if you have 150 addons 
> installed, like me and NetBeans needs round about 20ms for that jar to scan 
> at starting the IDE and give the warning, doesn't matter whether it is 
> activated or not, it will increase the starting time. So 150 * 20ms = 3s. Of 
> course this is not much but preventable.
> I would prefer to move deactivated plugins into a sub folder called 
> deactivated and exclude them from scanning, if this is possible, How does 
> that sounds?
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

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



[jira] [Commented] (NETBEANS-1412) NetBeans should not scan jars for deactivated plugins

2019-01-07 Thread Christian Lenz (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16735685#comment-16735685
 ] 

Christian Lenz commented on NETBEANS-1412:
--

I thought the steps are clear enough, it is not that the plugin is loaded, it 
is scanned at the beginning for whatever reason.

Install ANY 3rd party plugin (Arduino, Atmel, whatever you want). Deactivate 
the plugin and restart netbeans and open the messages.log file. You will see, 
if you search for your added plugin, which is deactivated, that it is still 
scanned and it takes some ms.

I guess that happens, because the plugin is still inside of the modules folder. 
If you deinstall the plugin, it is not there anymore which is correct. So again 
my proposal is to move deactivated plugins to a folder called deactivated to 
not been scanned but they should be shown in the plugin manager as deactivated.

> NetBeans should not scan jars for deactivated plugins
> -
>
> Key: NETBEANS-1412
> URL: https://issues.apache.org/jira/browse/NETBEANS-1412
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Performance, platform - Plugin Manager
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> When I deactivate plugins, they will still be inside the folder 
> *C:\Users\Chrl\AppData\Roaming\NetBeans\8.2\modules*. When opening NetBeans I 
> got over 100 warnings of dependencies that will upgraded:
> {code}
> WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module 
> arduino: added = [module org.netbeans.modules.projectuiapi.base/1 > 1.78.0, 
> module org.openide.filesystems.nb, module org.openide.filesystems.compat8] 
> removed = []; details: [Separate projectuiapi into desktop and NetBeans 
> independent and dependent parts, Separation of desktop and cleanup]
> {code}
> So yes I installed arduino but I deactivated it. I deactivated a lot more 
> like ruby and atmel and all are scanned. So for me, I don't want to deinstall 
> those plugins, because I will loose the history of all plugins that I added 
> months or years ago.
> So in my understanding, netbeans scans all jars inside of the modules folder 
> and this takes time. Not that much, maybe some ms but if you have 150 addons 
> installed, like me and NetBeans needs round about 20ms for that jar to scan 
> at starting the IDE and give the warning, doesn't matter whether it is 
> activated or not, it will increase the starting time. So 150 * 20ms = 3s. Of 
> course this is not much but preventable.
> I would prefer to move deactivated plugins into a sub folder called 
> deactivated and exclude them from scanning, if this is possible, How does 
> that sounds?
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

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



[jira] [Commented] (NETBEANS-1412) NetBeans should not scan jars for deactivated plugins

2019-01-07 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16735672#comment-16735672
 ] 

Geertjan Wielenga commented on NETBEANS-1412:
-

Step by step instructions to reproduce this with Apache NetBeans 10, please. 
When something is deactivated it means it should not be loaded again at startup.

> NetBeans should not scan jars for deactivated plugins
> -
>
> Key: NETBEANS-1412
> URL: https://issues.apache.org/jira/browse/NETBEANS-1412
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Performance, platform - Plugin Manager
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> When I deactivate plugins, they will still be inside the folder 
> *C:\Users\Chrl\AppData\Roaming\NetBeans\8.2\modules*. When opening NetBeans I 
> got over 100 warnings of dependencies that will upgraded:
> {code}
> WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module 
> arduino: added = [module org.netbeans.modules.projectuiapi.base/1 > 1.78.0, 
> module org.openide.filesystems.nb, module org.openide.filesystems.compat8] 
> removed = []; details: [Separate projectuiapi into desktop and NetBeans 
> independent and dependent parts, Separation of desktop and cleanup]
> {code}
> So yes I installed arduino but I deactivated it. I deactivated a lot more 
> like ruby and atmel and all are scanned. So for me, I don't want to deinstall 
> those plugins, because I will loose the history of all plugins that I added 
> months or years ago.
> So in my understanding, netbeans scans all jars inside of the modules folder 
> and this takes time. Not that much, maybe some ms but if you have 150 addons 
> installed, like me and NetBeans needs round about 20ms for that jar to scan 
> at starting the IDE and give the warning, doesn't matter whether it is 
> activated or not, it will increase the starting time. So 150 * 20ms = 3s. Of 
> course this is not much but preventable.
> I would prefer to move deactivated plugins into a sub folder called 
> deactivated and exclude them from scanning, if this is possible, How does 
> that sounds?
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

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