buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From boisv...@apache.org
Subject svn commit: r998522 - /buildr/trunk/lib/buildr/ide/eclipse.rb
Date Sat, 18 Sep 2010 18:58:09 GMT
Author: boisvert
Date: Sat Sep 18 18:58:08 2010
New Revision: 998522

URL: http://svn.apache.org/viewvc?rev=998522&view=rev
Log:
cleanup whitespace

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

Modified: buildr/trunk/lib/buildr/ide/eclipse.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/ide/eclipse.rb?rev=998522&r1=998521&r2=998522&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/ide/eclipse.rb (original)
+++ buildr/trunk/lib/buildr/ide/eclipse.rb Sat Sep 18 18:58:08 2010
@@ -31,7 +31,7 @@ module Buildr
         @project = project
         @options = Options.new(project)
       end
-      
+
       def name
         return @name if @name
         return @project.id.split('-').last if @options.short_names
@@ -180,7 +180,7 @@ module Buildr
           @m2_repo_var || (@project.parent ? @project.parent.eclipse.options.m2_repo_var
: 'M2_REPO')
         end
       end
-      
+
       def short_names
         @short_names || (@project.parent ? @project.parent.eclipse.options.short_names :
false)
       end
@@ -358,17 +358,17 @@ module Buildr
       def var(libs)
         libs.each do |lib_path, var_name, var_value|
           lib_artifact = file(lib_path)
-          
+
           attribs = { :kind => 'var', :path => lib_path }
-          
+
           if lib_artifact.respond_to? :sources_artifact
             attribs[:sourcepath] = lib_artifact.sources_artifact
           end
-          
+
           if lib_artifact.respond_to? :javadoc_artifact
             attribs[:javadocpath] = lib_artifact.javadoc_artifact
           end
-          
+
           # make all paths relative
           attribs.each_key do |k|
             attribs[k] = attribs[k].to_s.sub(var_value, var_name.to_s) if k.to_s =~ /path/



Mime
View raw message