You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2008/08/28 08:41:44 UTC
[jira] Created: (SLING-632) Ruby script engine does not start due
to missing dependencies
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.
[jira] Commented: (SLING-632) Ruby script engine does not start due
to missing dependencies
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Closed: (SLING-632) Ruby script engine does not start due to
missing dependencies
Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Delacretaz closed SLING-632.
-------------------------------------
Resolution: Fixed
"Fixed" in revision 689731, the scripting.ruby bundle now loads correctly using the launchpad/testing module, and the following script at apps/foo/foo.erb displays the correct path when requesting http://localhost:8888/content/foo/*.html
<html>
<body>
currentNode path = <b><%= currentNode.getPath() %></b>.
</body>
</html>
> 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.
[jira] Commented: (SLING-632) Ruby script engine does not start due
to missing dependencies
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626481#action_12626481 ]
Felix Meschberger commented on SLING-632:
-----------------------------------------
Thanks for the feedback and thanks for taking a stab at this.
> 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.
[jira] Closed: (SLING-632) Ruby script engine does not start due to
missing dependencies
Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Delacretaz closed SLING-632.
-------------------------------------
Resolution: Fixed
Thanks for the hint Felix, with this I could go back to the latest jruby 1.1.3, in revision 689741. Tested with the erb script shown above.
> 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.
[jira] Reopened: (SLING-632) Ruby script engine does not start due
to missing dependencies
Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Delacretaz reopened SLING-632:
---------------------------------------
Not all of them:
<Import-Package>
javax.swing.*;
org.apache.bsf.*;
sun.misc; resolution:=optional
</Import-Package>
I'll try as you suggest, with jruby 1.1.1
> 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.
[jira] Issue Comment Edited: (SLING-632) Ruby script engine does
not start due to missing dependencies
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626452#action_12626452 ]
fmeschbe edited comment on SLING-632 at 8/27/08 11:47 PM:
-------------------------------------------------------------------
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>
Wasn't that already in the pom.xml ?
was (Author: fmeschbe):
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.