[
https://issues.apache.org/jira/browse/BUILDR-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627481#action_12627481
]
Victor Hugo Borja commented on BUILDR-140:
------------------------------------------
For the case of const_defined?(REQUIRES), it got replaced for
addons/buildr/xmlbeans.rb when introduced ArtifactNamespace, so maybe we could
use the same approach.
Using ArtifactNamespace allows the user to override or add add requirements
using the buildr.yml file. Of course we need more test to ensure proper
behavior.
> Get rid of const_defined? all across the board
> ----------------------------------------------
>
> Key: BUILDR-140
> URL: https://issues.apache.org/jira/browse/BUILDR-140
> Project: Buildr
> Issue Type: Improvement
> Reporter: Assaf Arkin
>
> a) doesn't work with Ruby 1.9.
> b) not pretty.
> c) must be a better way.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.