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

Reply via email to