ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <>
Subject RE: Adding multiple external JARS using Ant
Date Wed, 30 Sep 2009 11:51:04 GMT

-----Original Message-----
From: not4google [] 
Sent: Wednesday, September 30, 2009 1:41 PM
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 =
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 =

  <attribute name="Class-Path" value="directory-name" />

will work !?  never used it ..

Regards, Gilbert

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message