ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William E. Kempf" <>
Subject Re: Building a Classpath
Date Thu, 25 Jul 2002 19:23:36 GMT
----- Original Message -----
From: "Dominique Devienne" <>
To: "'Ant Users List'" <>
Sent: Monday, July 22, 2002 3:31 PM
Subject: RE: Building a Classpath

> No need for <printpath>. Simply do <property name="fooPath" refid="foo"/>.
> Study the output of running Ant with the -verbose (or -debug if you can
> stomach it) switch. That'll show you what <javac> is doing. By default,
> <javac> also includes the classpath it runs with (the one used by the Java
> VM running Ant, which is the current classpath of your environment,
> with all the jars/zips in $ANT_HOME/lib). See the 'includeAntRuntime' and
> 'includeJavaRuntime' attributes of <javac> for details.

Thanks for all the help.  Turns out I did something stupid, but now I've got
a working implementation.  I've got a question however.  Ant is producing
output like "Overriding previous definition of reference to my.classpath"
when this task is invoked.  (In fact, it produces multiple such output
lines.)  Any idea why?

Bill Kempf

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

View raw message