buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject svn commit: r1158649 - /buildr/trunk/lib/buildr/ide/idea.rb
Date Wed, 17 Aug 2011 12:06:26 GMT
Author: donaldp
Date: Wed Aug 17 12:06:26 2011
New Revision: 1158649

URL: http://svn.apache.org/viewvc?rev=1158649&view=rev
Log:
Revert to the default value of local_repository_env_override being MAVEN_REPOSITORY

Modified:
    buildr/trunk/lib/buildr/ide/idea.rb

Modified: buildr/trunk/lib/buildr/ide/idea.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/ide/idea.rb?rev=1158649&r1=1158648&r2=1158649&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/ide/idea.rb (original)
+++ buildr/trunk/lib/buildr/ide/idea.rb Wed Aug 17 12:06:26 2011
@@ -28,10 +28,10 @@ module Buildr
       attr_writer :suffix
       attr_writer :id
       attr_accessor :template
-      attr_writer :local_repository_env_override
+      attr_accessor :local_repository_env_override
 
-      def local_repository_env_override
-        @local_repository_env_override || DEFAULT_LOCAL_REPOSITORY_ENV_OVERRIDE
+      def initialize
+        @local_repository_env_override = DEFAULT_LOCAL_REPOSITORY_ENV_OVERRIDE
       end
 
       def suffix
@@ -161,6 +161,7 @@ module Buildr
       attr_reader :facets
 
       def initialize
+        super()
         @type = DEFAULT_TYPE
       end
 
@@ -414,6 +415,7 @@ module Buildr
       attr_writer :jdk_version
 
       def initialize(buildr_project)
+        super()
         @buildr_project = buildr_project
         @vcs = detect_vcs
         @extra_modules = []



Mime
View raw message