||Definition of class Jmain. Uses class vp.VP.
||Definition of class HE in package hostenv. Used by class vp.VP.
||Definition of class VP in package vp.
Used by class Jmain.
Uses class hostenv.HE and the Ruby classes.
This is the Java side of the Red Bridge.
||The Ruby side of the Red Bridge. This is where all the stuff in the Ruby world gets initialized.
Creates a global variable of the (Ruby-)class Kirin and returns
an object of the (Ruby-)class Asahi.
Also outputs some messages, when it is executed - just to demonstrate,
when exactly this code is run.
||The sole purpose of this script is to demonstrate one way to make a bunch
of Ruby files available to an application.
||Definition of class Asahi.
Uses the Java class hostenv.HE.
||Definition of class
||Since this toy-application is delivered as jar archive, a
needs to be included in the archive. The name is arbitrary - the
file will be flagged as being "the manifest" when creating the archive -
but it is common to name it that way.
||A Windows batch file, which compiles and runs the application. Depending
on its arguments, the application consists either of a single jar file
(containing JRuby and our application), or our application only (i.e.
JRuby being in a separate jar file).
||This is JRuby itself - this files becomes part of the application to be
delivered. Its location depends on where you install JRuby. In my case,
I installed it to c:\dl, so it would be
c:\dl\jruby-complete-1.7.23.jar. If you actually
want to run this example, you have to adust the setting of the variable
JRUBY_JAR in jr8.bat accordingly.