ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob van Oostrum <rvanoost...@ezgov.com>
Subject Re: java generics compiler and ant?
Date Wed, 20 Jun 2001 10:05:08 GMT
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


Mime
View raw message