You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Pepijn Van Eeckhoudt (JIRA)" <ji...@apache.org> on 2010/04/04 10:38:27 UTC

[jira] Reopened: (BUILDR-404) buildr -V causes exception on JRuby

     [ https://issues.apache.org/jira/browse/BUILDR-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pepijn Van Eeckhoudt reopened BUILDR-404:
-----------------------------------------


I just tested again with latest trunk on Mac OSX 10.6 + JRuby 1.4.0 (however I don't think platform has any influence on this issue). I'm still getting the error (see output below). I'm executing buildr in a directory that does not contain a buildfile.

/Users/pepijn/Library/jruby-1.4.0/bin/jruby -e STDOUT.sync=true;STDERR.sync=true;load($0=ARGV.shift) /Users/pepijn/Projects/buildr/bin/buildr --trace -V
Buildr aborted!
RuntimeError : Internal error: attempting to access local setting before buildfile located
./buildr/core/application.rb:101:in `load_from'
./buildr/core/application.rb:81:in `build'
./buildr/core/application.rb:357:in `standard_buildr_options'
/Users/pepijn/Library/jruby-1.4.0/lib/ruby/1.8/optparse.rb:1298:in `call'
/Users/pepijn/Library/jruby-1.4.0/lib/ruby/1.8/optparse.rb:1298:in `parse_in_order'
/Users/pepijn/Library/jruby-1.4.0/lib/ruby/1.8/optparse.rb:1254:in `catch'
/Users/pepijn/Library/jruby-1.4.0/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
/Users/pepijn/Library/jruby-1.4.0/lib/ruby/1.8/optparse.rb:1248:in `order!'
/Users/pepijn/Library/jruby-1.4.0/lib/ruby/1.8/optparse.rb:1339:in `permute!'
/Users/pepijn/Library/jruby-1.4.0/lib/ruby/1.8/optparse.rb:1360:in `parse!'
./buildr/core/application.rb:254:in `handle_options'
/Users/pepijn/Library/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2009:in `init'
./buildr/core/application.rb:502:in `standard_exception_handling'
/Users/pepijn/Library/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2007:in `init'
./buildr/core/application.rb:136:in `run'
./buildr/core/application.rb:502:in `standard_exception_handling'
./buildr/core/application.rb:135:in `run'
/Users/pepijn/Projects/buildr/bin/buildr:19
/Users/pepijn/Projects/buildr/bin/buildr:1:in `load'
-e:1

> buildr -V causes exception on JRuby
> -----------------------------------
>
>                 Key: BUILDR-404
>                 URL: https://issues.apache.org/jira/browse/BUILDR-404
>             Project: Buildr
>          Issue Type: Bug
>          Components: Core features
>    Affects Versions: 1.4
>         Environment: Windows XP, JRuby 1.4.0
>            Reporter: Pepijn Van Eeckhoudt
>            Assignee: Antoine Toulme
>
> Invoking 'buildr -V' causes a runtime exception on JRuby. The cause of the exception is the call to 'Buildr.settings.build' in application.rb at line 357. This causes the build to fail at application.rb line 101.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.