buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject [1/2] git commit: Ensure default_url is initialized
Date Fri, 21 Mar 2014 02:05:29 GMT
Repository: buildr
Updated Branches:
  refs/heads/master 3f607216e -> 42f6d655d


Ensure default_url is initialized


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/7fd4d932
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/7fd4d932
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/7fd4d932

Branch: refs/heads/master
Commit: 7fd4d9320269c0c5bbf85595b4c4cfa814d7fa57
Parents: 3f60721
Author: Peter Donald <peter@realityforge.org>
Authored: Fri Mar 21 13:02:15 2014 +1100
Committer: Peter Donald <peter@realityforge.org>
Committed: Fri Mar 21 13:02:15 2014 +1100

----------------------------------------------------------------------
 lib/buildr/ide/idea.rb | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/7fd4d932/lib/buildr/ide/idea.rb
----------------------------------------------------------------------
diff --git a/lib/buildr/ide/idea.rb b/lib/buildr/ide/idea.rb
index 40d2cbf..80ab980 100644
--- a/lib/buildr/ide/idea.rb
+++ b/lib/buildr/ide/idea.rb
@@ -677,6 +677,7 @@ module Buildr #:nodoc:
       end
 
       def add_sql_server_data_source(name, options = {})
+        default_url = nil
         if options[:url].nil? && options[:database]
           default_url = "jdbc:jtds:sqlserver://#{(options[:host] || "127.0.0.1")}:#{(options[:port]
|| "1433")}/#{options[:database]}"
         end


Mime
View raw message