Documentation
Liferay provides a rich store of resources and knowledge to help our community better use and work with our technology.
Scripting
Input a list of comma delimited class names that will never be available to user defined server side scripts. The special string all_classes disables access to any Java class. This property is only effective when using the Scripting service and invoking eval or exec methods.
scripting.forbidden.classes=com.liferay.portal.kernel.scripting.ScriptingUtil,com.liferay.portal.scripting.ScriptingImpl,java.lang.System
Set the compile mode for the JRuby scripting engine.
Examples:
scripting.jruby.compile.mode=force
scripting.jruby.compile.mode=jit
scripting.jruby.compile.mode=off
Set the threshold at which methods will be compiled when jit compile mode is enabled.
scripting.jruby.compile.threshold=5
Set the load paths for the jruby engine. These paths allow jruby to locate gems and ruby code libraries in the classpath.
scripting.jruby.load.paths=\
META-INF/jruby.home/lib/ruby/site_ruby/1.8,\
META-INF/jruby.home/lib/ruby/site_ruby/shared,\
META-INF/jruby.home/lib/ruby/1.8,\
gems/chunky_png-1.2.1/lib,\
gems/compass-0.11.5/lib,\
gems/fssm-0.2.7/lib,\
gems/sass-3.1.7/lib,\
file:${liferay.lib.portal.dir}ruby-gems.jar!/gems/chunky_png-1.2.1/lib,\
file:${liferay.lib.portal.dir}ruby-gems.jar!/gems/compass-0.11.5/lib,\
file:${liferay.lib.portal.dir}ruby-gems.jar!/gems/fssm-0.2.7/lib,\
file:${liferay.lib.portal.dir}ruby-gems.jar!/gems/sass-3.1.7/lib