From user-return-71506-apmail-ant-user-archive=ant.apache.org@ant.apache.org Tue Mar 01 10:44:04 2011 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 14547 invoked from network); 1 Mar 2011 10:44:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Mar 2011 10:44:04 -0000 Received: (qmail 71508 invoked by uid 500); 1 Mar 2011 10:44:03 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 71070 invoked by uid 500); 1 Mar 2011 10:44:00 -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 71056 invoked by uid 99); 1 Mar 2011 10:43:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 10:43:58 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [135.196.23.173] (HELO gbexcp04.chp.co.uk) (135.196.23.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 10:43:52 +0000 X-PMWin-Version: 3.1.0.0, Antivirus-Engine: 3.16.1, Antivirus-Data: 4.62G Received: from gbexcp03.chp.co.uk ([10.44.1.59]) by gbexcp04.chp.co.uk with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Mar 2011 10:43:31 +0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3959 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Pull multiple .class files from multiple .jars into one .jar Date: Tue, 1 Mar 2011 10:43:30 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Pull multiple .class files from multiple .jars into one .jar thread-index: AcvX/YFtf+WUS72ARZahue3DiB0RMw== From: "Vilius Vaivada" To: X-OriginalArrivalTime: 01 Mar 2011 10:43:31.0205 (UTC) FILETIME=[81A65350:01CBD7FD] Hi all, I'm new to ant, so I might be missing something fairly obvious. My problem: * I have a lib/ directory full of .jar files * I have 2 patternsets for some .class files that I want to put into two new jar files. After a bit of googling I have this: Obviously, it doesn't quite work (and is ugly already). I could try to collect the .class files (zipfilesets) and jar them up afterwards (how?). But most probably there's a much better way to do this in the first place - please advise. Thank you --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org