ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry V. Streepy, Jr." <stre...@healthlanguage.com>
Subject Re: java generics compiler and ant?
Date Wed, 20 Jun 2001 14:47:06 GMT
Rob beat me to the punch here :-)  Specifying includeAntRuntime=false is
how I worked around class conflict issues between ant and my compiler.

Rob van Oostrum wrote:
> 
> how about adding the includeRuntime=false attribute, and put the rt.jar on
> the compiler classpath manually (where you can cotnrol the order)
> 
> Jon Skeet wrote:
> 
> > > if the generics collect.jar is only for compiling against,
> > > why would you want it
> > > in your bootclasspath, rather than in the compiler's classpath (javac
> > > -classpath)?
> >
> > Because otherwise the "normal" classes from rt.jar will be used, and the
> > new classes will be ignored - so the compiler will complain.
> >
> > Jon

-- 
Larry V. Streepy, Jr.
Chief Technical Officer and VP of Engineering

Health Language, Inc.  -- "We speak the language of healthcare"

970/626-5028 (office)           mailto:streepy@healthlanguage.com
970/626-4425 (fax)              http://www.healthlanguage.com

Mime
View raw message