The buildr documentation on profiles shows how to filter resources using single properties of a profile, e.g.:

resources.filter.using :jdbc=>Buildr.settings.profile['jdbc']

However, perhaps you want to apply just all properties of the current profile. As resources.filter.using takes a Hash you can just use Buildr.settings.profile:

resources.filter.using Buildr.settings.profile
  • No labels