You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Lars Trieloff (JIRA)" <ji...@apache.org> on 2008/05/07 09:37:55 UTC
[jira] Created: (SLING-429) Tune Dojo to allow server-side
execution
Tune Dojo to allow server-side execution
----------------------------------------
Key: SLING-429
URL: https://issues.apache.org/jira/browse/SLING-429
Project: Sling
Issue Type: Improvement
Components: Extensions
Reporter: Lars Trieloff
Following SLING-428, if you want to use Dojo on the server side, two modifications are neccessary:
1) you need the source build of Dojo, because the default release has been customized for in-browser environments, disabling auto-detection of the environment
2) the Rhino host environment in Stock Dojo expects to load scripts either as a File or as an URL, this needs to be changed to use Resources or URLs as input sources
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (SLING-429) Tune Dojo to allow server-side
execution
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger reassigned SLING-429:
---------------------------------------
Assignee: Felix Meschberger
> Tune Dojo to allow server-side execution
> ----------------------------------------
>
> Key: SLING-429
> URL: https://issues.apache.org/jira/browse/SLING-429
> Project: Sling
> Issue Type: Improvement
> Components: Extensions
> Reporter: Lars Trieloff
> Assignee: Felix Meschberger
> Attachments: SLING-429.patch
>
>
> Following SLING-428, if you want to use Dojo on the server side, two modifications are neccessary:
> 1) you need the source build of Dojo, because the default release has been customized for in-browser environments, disabling auto-detection of the environment
> 2) the Rhino host environment in Stock Dojo expects to load scripts either as a File or as an URL, this needs to be changed to use Resources or URLs as input sources
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-429) Tune Dojo to allow server-side
execution
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595607#action_12595607 ]
Felix Meschberger commented on SLING-429:
-----------------------------------------
Applied your patch in Rev. 654821 and added comments to indicate where the hostenv_rhino.js file has been patched.
If you think, it would make sense to have testcases, you are welcome to supply some. Otherwise I think we can just close this issue. WDYT Bertrand ?
> Tune Dojo to allow server-side execution
> ----------------------------------------
>
> Key: SLING-429
> URL: https://issues.apache.org/jira/browse/SLING-429
> Project: Sling
> Issue Type: Improvement
> Components: Extensions
> Reporter: Lars Trieloff
> Assignee: Felix Meschberger
> Attachments: SLING-429.patch
>
>
> Following SLING-428, if you want to use Dojo on the server side, two modifications are neccessary:
> 1) you need the source build of Dojo, because the default release has been customized for in-browser environments, disabling auto-detection of the environment
> 2) the Rhino host environment in Stock Dojo expects to load scripts either as a File or as an URL, this needs to be changed to use Resources or URLs as input sources
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-429) Tune Dojo to allow server-side
execution
Posted by "Lars Trieloff (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Trieloff updated SLING-429:
--------------------------------
Attachment: SLING-429.patch
This patch includes a customized hostenv_rhino.js file (I am just copying it, instead of using Ant's patch task, which requires the patch executabel to be on the path) and modifies the pom.xml to use the source package of Dojo and copy the customized hostenv_rhino.js over the stock Dojo files.
I am also upgrading the version number of the bundle to reflect the recent upgrade to Dojo 1.1.0
> Tune Dojo to allow server-side execution
> ----------------------------------------
>
> Key: SLING-429
> URL: https://issues.apache.org/jira/browse/SLING-429
> Project: Sling
> Issue Type: Improvement
> Components: Extensions
> Reporter: Lars Trieloff
> Attachments: SLING-429.patch
>
>
> Following SLING-428, if you want to use Dojo on the server side, two modifications are neccessary:
> 1) you need the source build of Dojo, because the default release has been customized for in-browser environments, disabling auto-detection of the environment
> 2) the Rhino host environment in Stock Dojo expects to load scripts either as a File or as an URL, this needs to be changed to use Resources or URLs as input sources
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.