Class: Rake::Delphi::XEVersionInfo

Inherits:
RAD2010VersionInfo show all
Defined in:
lib/rake/delphi/projectinfo.rb

Instance Method Summary collapse

Methods inherited from RAD2010VersionInfo

#get_versioninfo_tag

Methods inherited from RAD2007VersionInfo

#_ext, #get_versioninfo_tag

Methods inherited from BDSVersionInfo

#_ext, #do_getcontent, encoding, #get_versioninfo_tag, #initialize

Methods inherited from ProjectVersionInfo

#[], #_ext, #do_getcontent, #initialize, #method_missing

Constructor Details

This class inherits a constructor from Rake::Delphi::BDSVersionInfo

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Rake::Delphi::ProjectVersionInfo

Instance Method Details

#deploymentfiles(platform) ⇒ Object



174
175
176
177
178
179
180
181
182
183
184
185
# File 'lib/rake/delphi/projectinfo.rb', line 174

def deploymentfiles(platform)
  deployment = @content
  raise 'There is no deployment info! Cannot continue.' unless deployment
  ['ProjectExtensions', 'BorlandProject', 'Deployment'].each do |section|
    deployment = deployment[section]
    break unless deployment
  end
  warn "#{@file} have no deployment info" unless deployment
  files, classes = read_files_and_classes(deployment, platform)
  r = make_deployment(files, classes)
  return r
end