You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (Commented) (JIRA)" <ji...@apache.org> on 2012/04/03 13:32:25 UTC

[jira] [Commented] (SLING-2448) org.apache.sling.jcr.resource should embed com.google.common.collect.MapDifference

    [ https://issues.apache.org/jira/browse/SLING-2448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245153#comment-13245153 ] 

Robert Munteanu commented on SLING-2448:
----------------------------------------

Here's a ap patch with removes the guava dependency completely. I've ran mvn clean verify in the bundle directory and all tests pass.
                
> org.apache.sling.jcr.resource should embed com.google.common.collect.MapDifference
> ----------------------------------------------------------------------------------
>
>                 Key: SLING-2448
>                 URL: https://issues.apache.org/jira/browse/SLING-2448
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Resource 2.0.10
>            Reporter: Robert Munteanu
>            Priority: Minor
>         Attachments: SLING-2448-remove-guava.txt, SLING-2448.txt, eclipse-errors.png
>
>
> org.apache.sling.jcr.resource embeds parts of the guava bundle inconsistently. It embeds the Map class, but not the MapDifference interface, which is directly refered from the Maps class.
> This error is typically flagged in Eclipse with a very cryptic message: 'The project was not built since its build path is incomplete. Cannot find the class file for com.google.common.collect.MapDifference$ValueDifference. Fix the build path then try building this project'.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira