avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen McConnell" <mcconn...@apache.org>
Subject RE: Excalibur Build Failure in service package in the scratchpad.
Date Mon, 04 Mar 2002 03:59:32 GMT


> -----Original Message-----
> From: Peter Donald [mailto:peter@apache.org]
> 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 ?

Steve.






--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message