Charles Oliver Nutter wrote:
Paul Hammant wrote:
Steps to reproduce:

  svn co https://svn.codehaus.org/waffle/trunk waffle-trunk
  cd waffle-trunk
  mvn clean install

*may* result in :

        ERB::Util partial methodshould locate file and render through ERB
undefined local variable or method `foo' for #<FakeController:0xe9fab0 @name="waffle">
    (erb):2:in `partial'
    0# Couldn't get snippet for (erb)
    1# gem install syntax to get syntax highlighting
        should gracefully handle file does not exist

So as we try to nail the root cause down (installing gems, switching versions of JRuby and Java on our Macs), it disappears. Meaning the maven build works fine after some trial and error. If we blast away our Maven repo, the issue comes back again.

It sounds like something thread-related. What exactly happens during that build?


We use the rspec-maven-plugin [1] to run spec tests.

The problem is that - in a non-systematically reproducible way - sometimes the we seem to have these failures.

The mojo to run the rspec test is very simple [2]. But perhaps you can provide some insight or suggest improvements.

On a related issue, the plugin set the JRubyHome on the runtime. Is there a way to avoid this - ie to have all the available info from the jruby-complete downloadable jar instead of the JRuby zip distro?

Thanks


[1] http://mojo.codehaus.org/rspec-maven-plugin/
[2] https://svn.codehaus.org/mojo/trunk/sandbox/rspec-maven-plugin/src/main/java/org/codehaus/mojo/rspec/RspecRunnerMojo.java


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to