Mashups in EMML : Writing Mashups in EMML : Transforming Intermediate Results : Installing and Configuring JRuby for Mashups
Installing and Configuring JRuby for Mashups
Note:  
JRuby is deprecated as a scripting language for development of new mashups. It is supported for existing mashups.
You can use JRuby as a scripting language in existing mashup scripts through the <script> statement. To use JRuby, you must install it in your environment and add configuration to MashZone NextGen.
To install and configure JRUBY
1. Download JRuby 1.0 and install it in an appropriate folder in your environment. Follow installation instructions with the JRuby libraries.
2. Add JRUBY_HOME as an environmental variable to the MashZone NextGen environment script:
a. In any text editor, edit the MashZoneNG-install/apache-tomee-jaxrs/bin/setenv.bat script for Windows environments or the MashZoneNG-install/apache-tomee-jaxrs/bin/setenv.sh script for Mac OS X or Linux environments.
b. Add this option to the JAVA_OPTS line:
-DJRUBY_HOME=path-to-jruby-installation
3. If you have deployed the MashZone NextGen Server in WebLogic 8.1 SP6, add JRuby to the classpath:
a. Edit the startup script for WebLogic. This is the startWebLogic.cmd or startWebLogic.sh file in the weblogic-domain-base folder.
b. Add these entries to the CLASSPATH environmental variable:
*JRuby-home/lib/jruby.jar
*JRuby-home/lib/ruby/1.8
4. Restart the MashZone NextGen Server.
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback