Author: maartenc
Date: Wed Jul 29 22:15:14 2009
New Revision: 799097
URL: http://svn.apache.org/viewvc?rev=799097&view=rev
Log:
FIX: URLResource does not properly support authentication (IVY-1106) (thanks to
Heschi Kreinick)
Modified:
ant/ivy/core/trunk/CHANGES.txt
ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/repository/url/URLResource.java
Modified: ant/ivy/core/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/ant/ivy/core/trunk/CHANGES.txt?rev=799097&r1=799096&r2=799097&view=diff
==============================================================================
--- ant/ivy/core/trunk/CHANGES.txt (original)
+++ ant/ivy/core/trunk/CHANGES.txt Wed Jul 29 22:15:14 2009
@@ -47,6 +47,7 @@
Matthias Kilian
Alexey Kiselev
Gregory Kisling
+ Heschi Kreinick
Tat Leung
Costin Leau
Antoine Levy-Lambert
@@ -90,6 +91,10 @@
trunk
=====================================
+- FIX: URLResource does not properly support authentication (IVY-1106) (thanks
to Heschi Kreinick)
+
+ 2.1.0-rc2
+=====================================
- DOCUMENTATION: not all attributes of publish task are documented (IVY-963)
(thanks to Jon Schneider)
- DOCUMENTATION: missing documentation for the 'Version Pattern Matcher'
(IVY-871) (thanks to Jon Schneider)
- DOCUMENTATION: added missing documentation for the 'keep' attribute on the
(post)resolve Ant tasks (IVY-1091)
Modified:
ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/repository/url/URLResource.java
URL:
http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/repository/url/URLResource.java?rev=799097&r1=799096&r2=799097&view=diff
==============================================================================
---
ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/repository/url/URLResource.java
(original)
+++
ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/repository/url/URLResource.java
Wed Jul 29 22:15:14 2009
@@ -96,6 +96,6 @@
}
public InputStream openStream() throws IOException {
- return url.openStream();
+ return URLHandlerRegistry.getDefault().openStream(url);
}
}