Running scripts for Java VM
Java Tcl Ruby Scala Python JavaScript Other
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
examples
lib
spec
.gitignore
CHANGES
README
Rakefile
TODO
examples.zip
scriptlandia-r.gemspec

README

= Scriptlandia-R -- Running scripts for Java VM

= Installing Scriptlandia-R

RubyGems is the preferred easy install method for Scriptlandia-R.  However, you can install 
Scriptlandia-R manually as described below.

== Installing the Gem
    $ sudo gem sources -a http://gems.github.com

Scriptlandia-R is dependent on 2 plugins:

    $ sudo gem install rjb
    $ sudo gem install buildr

or

    $ sudo env JAVA_HOME=$JAVA_HOME gem install rjb 
    $ sudo env JAVA_HOME=$JAVA_HOME gem install buildr 

On Windows only this version of rjb is supported:

    $ gem install rjb -v 1.1.6

To install scriptlandia:

    $ sudo gem install shvets-scriptlandia

After the installation you have to configure the gem:

    $ sudo sl --configure 

You have to enter the location of Java Home and Jar Repository Location, e.g.:

    $ Enter Java Home:
    $ c:/Java/jdk1.5.0

    $ Enter Repository Home:
    $ c:/Work/maven-repository

Now you can run scripts:

    $ sl Hello.bsh
    $ sl Test.scala

To install dependencies (jar files) for the language, run this command:

    $ sl --install bsh
    $ sl --install scala

If you have GUI in your script, you can use --wait flag to wait for GUI thread:

   $ sl Hello.bsh --wait