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

Felix Meschberger commented on SLING-632:
-----------------------------------------

Hmm, these look like rather specific dependencies. How about declaring them as 
optional:

   <Import-Package>
       com.sun.*;org.apache.bsf.*;sun.*;resolution:=optional,*
   </Import-Package>


> Ruby script engine does not start due to missing dependencies
> -------------------------------------------------------------
>
>                 Key: SLING-632
>                 URL: https://issues.apache.org/jira/browse/SLING-632
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>
> In revision 689730, the ruby script engine bundle does not start if loaded, 
> due to the following missing dependencies:
> !! com.sun.mirror.apt,version=0.0.0 from -- Cannot be resolved
> !! com.sun.mirror.declaration,version=0.0.0 from -- Cannot be resolved
> !! com.sun.mirror.type,version=0.0.0 from -- Cannot be resolved
> !! com.sun.mirror.util,version=0.0.0 from -- Cannot be resolved
> !! org.apache.bsf,version=0.0.0 from -- Cannot be resolved
> !! org.apache.bsf.util,version=0.0.0 from -- Cannot be resolved
> !! sun.misc,version=0.0.0 from -- Cannot be resolved
> For now, I'll downgrade the jruby dependency to 1.0, as that used to work.

-- 
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