-----Original Message----- From: not4google [mailto:[email protected]] Sent: Wednesday, September 30, 2009 1:41 PM To: [email protected] 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 = <manifest> ... <attribute name="Class-Path" value="directory-name" /> ... </manifest> will work !? never used it .. Regards, Gilbert --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
