Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Running scripts for Java VM
Java Tcl Ruby Scala Python JavaScript Other
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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
Something went wrong with that request. Please try again.