Author: adietish
Date: 2010-10-18 11:18:53 -0400 (Mon, 18 Oct 2010)
New Revision: 25901
Added:
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/bootstrap-deltacloud.rb
Log:
[JBIDE-7320] trying to run deltacloud
Added: trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/bootstrap-deltacloud.rb
===================================================================
--- trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/bootstrap-deltacloud.rb
(rev 0)
+++
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/bootstrap-deltacloud.rb 2010-10-18
15:18:53 UTC (rev 25901)
@@ -0,0 +1,18 @@
+require 'rubygems'
+require 'deltacloud-dependencies.jar'
+
+# Force Rubygems to reload the gem paths
+Gem.clear_paths
+
+version = ">= 0"
+
+if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then
+ version = $1
+ ARGV.shift
+end
+
+ARGV[0] = "-i mock"
+
+load Gem.bin_path('steamcannon-deltacloud-core', 'deltacloudd', version)
+
+
Show replies by date