History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WAFFLE-27
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Michael Ward
Reporter: Nico Steppat
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Waffle

build with jruby 1.0.1 fails

Created: 30/Oct/07 03:00 PM   Updated: 25/Nov/07 09:16 AM  Due: 30/Oct/07
Component/s: Core
Affects Version/s: 1.0-rc-1
Fix Version/s: 1.0-rc-1

Time Tracking:
Not Specified

Environment:
Build system:
maven 2.07
jdk 1.6.0
jruby 1.0.1


 Description  « Hide
using jruby 1.0.1, mvn install does not work and shows the following error:

Stack trace:

[INFO] [rspec:spec {execution: test}]
[INFO] Running RSpec tests from /home/nico/workspace/waffle/core/src/test/specs
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Bad file descriptor
[INFO] ------------------------------------------------------------------------
[INFO] Trace
:-1: Bad file descriptor (Errno::EBADF)
...internal jruby stack elided...
from org.jruby.Ruby.eval(Ruby.java:287)
from org.jruby.Ruby.evalScript(Ruby.java:280)
from org.codehaus.mojo.rspec.RspecRunnerMojo.execute(RspecRunnerMojo.java:84)
from org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
from org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:539)
from org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
from org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (DefaultLifecycleExecutor.java:459)
from org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
from org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:278)
from org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
from org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
from org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
from org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
from sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
from sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
from sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
from java.lang.reflect.Method.invoke (Method.java:597)
from org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
from org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
from org.codehaus.classworlds.Launcher.mainWithExitCode (Launcher.java:430)
from org.codehaus.classworlds.Launcher.main(Launcher.java:375)



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Paul Hammant - 14/Nov/07 10:28 AM
I'm getting this for 1.0 (freshly installed) too.

Mauro Talevi - 14/Nov/07 10:58 AM
Did you set env variable JRUBY_HOME?

Paul Hammant - 14/Nov/07 11:43 AM
yup. Jruby works for other things.

Michael Ward - 25/Nov/07 09:16 AM
Issue was related to rspec maven plugin (which was closing the report file)