Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 65246 invoked from network); 28 May 2008 15:45:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 May 2008 15:45:21 -0000 Received: (qmail 89183 invoked by uid 500); 28 May 2008 15:45:23 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 88960 invoked by uid 500); 28 May 2008 15:45:22 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 88949 invoked by uid 99); 28 May 2008 15:45:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 08:45:22 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 15:44:25 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1K1NpX-0008Mh-19 for ivy-user@ant.apache.org; Wed, 28 May 2008 08:44:47 -0700 Message-ID: <17515745.post@talk.nabble.com> Date: Wed, 28 May 2008 08:44:46 -0700 (PDT) From: Claudio Miranda To: ivy-user@ant.apache.org Subject: How to download files from ivyrepo with the same last-modified date ? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: claudio@claudius.com.br X-Virus-Checked: Checked by ClamAV on apache.org At the current customer I am working on, they use javawebstart (JWS) and the libraries are versioned at CVS. As you are thinking, ivy is the best candidate to manage those dependencies :) However there is an obstacle, that I will explain. The JWS uses the last-modified timestamp of each .jar file to download and update the library on JWS library repository at $HOME/.java/deployment/cache/javaws/ of each client. AFAIK mvn update the last-modified timestamp of each downloaded file to the current download date, consequently ivy does the same (for maven repo). That situation, will make the JWS client see different date timestamp between cached copies and remote copies (eg: commons-codec.jar 1.3 has date of 2006-08-23). Supposing, you have understand the issue, I gently ask if there is a way to use the ivyrepo, to maintain the last-modified timestamp for each downloaded file. A note: I cannot use (for now) JNLP versioning support [1], as it introduces another change into the build infrastructure. I plan to use it later, when ivy is supposed to be running flawlessly. 1 - http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/downloadservletguide.html#example2 Thanks ----- Claudio Miranda http://weblogs.java.net/blog/claudio http://www.claudius.com.br/blog -- View this message in context: http://www.nabble.com/How-to-download-files-from-ivyrepo-with-the-same-last-modified-date---tp17515745p17515745.html Sent from the ivy-user mailing list archive at Nabble.com.