Mashups in EMML : Writing Mashups in EMML : Transforming Intermediate Results : Deploying Groovy or JavaScript Scripts in Presto
Deploying Groovy or JavaScript Scripts in Presto
Note:  
JRuby is deprecated as a scripting language for mashups. You can, however, deploy JRuby scripts for mashups from previous versions.
To use Groovy or JavaScript scripts that are defined in external files with the <script> statement in mashups, you must add them to a folder that is accessible to the Presto Server. Add the scripts to one of these locations:
*The external configuration folder, if any, for the Presto Server. See Setting Up an External Presto Configuration Folder for more information.
Important:  
Deploying additional resources, such as custom XPath classes, to an external configuration folder simplifies future deployments or Presto Server clusters.
*web-apps-home/presto/WEB-INF/classes for uncompressed scripts. This is the default location, but is not recommended as it complicates Presto Server deployments. for uncompressed scripts.
*If you add scripts to a JAR, add the JAR file to web-apps-home/presto/WEB-INF/lib . This is the default location, but is not recommended as it complicates Presto Server deployments.
Then, restart the Presto Server.
Copyright © 2006-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback