ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <>
Subject Re: Classpath outside of javac?
Date Thu, 08 Jul 2004 19:27:43 GMT
you want to do something like :
<path id="compile.classpath">
   <pathelement location="lib/a.jar"/>
   <pathelement location="lib/b.jar"/>
   <classpath refid="compile.classpath"/>

> Is it possible to set the classpath outside of a <javac> task and then
> have javac know about it when it is run?  I'm trying to find a clever
> way to set up the classpath for my projects.  I tried making a property
> that was a list of all the jars needed for the classpath and then
> <foreach>ing through the list and adding each jar to my classpath but
> Ant didn't like this.  Is what I'm trying possible or is there some
> other way to accomplish this?
> Thanks
> Chris

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

View raw message