[jbosstools-issues] [JBoss JIRA] (JBIDE-9273) Improve update of objects loaded from classpath

Max Rydahl Andersen (JIRA) issues at jboss.org
Mon Jan 20 06:56:06 EST 2014


     [ https://issues.jboss.org/browse/JBIDE-9273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen resolved JBIDE-9273.
----------------------------------------

    Resolution: Out of Date


Thank you for reporting this issue but this issue have been resolved as out-of-date since it has not had any updates for the last 2+ years (730 days).

If you believe this issue is still relevant and important then please reopen the issue or create a new one mentioning/linking this jira for background information.

Thank you!


                
> Improve update of objects loaded from classpath
> -----------------------------------------------
>
>                 Key: JBIDE-9273
>                 URL: https://issues.jboss.org/browse/JBIDE-9273
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: cdi, common/jst/core, seam2
>    Affects Versions: 3.3.0.M2
>            Reporter: Viacheslav Kabanovich
>            Assignee: Viacheslav Kabanovich
>             Fix For: LATER
>
>
> To avoid scanning project's classpath too often, we listen to Java model event 'resolved classpath changed'. We expect that whenever classpath is changed so that it is necessary to update objects loaded from it, Java model sends such event when all new/modified entries are available for reading (bound to existing package roots). When such event comes, we scan classpath, and compare new set of paths with the set, which was used to load objects into models (KB, CDI, Seam, etc). 
> The problem is, that this event is not always comes as expected, so that issues appear (see JBIDE-8338, JBIDE-9184). For example, in new Eclipse session, when new JSP or Seam project wizard is run for the first time - the event comes. For next new project wizard invocations, it becomes a random process, for which of them the event will fail for the first time. After that, the event fails for all subsequent invocations. If we understand why it happens, it may help us improve classpath update and/or creation wizards; or report a bug to Eclipse if this behavior of Java model is not induced by our code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list