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

Alex Parvulescu commented on OAK-1522:
--------------------------------------

fyi. the pojosr code fails to compile on my local machine, java 7 
(1.7.0_51-b13).

{code}
[ERROR] 
/home/alex/work/jackrabbit-oak/oak-trunk/oak-pojosr/src/main/java/org/apache/jackrabbit/oak/run/osgi/BundleDescriptorComparator.java:[66,49]
 error: incompatible types
{code}

weird stuff, it looks like replacing the following line
{code}
String symbolicName = bd.getHeaders().get(Constants.BUNDLE_SYMBOLICNAME);
{code}
with 
{code}
Map<String, String> headers = bd.getHeaders();
String symbolicName = headers.get(Constants.BUNDLE_SYMBOLICNAME);
{code}
makes this go away.
This may be related to the pojosr code, but it looks like it is using proper 
types for the map, so I don't understand why this is happening.



> Provide PojoSR based RepositoryFactory implementation
> -----------------------------------------------------
>
>                 Key: OAK-1522
>                 URL: https://issues.apache.org/jira/browse/OAK-1522
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>         Attachments: OAK-1522.patch
>
>
> This features provides support for configuring Repository using in built OSGi 
> support in non OSGi env using PojoSR [1].
> For more details refer to [2]. Note that PojoSR is being moved to Apache 
> Felix (FELIX-4445)
> [1] https://code.google.com/p/pojosr/
> [2] http://jackrabbit-oak.markmail.org/thread/7zpux64mj6vecwzf



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to