[
https://issues.apache.org/jira/browse/FELIX-4492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Watson updated FELIX-4492:
---------------------------------
Attachment: org.apache.felix.resolver.patch
Here is a patch that adds a new method
org.apache.felix.resolver.Logger.logUsesConstraintViolation(Resource,
ResolutionException) that gets used by the ResolverImpl to log the uses
constraint violations as they are found during the permutations.
> Enhance resolver logging to get better uses diagnostics
> -------------------------------------------------------
>
> Key: FELIX-4492
> URL: https://issues.apache.org/jira/browse/FELIX-4492
> Project: Felix
> Issue Type: Improvement
> Components: Resolver
> Reporter: Thomas Watson
> Attachments: org.apache.felix.resolver.patch
>
>
> There is lots of useful information the resolver encounters while trying to
> resolve a consistent class space having to do with uses constraint
> violations. The felix resolver encodes a nice chain message contained in a
> ResolutionException that can help diagnose uses constraint issues.
> It would be helpful if the Logger was enhanced to be able to capture the
> ResolutionException for uses constraint violations as they occur during the
> resolve process.
--
This message was sent by Atlassian JIRA
(v6.2#6252)