Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 41870 invoked from network); 26 Feb 2010 16:23:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Feb 2010 16:23:51 -0000 Received: (qmail 55781 invoked by uid 500); 26 Feb 2010 16:23:50 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 55620 invoked by uid 500); 26 Feb 2010 16:23:50 -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 55612 invoked by uid 99); 26 Feb 2010 16:23:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 16:23:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gudnabrsam@gmail.com designates 209.85.160.173 as permitted sender) Received: from [209.85.160.173] (HELO mail-gy0-f173.google.com) (209.85.160.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 16:23:40 +0000 Received: by gyh4 with SMTP id 4so112242gyh.4 for ; Fri, 26 Feb 2010 08:23:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:in-reply-to :references:content-type:message-id:content-transfer-encoding:from :subject:date:to:x-mailer; bh=pkSV6p9dSJwAcs9PgFkNKFv5hX/sO8l14QCDIo0YIds=; b=I6kUpym7HVHbfwfI5hmSWtCBJCmr72j78HvyNLheW1ledAFwpauSeFkSFIisYOnRLy coIwsQJmwUghXWdurReH6S684lIexNLBv8tzNq43Six6uN3poKpbLyxpMxdZZTk2uQTc cL1FATGbgGAkgLTqMNLVaWI5JOeGzf9GFN2d8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:content-type:message-id :content-transfer-encoding:from:subject:date:to:x-mailer; b=exJ2qM8Md7uz3922tvsZbipl3uKMEZ6lB565T0sFkfWsYqcJ/i6kTq+5rnZvw2ODy9 6lnjlFATUsa0ewfKFCZNpP36raNJJXjGVQ8s3cOYI1XdLQAwe/9LDXcAtZjdmbR96DD1 gD8V8RIxSODiiPj9b2f/yPyFIuxAz9alWa6VQ= Received: by 10.150.252.2 with SMTP id z2mr1044401ybh.41.1267201399110; Fri, 26 Feb 2010 08:23:19 -0800 (PST) Received: from ?192.168.1.195? (adsl-068-213-090-227.sip.bhm.bellsouth.net [68.213.90.227]) by mx.google.com with ESMTPS id 4sm67990ywd.58.2010.02.26.08.23.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 26 Feb 2010 08:23:18 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: <06080D44730F41428BAF2168FA8BDD8004475C6E@icsrv02.icongmbh.de> References: <06080D44730F41428BAF2168FA8BDD8004475C5A@icsrv02.icongmbh.de> <4B87E6EB.90307@gmx.de> <368AE9D4-B17F-4B0A-A38B-58C4CE446EE3@gmail.com> <06080D44730F41428BAF2168FA8BDD8004475C6E@icsrv02.icongmbh.de> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <858439E7-F90A-4EF8-A131-9FAEE2A79DB8@gmail.com> Content-Transfer-Encoding: quoted-printable From: Matt Benson Subject: Re: AW: Jar and duplicate=preserve Date: Fri, 26 Feb 2010 10:23:31 -0600 To: "Ant Users List" X-Mailer: Apple Mail (2.753.1) X-Virus-Checked: Checked by ClamAV on apache.org Sorry about that--per Stefan's email, it is duplicates=3D"add" that has =20= the behavior I described. :) -Matt On Feb 26, 2010, at 9:37 AM, Knuplesch, Juergen wrote: > Hello, > > Thabks for the replies. > > I could now reproduce this behaviour under Windows, because I have =20 > now the environment copied from Linux to Windows. > And it happened also!!! > > But I also had the correct (for me) behaviour tested today under =20 > other circumstances. > > I do not understand this and keep on debugging and trying. > > Juergen > > --=20 > J=FCrgen Knuplesch www.icongmbh.de > icon Sy > -----Urspr=FCngliche Nachricht----- > Von: Matt Benson [mailto:gudnabrsam@gmail.com] > Gesendet: Freitag, 26. Februar 2010 16:29 > An: Ant Users List > Betreff: Re: Jar and duplicate=3Dpreserve > > I think duplicate=3D"preserve" actually implies that both entries are =20= > retained, per the ability of the format to handle this seemingly =20 > illogical situation. > > -Matt > > On Feb 26, 2010, at 9:21 AM, Antoine Levy Lambert wrote: > >> Hello Juergen, >> >> my spontaneous answer is that duplicate=3D"preserve" means that if a >> jar/zip entry is encountered a second time, the original is =20 >> preserved, >> the second instance is not used, and no error message is displayed. >> This might be in the documentation of the zip task. jar is an >> extension of zip. >> >> Therefore, the behavior under linux would be a bug of Ant's packaging >> tasks. >> >> Regards, >> >> Antoine >> >> >> Knuplesch, Juergen wrote: >>> Hello, >>> >>> I do the following to get some special files into a jarfile =20 >>> (Applet): >>> >>> >> duplicate=3D"preserve"> >>> >>> >>> >> update=3D"true"> >>> .... >>> >>> There are two files in in both filesets that are added to the jar >>> file. >>> >>> Under Windows the first file is added to the jar in the first jar >>> task and not changed with the second jar task. >>> >>> Under Linux we experience the opposite behaviour. The second file is >>> added and the first deleted. >>> >>> Is this possible? What does duplicate=3D"preserve" exactly mean? >>> It is not explained in the docu. I found it out by testing. >>> >>> Greetings Juergen >>> >>> >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For =20 >> additional >> commands, e-mail: user-help@ant.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For =20 > 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org