Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 38110 invoked from network); 30 Sep 2009 12:17:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Sep 2009 12:17:56 -0000 Received: (qmail 44788 invoked by uid 500); 30 Sep 2009 12:17:55 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 44702 invoked by uid 500); 30 Sep 2009 12:17:54 -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 44692 invoked by uid 99); 30 Sep 2009 12:17:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 12:17:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 12:17:45 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Msy7Y-0003n7-Bs for user@ant.apache.org; Wed, 30 Sep 2009 05:17:24 -0700 Message-ID: <25679912.post@talk.nabble.com> Date: Wed, 30 Sep 2009 05:17:24 -0700 (PDT) From: not4google To: user@ant.apache.org Subject: RE: Adding multiple external JARS using Ant In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: kapil.x.johri@jpmorgan.com References: <25679172.post@talk.nabble.com> <25679400.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the info I decided to specify each of the JARS as turned out only needed 3 in any case. Now when I run the app I get an error as a XML file cannot be found. I did the following in the ant target: and this file exists in my JAR but when running the JAR the file cannot be found? Rebhan, Gilbert wrote: > > > > -----Original Message----- > From: not4google [mailto:kapil.x.johri@jpmorgan.com] > Sent: Wednesday, September 30, 2009 1:41 PM > To: user@ant.apache.org > Subject: RE: Adding multiple external JARS using Ant > > /* > Thanks for the info but what I needed was to add all JARS within a > directory > rather than specifying each one if thats possible? > */ > > wildcards are not allowed in manifest context, see = > > http://java.sun.com/javase/6/docs/technotes/tools/windows/classpath.html > "... > The CLASSPATH environment variable is not treated any differently from the > -classpath > (or -cp) command-line option. That is, wildcards are honored in all these > cases. > However, class path wildcards are not honored in the Class-Path > jar-manifest header. > ..." > > > maybe, putting your jars into root of directory-name (recursion will not > work probably) > and = > > > ... > > ... > > > will work !? never used it .. > > > Regards, Gilbert > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > > -- View this message in context: http://www.nabble.com/Adding-multiple-external-JARS-using-Ant-tp25679172p25679912.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org