colinsurprenant/redstorm — Issue #2: redstorm examples fails when directory examples already exists
Author: colinsurprenant
Created: 2011-11-10 20:38:50+00:00
State: open

it actually tries to launch a topology class "examples" because File.exist? return true on "examples".

launching java -cp "/Users/colin/dev/praized/src/internal/redstorm-test/target/classes:/Users/colin/dev/praized/src/internal/redstorm-test/target/dependency/*" redstorm.TopologyLauncher examples
file:/Users/colin/dev/praized/src/internal/redstorm-test/target/dependency/jruby-complete-1.6.5.jar!/builtin/javasupport/core_ext/object.rb:99 warning: already initialized constant Config
RedStorm v0.1.1 starting topology Examples
0 [main] ERROR org.apache.zookeeper.server.NIOServerCnxn - Thread Thread[main,5,main] died
org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- examples
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1038)
at Kernel.require(file:/Users/colin/dev/praized/src/internal/redstorm-test/target/dependency/jruby-complete-1.6.5.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36)
at #.main(/Users/colin/.rvm/gems/jruby-1.6.5@redstorm-test/gems/redstorm-0.1.1/lib/red_storm/topology_launcher.rb:39)