ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 47846] New: <get> unexpectedly obtains cached versions of web pages
Date Tue, 15 Sep 2009 21:45:48 GMT

           Summary: <get> unexpectedly obtains cached versions of web
           Product: Ant
           Version: 1.7.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        ReportedBy: obtains a URLConnection from the source URL.
The URLConnection class can use a cache, and apparently does so by default.
When I was repeatedly running a script that had to have the most up-to-date
version of a web page, this caused a problem that was difficult to track down.
Get should either expose URLConnection's caching options to the user, or should
always disable the use of caches as follows:


Since this caching behavior is not documented anywhere, this latter option
might be preferable.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message