Prepare
- Install patchJython addon. see http://ofbizj.blogspot.jp/2012/12/jython-script.html
- Download and install JRuby. see http://www.jruby.org/download
- Copy jruby.jar file from <jruby_home>/lib directory to <ofbiz_home>/framework/base/lib/scripting directory.
- Edit <ofbiz_home>/framework/service/config/serviceengine.xml file and add next line.
<engine name="ruby" class="org.ofbiz.service.engine.BSFEngine"/>
準備
- あらかじめpatchJython アドオンをインストールしておきます。 http://ofbizj.blogspot.jp/2012/12/jython-script.html
- JRubyをダウンロードしてインストールします。. http://www.jruby.org/download
- jruby.jar ファイルを <jruby_home>/lib ディレクトリから <ofbiz_home>/framework/base/lib/scripting ディレクトリにコピーします。
- <ofbiz_home>/framework/service/config/serviceengine.xml ファイルに次の行を追加します。
<engine name="ruby" class="org.ofbiz.service.engine.BSFEngine"/>
0 件のコメント:
コメントを投稿