Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 35582 invoked from network); 6 Mar 2002 15:39:00 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 6 Mar 2002 15:39:00 -0000 Received: (qmail 1420 invoked by uid 97); 6 Mar 2002 15:37:42 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 1392 invoked by uid 97); 6 Mar 2002 15:37:42 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 1361 invoked from network); 6 Mar 2002 15:37:42 -0000 Message-ID: <03EFCDFA8EA3D511BD9000508BC81BC51E5F0A@SERVICE1> From: John Niven To: "'ant-user@jakarta.apache.org'" Subject: FW: java : ant [was: RE: Stopping rebuild of Jar file?] Date: Wed, 6 Mar 2002 09:53:22 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Apolgies to the list for this last posting, I was *trying* to ensure I had two copies of the thread... Sorry for any interuption! Best wishes, John -- John Niven -----Original Message----- From: John Niven Sent: 6 March 2002 09:47 To: 'Ant Users List' Subject: java : ant [was: RE: Stopping rebuild of Jar file?] > tried using the "update" attribute in ? Same attrib exists for zip, war, ear. > -----Original Message----- > From: Eddie Bernard [mailto:ebernard@digitalthink.com] > Sent: 5 March 2002 18:04 > To: 'Ant Users List' > Subject: RE: Stopping rebuild of Jar file? > > > I'm doing something similar with war and ear files. Have you > tried using the "update" attribute in ? This works for me. > > -----Original Message----- > From: Gwyn Evans [mailto:gwyn@jdev.co.uk] > Sent: Tuesday, March 05, 2002 9:55 AM > To: ant-user@jakarta.apache.org > Subject: Stopping rebuild of Jar file? > > > I've got a set of targets that compile, then build a jar file. > > What I'd like to do would be to use the task > and the attribute of the task to add a > build-number to the Manifest.mf file, but my problem is that > when I do this, the jar is rebuilt every time, because, of > course, the Manifest's changed! > > Has anyone done anything similar and have any pointers as > to the best way to avoid this? > > It might be simplest to just forget about build numbers on > a per-jar basis and have one covering the whole project, but > I thought I'd ask for suggestions first! > > Gwyn > -- > mailto:gwyn@jdev.co.uk > > > -- > To unsubscribe, e-mail: > unsubscribe@jakarta.apache.org> > For > additional commands, > e-mail: > > -- > To unsubscribe, e-mail: > unsubscribe@jakarta.apache.org> > For > additional commands, > e-mail: > -- To unsubscribe, e-mail: For additional commands, e-mail: