Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buildr extension throws an obscure exception when publishing without setting publish_options #7

Closed
rsutphin opened this issue May 27, 2010 · 2 comments

Comments

@rsutphin
Copy link

If you don't set any publish options, ivy4r's buildr extension will throw an exception like this when you invoke {project}:ivy:publish:

undefined method `*' for nil:NilClass
/Users/rsutphin/.rvm/gems/jruby-1.4.0@buildr/gems/ivy4r-0.10.5/lib/buildr/ivy_extension.rb:201:in `__publish__'
/Users/rsutphin/.rvm/gems/jruby-1.4.0@buildr/gems/ivy4r-0.10.5/lib/buildr/ivy_extension.rb:728:in `after_define'

If the default options are never sufficient, it would be nice if ivy4r would tell you that you need to set publish options rather than failing in this way.

@rsutphin
Copy link
Author

it would be nice if ivy4r would tell you that you need to set publish options rather than failing in this way

Further experimentation shows that ivy4r would do this itself if the default publish_options hash was {} instead of nil.

@klaas1979
Copy link
Owner

should be fixed with version 0.11.0

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants