Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bumped gtkmateview with alourie's changes

  • Loading branch information...
commit 62fac23eb319cc7f0b012ab2d9665ede0f722268 1 parent 6fdda9b
@danlucraft authored
Showing with 22 additions and 1 deletion.
  1. +21 −0 scratchpad/swtbot/CucumberRunner.java
  2. +1 −1  vendor/gtkmateview
View
21 scratchpad/swtbot/CucumberRunner.java
@@ -0,0 +1,21 @@
+public class CucumberRunner implements IApplication {
+
+ public Object start(IApplicationContext context) throws Exception {
+ Bundle bundle = Platform.getBundle("org.jruby.jruby");
+
+ URL jrubyHome = FileLocator.toFileURL(bundle.getEntry("/META-INF/jruby.home"));
+
+ RubyInstanceConfig config = new RubyInstanceConfig();
+ config.setJRubyHome(jrubyHome.toString());
+ Ruby runtime = JavaEmbedUtils.initialize(new ArrayList(), config);
+ RubyRuntimeAdapter evaler = JavaEmbedUtils.newRuntimeAdapter();
+ evaler.eval(runtime, "p 'Hello, Eclipse World'");
+ JavaEmbedUtils.terminate(runtime);
+
+ return EXIT_OK;
+ }
+
+ public void stop() {
+ // do nothing
+ }
+}
2  vendor/gtkmateview
@@ -1 +1 @@
-Subproject commit 703590ce54abe818d7a0fd17c487fd345cbbaf27
+Subproject commit 7ae9cae7f01e0d53532e84f73ffeb255c0f13cd8
Please sign in to comment.
Something went wrong with that request. Please try again.