Mashables and Mashups : Mashups in EMML : Writing Mashups in EMML : Transforming Intermediate Results : Deploying Groovy or JavaScript Scripts in Business Analytics
Deploying Groovy or JavaScript Scripts in Business Analytics
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 Business Analytics Server. Add the scripts to one of these locations:
*The external configuration folder, if any, for the Business Analytics Server.
Important:  
Deploying additional resources, such as custom XPath classes, to an external configuration folder simplifies future deployments or Business Analytics Server clusters.
*web-apps-home/presto/WEB-INF/classes for uncompressed scripts. This is the default location, but is not recommended as it complicates Business Analytics 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 Business Analytics Server deployments.
Then, restart the Business Analytics Server.
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback