On Mon, 4 Mar 2002 14:24, Stephen McConnell wrote:
> Umm, confused - my ant javac directive includes the target attribute -
>
>     <javac debug="off" destdir="${build}/lib" target="1.2">
>       <classpath>
>         <path refid="project.classpath" />
>       </classpath>
>       <src path="${src}/java" />
>     </javac>
>
> Isn't this suposes to flag stuff like this as an error?

Nope - the flag does not warn or anything when you use APIs from different 
JDKs. It just saids that it will generate bytecode that was compatible with 
1.2 JDK spec. 

-- 
Cheers,

Pete

------------------------------------------------------
"If people are good only because they fear punishment,
and hope for reward, then we are a sorry lot indeed." 
                                 -Albert Einstein
------------------------------------------------------

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to