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

Christian Lenz updated NETBEANS-1412:
-------------------------------------
    Description: 
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

  was:
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 
yaers 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. 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


> 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: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to