Importing projects into the workspace occaisionally triggers an erroneous 
filter of valid exports which causes resolver to miss available providers.
----------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: FELIX-2178
                 URL: https://issues.apache.org/jira/browse/FELIX-2178
             Project: Felix
          Issue Type: Bug
          Components: Sigil
         Environment: eclipse
            Reporter: David Savage
            Priority: Minor


When a project is imported into the workspace this triggers the 
WorkspaceRepository.handleChange method which in turn fires a 
RepositoryChangeEvent. This leads to a ResolveProjectsJob being scheduled which 
eventually leads to a SigilProject.resetClasspath call to resolve available 
dependencies. Bizarrely when this chain of events occurs the 
WorkspaceRepository.findPackages call that is intended to filter out "runtime" 
packages - i.e. packages that are not really in the source code but are 
aggregated from other bundles - seems to see a partial view of projects - i.e. 
the project exists but cannot see the source folders. I'll attach two trivial 
projects which demonstrate this problem.

This problem can be fixed by simply manually refreshing projects after an 
import.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to