ivy4r 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/buildr/ivy_extension.rb +4 -2
- data/lib/ivy4r.rb +1 -1
- metadata +1 -1
data/lib/buildr/ivy_extension.rb
CHANGED
@@ -76,13 +76,15 @@ module Buildr
|
|
76
76
|
ant.cachepath :conf => confs.join(','), :pathid => pathid
|
77
77
|
end
|
78
78
|
|
79
|
-
# Returns ivy info for configured ivy file.
|
79
|
+
# Returns ivy info for configured ivy file using a new ant instance.
|
80
80
|
def info
|
81
81
|
if @base_ivy
|
82
82
|
@base_ivy.info
|
83
83
|
else
|
84
84
|
ant.settings :id => 'ivy.info.settingsref'
|
85
|
-
ant.info :file => file, :settingsRef => 'ivy.info.settingsref'
|
85
|
+
result = ant.info :file => file, :settingsRef => 'ivy.info.settingsref'
|
86
|
+
@ant = nil
|
87
|
+
result
|
86
88
|
end
|
87
89
|
end
|
88
90
|
|
data/lib/ivy4r.rb
CHANGED