[jbosstools-issues] [JBoss JIRA] (JBIDE-19448) Performance problems with angular-phonecat project

Victor Rubezhny (JIRA) issues at jboss.org
Wed Mar 18 09:45:20 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-19448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051378#comment-13051378 ] 

Victor Rubezhny edited comment on JBIDE-19448 at 3/18/15 9:45 AM:
------------------------------------------------------------------

The upstream issue is created in BugZilla and fixed: [Bug 462385 - JavaScript Classpath should have configured with default exclusion for known locations|https://bugs.eclipse.org/bugs/show_bug.cgi?id=462385]

A new preference, Default Exclusion Patterns, is added due to disable the building from the folders that are created by 'npm install' and 'bower install' commands and for minified JavaScript files.
Patterns defined in this preference value will be automatically added as "Exclusions" for project's  Include Path entries on creation or conversion to JavaScript project.



was (Author: vrubezhny):
The upstream issue is created in BugZilla and fixed. A new preference, Default Exclusion Patterns, is added due to disable the building from the folders that are created by 'npm install' and 'bower install' commands and for minified JavaScript files.
Patterns defined in this preference value will be automatically added as "Exclusions" for project's  Include Path entries on creation or conversion to JavaScript project.


> Performance problems with angular-phonecat project
> --------------------------------------------------
>
>                 Key: JBIDE-19448
>                 URL: https://issues.jboss.org/browse/JBIDE-19448
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml/html source editing, upstream
>    Affects Versions: 4.2.3.Final
>         Environment: Tern.java + AngularJS-Eclipse installed
>            Reporter: Victor Rubezhny
>            Assignee: Victor Rubezhny
>             Fix For: 4.3.0.Alpha2
>
>         Attachments: IncludePath.png
>
>
> On angular-phonecat project with the dependencies added by 'npm install' (as well as some other projects where dependencies are taken by bower with 'bower install') there is performance problem occurs.
> 'npm install' and 'bower install' command could add more than 1000 JavaScripts into the project's Include Path, so this could lead into a problem with Eclipse's performance.
> The workaround for the issue is to exclude some directories from JSDT Include Path like 'node_modules/' (in case of 'npm install' is used), 'bower_components/' (in case of 'bower install' is used) as well as other service directories containing JavaScripts that aren't used in JS application:
> !IncludePath.png|thumbnail!



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list