On Mon, 4 Mar 2002 14:59, Stephen McConnell wrote:
> > -----Original Message-----
> > From: Peter Donald [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, 04 March, 2002 04:45
> > To: Avalon Developers List
> > Subject: Re: Excalibur Build Failure in service package in the
> > scratchpad.
> >
> > 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.
>
> Zutt ..... and I'm pumping out stuff left right and centre with the
> flag set in ignorant bliss!  So the bottom line is that a canot validate
> against 1.2 without actually having a 1.2 JDK installed ?

correct. However I believe that the nightly builds are done using JDK1.3 
which will pick up JDK1.4 isms.

-- 
Cheers,

Pete

-----------------------------------------------------
First, we shape our tools, thereafter, they shape us.
-----------------------------------------------------


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

Reply via email to