Issue Type: Bug Bug
Affects Versions: JRuby 1.7.0.pre2
Assignee: Unassigned
Components: Windows
Created: 20/Nov/12 5:41 AM
Description:

Because of bugs in ruby stdlib pathname.rb module jruby-rake:classpath
goal will crashes with the following error on my machine.

Caused by: org.jruby.exceptions.RaiseException: (ArgumentError) different prefix: "c:
" and "c:/jenkins/workspace/cap-scheduler-light/target/classpath.rb"
at RUBY.relative_path_from(jar:file:/c:/jenkins/workspace/cap-scheduler-light/.repository/org/jruby/jruby-complete/1.7.0.preview2/jruby-complete-1.7.0.preview2.jar!/META-INF/jruby.home/lib/ruby/1.9/pathname.rb:742)
at RUBY.(root)(dump_classpath.rb:7)

The bug in ruby pathname.rb
https://bugs.ruby-lang.org/issues/7412

A quick workaround would be to normalize the two paths in dump_classpath.rb:7 so that both used forward slashes

Environment: Windows Maven
Project: JRuby
Labels: maven
Priority: Major Major
Reporter: Syver Enstad
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to