lib/buildr_plus/features/gwt.rb
# Determine any top level modules.
# If none specified then derive one based on root projects name and group
Determine any top level modules.
If none specified then derive one based on root projects name and group
Determine any top level modules . If none specified then derive one based on root projects name and group
def determine_top_level_gwt_modules(suffix)
      m = self.top_level_gwt_modules
      gwt_modules = !m.empty? ? m : self.gwt_modules.select {|m| m =~ /#{suffix}$/}
      if gwt_modules.empty?
        puts "Unable to determine top level gwt modules for project '#{project.name}'."
        puts 'Please specify modules via project.top_level_gwt_modules setting or name'
        puts "with suffix '#{suffix}'."
        raise "Unable to determine top level gwt modules for project '#{project.name}'"
      end
      gwt_modules
    end
def determine_top_level_gwt_modules ( suffix ) m = self . top_level_gwt_modules gwt_modules = ! m . empty? ? m : self . gwt_modules . select { | m | m =~ / #{ suffix } $ / } if gwt_modules . empty? puts "Unable to determine top level gwt modules for project '#{project.name}'." puts 'Please specify modules via project.top_level_gwt_modules setting or name' puts "with suffix '#{suffix}'." raise "Unable to determine top level gwt modules for project '#{project.name}'" end gwt_modules end
Determine any top level modules.
Determine any top level modules .
suffix