Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 82816 invoked from network); 10 Sep 2008 14:45:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Sep 2008 14:45:51 -0000 Received: (qmail 61013 invoked by uid 500); 10 Sep 2008 14:45:45 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 60985 invoked by uid 500); 10 Sep 2008 14:45:44 -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 60974 invoked by uid 99); 10 Sep 2008 14:45:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2008 07:45:44 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [209.191.106.52] (HELO web39706.mail.mud.yahoo.com) (209.191.106.52) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 10 Sep 2008 14:44:46 +0000 Received: (qmail 45885 invoked by uid 60001); 10 Sep 2008 14:44:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=FYaxJYfdqJS4k+b4rGfi0VSCisrdOOYH4Q7yPYiPFJNm6GOFgEtat6XHpgwdNX53CYFSbtmsmCwoNgp8m2fs8Bq1/edg8BHH8pmqEASaWT0iATNYlQiLwPG8wqUY9W19qla4f1JP6I9rBLIZOplASfGcpFbNl02J64j5vemYaOc=; Received: from [80.152.25.60] by web39706.mail.mud.yahoo.com via HTTP; Wed, 10 Sep 2008 07:44:17 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Wed, 10 Sep 2008 07:44:17 -0700 (PDT) From: Hans Schwaebli Reply-To: hans_schwaebli@yahoo.com Subject: Re: Unzip task question To: Ant Users List In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1472706059-1221057857=:45359" Message-ID: <357225.45359.qm@web39706.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-1472706059-1221057857=:45359 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thank you. I will try this. --- On Wed, 9/10/08, Stefan Bodewig wrote: From: Stefan Bodewig Subject: Re: Unzip task question To: user@ant.apache.org Date: Wednesday, September 10, 2008, 8:44 AM On Wed, 10 Sep 2008, Hans Schwaebli wrote: > I want to unzip a part of the zip file. >=20 > For example in the zipfile there are these folders: >=20 > -a > =A0-b > =A0-c > =A0-d > =A0 -e > =A0-f >=20 > I want just folder "e" to export. But if I do, then it creates the > whole structure in the output folder: >=20 > -a > =A0-d > =A0 -e >=20 > I use: >=20 > =A0=A0=A0=A0=A0=A0=A0 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 > =A0=A0=A0=A0=A0=A0=A0 >=20 > Moving and deleting folders afterwards is a workaround. Is there any > real solution in Ant for this? Yes, add a mapper to the task, something like (untested) Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org =0A=0A=0A --0-1472706059-1221057857=:45359--