buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From as...@apache.org
Subject svn commit: r753132 - /buildr/trunk/lib/buildr/core/generate.rb
Date Fri, 13 Mar 2009 05:50:02 GMT
Author: assaf
Date: Fri Mar 13 05:50:01 2009
New Revision: 753132

URL: http://svn.apache.org/viewvc?rev=753132&view=rev
Log:
Extra slash was causing problem when generating buildfile from POM.

Modified:
    buildr/trunk/lib/buildr/core/generate.rb

Modified: buildr/trunk/lib/buildr/core/generate.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/core/generate.rb?rev=753132&r1=753131&r2=753132&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/core/generate.rb (original)
+++ buildr/trunk/lib/buildr/core/generate.rb Fri Mar 13 05:50:01 2009
@@ -124,7 +124,7 @@
             legacy = repository["layout"].to_s =~ /legacy/
             !legacy
           } rescue nil
-          repositories = [{"name" => "Standard maven2 repository", "url" => "http://www.ibiblio.org/maven2/"}]
if repositories.nil? || repositories.empty?
+          repositories = [{"name" => "Standard maven2 repository", "url" => "http://www.ibiblio.org/maven2"}]
if repositories.nil? || repositories.empty?
           repositories.each do |repository|
             name, url = repository["name"], repository["url"]
             script << "# #{name}"



Mime
View raw message