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/03/18 10:08:27 UTC
[jira] Created: (BUILDR-404) buildr -V causes exception on JRuby
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
Fix For: 1.4
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.
[jira] Resolved: (BUILDR-404) buildr -V causes exception on JRuby
Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Toulme resolved BUILDR-404.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.4
I fixed the issue by using JRUBY_VERSION at all times.
20:21:45~/w/buildr>svn ci lib/buildr/core/application.rb CHANGELOG -m "fix for BUILDR-404 buildr -V causes exception on JRuby"
Sending CHANGELOG
Sending lib/buildr/core/application.rb
Transmitting file data ..
Committed revision 930787.
> 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
> Fix For: 1.4
>
>
> 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.
[jira] Assigned: (BUILDR-404) buildr -V causes exception on JRuby
Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Toulme reassigned BUILDR-404:
-------------------------------------
Assignee: Antoine Toulme
> 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
> Fix For: 1.4
>
>
> 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.
[jira] Commented: (BUILDR-404) buildr -V causes exception on JRuby
Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853239#action_12853239 ]
Antoine Toulme commented on BUILDR-404:
---------------------------------------
OK, thanks for the stacktrace.
> 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.
[jira] Resolved: (BUILDR-404) buildr -V causes exception on JRuby
Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Toulme resolved BUILDR-404.
-----------------------------------
Resolution: Cannot Reproduce
Fix Version/s: (was: 1.4)
I don't reproduce the problem. I think we fixed it earlier. Feel free to try to reproduce with the current trunk, and thanks for reporting!
> 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.
[jira] Reopened: (BUILDR-404) buildr -V causes exception on JRuby
Posted by "Pepijn Van Eeckhoudt (JIRA)" <ji...@apache.org>.
[ 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.