Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 4273 invoked from network); 5 Dec 2005 00:23:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Dec 2005 00:23:57 -0000 Received: (qmail 68392 invoked by uid 500); 5 Dec 2005 00:23:52 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 68350 invoked by uid 500); 5 Dec 2005 00:23:51 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 68336 invoked by uid 99); 5 Dec 2005 00:23:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Dec 2005 16:23:51 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: unknown spf1 (asf.osuosl.org: encountered unrecognized mechanism during SPF processing of domain of akrishni@savvion.com) Received: from [206.40.33.116] (HELO mailrelay1.savvion.com) (206.40.33.116) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 04 Dec 2005 16:23:50 -0800 Received: from mail.savvion.com (mail.savvion.com [10.1.6.6]) by mailrelay1.savvion.com (Symantec Mail Security) with SMTP id 36B86874 for ; Sun, 4 Dec 2005 15:32:07 -0800 (PST) Received: from [10.1.4.72] (unknown [10.1.4.72]) by mail.savvion.com (Postfix) with ESMTP id 4F65A2FC00B for ; Sun, 4 Dec 2005 18:49:31 -0500 (EST) Message-ID: <439387BD.2010304@savvion.com> Date: Sun, 04 Dec 2005 16:20:13 -0800 From: Anand Krishniyer User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: jar update does not work References: <4390E86C.1050301@savvion.com> <255d8d690512030853p70d07292ve328b6a6d2622222@mail.gmail.com> In-Reply-To: <255d8d690512030853p70d07292ve328b6a6d2622222@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks Dominique I was trying not to change the time-stamp of the jar files. If there is no way around I would have to go with the 'touch' option only I suppose. Anand Dominique Devienne wrote: >>When I manually run >>jar ufM ${my.location}/applications/a.ear myclient.jar >> >> > > >The command line jar command always does what you tell it to do. >Ant's tries to be smarter, and does something when timestamp >checking tells it something needs to be done, to enable incremental >builds. > > > >>it works fine. I need to figure out a way to update the ear with the jar >>file all the time (even when the jars in the ear are newer). >> >> > >Looks like you're out of luck with , as it seems to be lacking a >'force' attribute some other tasks have to bypass the timestamp >checking. > >As a work around, maybe you could the myclient.jar file prior >to , which should make it newer than the version inside the jar, >and thus indirectly force to re-include it. --DD > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org