# File lib/buildr/ide/idea.rb, line 937 def iml if iml? unless @iml inheritable_iml_source = self.parent while inheritable_iml_source && !inheritable_iml_source.iml? inheritable_iml_source = inheritable_iml_source.parent; end @iml = inheritable_iml_source ? inheritable_iml_source.iml.clone : IdeaModule.new @iml.buildr_project = self end return @iml else raise "IML generation is disabled for #{self.name}" end end
# File lib/buildr/ide/idea.rb, line 961 def iml? @has_iml = @has_iml.nil? ? true : @has_iml end
# File lib/buildr/ide/idea.rb, line 925 def ipr if ipr? @ipr ||= IdeaProject.new(self) else raise "Only the root project has an IPR" end end
# File lib/buildr/ide/idea.rb, line 933 def ipr? !@no_ipr && self.parent.nil? end
# File lib/buildr/ide/idea.rb, line 957 def no_iml @has_iml = false end
# File lib/buildr/ide/idea.rb, line 953 def no_ipr @no_ipr = true end