ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barrie Treloar <Barrie.Trel...@camtech.com.au>
Subject RE: how to make a classpath like "/java/lib/*.jar"? once for a multijavac task build file.
Date Thu, 26 Oct 2000 22:51:16 GMT
On Thu, 26 Oct 2000, Adam Murdoch wrote:

> Hi,
> 
> You can do this using
> 
> <path id="someid">
> 	<fileset .../>
> </path>
> 
> <javac ...>
> 	<classpath refid="someid"/>
> <javac>
> 
> Note that the classpath must be defined using a <path> element, not a
> <classpath> element.
[del]
> >        <!-- A classpath for testing it just merely  -->
> >        <!-- adds the directory where the classes where compiled -->
> >        <!-- to the one used to compile the classes, perhaps including -->
> >        <!-- some additional runtime jars -->
> >        <classpath refid="classpath>
> >           <pathelement location="compilation.directory" />
> >        </classpath>

Mime
View raw message