Deploying Groovy or JavaScript Scripts in MashZone NextGen
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 MashZone NextGen Server. Add the scripts to one of these locations:
The external configuration folder, if any, for the
MashZone NextGen Server.
Important: Deploying additional resources, such as custom XPath classes, to an external configuration folder simplifies future deployments or MashZone NextGen Server clusters.
web-apps-home/mashzone/WEB-INF/classes for uncompressed scripts. This is the default location, but is not recommended as it complicates
MashZone NextGen Server deployments. for uncompressed scripts.
If you add scripts to a JAR, add the JAR file to
web-apps-home/mashzone/WEB-INF/lib . This is the default location, but is not recommended as it complicates
MashZone NextGen Server deployments.
Then, restart the MashZone NextGen Server.