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 (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/04/03 14:14:27 UTC

[jira] [Issue Comment Edited] (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 edited comment on SLING-2448 at 4/3/12 12:14 PM:
-----------------------------------------------------------------

Here's a patch with removes the guava dependency completely. I've ran mvn clean verify in the bundle directory and all tests pass.
                
      was (Author: rmuntean):
    Here's a a 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