ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <j...@socialchange.net.au>
Subject Re: [PATCH] compiling with jikes pedantic
Date Sun, 25 Feb 2001 05:28:08 GMT
On Sun, Feb 25, 2001 at 04:02:26PM +1100, Peter Donald wrote:
> At 01:18  25/2/01 +1100, Jeff Turner wrote:
> >Hi,
> >
> >I recently tried to compile Ant from CVS, and got a whole bunch of
> warnings. Turns out I had pedantic mode on in my ~/.ant.properties file[1].
> 
> Yep ;) Though I would love to make Ant more conformant with JLS I believe
> there is several broken 1.1 compilers out there that we have to support ;( 
> 
> For Ant2.0 where it will be Java1.2+ specific we can remove the suport for
> these compilers. 

Fair enough :)

> However if people were willing to allow Ant1.x usable by 1.1 but only
> compilable by 1.2+ then that could be an option ? (ie my preferred option)
> 
> >b) Declare that pedantic mode is not to be used in Ant, and prevent people
> like me gettings warnings by modifying build.xml thusly:
> 
> alternatively you could place "build.compiler.pedantic=false" in the
> per-project properties file - this is what I do ;) So drop a
> .ant.properties into jakarta-ant directory that has that in it and you
> should be fine.

I guess that's best. Modifying build.xml is too much like sweeping the problem
under the carpet.

--Jeff

> 
> Cheers,
> 
> Pete
> 
> *-----------------------------------------------------*
> | "Faced with the choice between changing one's mind, |
> | and proving that there is no need to do so - almost |
> | everyone gets busy on the proof."                   |
> |              - John Kenneth Galbraith               |
> *-----------------------------------------------------*
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: ant-dev-help@jakarta.apache.org

-- 

Mime
View raw message