ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jtnews <jtn...@bellatlantic.net>
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 

/java/lib/a.jar:/java/lib/b.jar:/java/lib/c.jar 

without having to specify each jar file manually?

Something equivalent to the Bourne shell

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

would be really nice!

Mime
View raw message