ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jtnews <>
Subject how to make a classpath like "/java/lib/*.jar"?
Date Tue, 26 Sep 2000 18:57:04 GMT
is there anything in ant that allows you to expand
all the jar files in a directory into a classpath?

For example,

if I have a.jar, b.jar, c.jar in /java/lib,
how can I make a classpath like 


without having to specify each jar file manually?

Something equivalent to the Bourne shell

CLASSPATH=`echo /java/lib/*.jar | tr ' ' ':'`

would be really nice!

View raw message