You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Michael McCandless <lu...@mikemccandless.com> on 2008/02/05 13:15:20 UTC

max javac warnings/errors

I got burned by javac's default max warning count of 100 (thinking,  
several times now,  that I had found all deprecated calls to IW's  
ctors).

Does anyone object to adding this under the javac task in common- 
build.xml?

         <compilerarg line="-Xmaxwarns 10000000"/>
         <compilerarg line="-Xmaxerrs 10000000"/>

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: max javac warnings/errors

Posted by Michael McCandless <lu...@mikemccandless.com>.
I hope that is dry Grant humor that I'm sensing over here :)

10 million better be enough!!

I'll commit later on today...

Mike

Grant Ingersoll wrote:

> Seems fine to me, but do you think that is enough leeway?  We've  
> got a lot of warnings...
>
> -Grant
>
> On Feb 5, 2008, at 7:15 AM, Michael McCandless wrote:
>
>>
>> I got burned by javac's default max warning count of 100  
>> (thinking, several times now,  that I had found all deprecated  
>> calls to IW's ctors).
>>
>> Does anyone object to adding this under the javac task in common- 
>> build.xml?
>>
>>        <compilerarg line="-Xmaxwarns 10000000"/>
>>        <compilerarg line="-Xmaxerrs 10000000"/>
>>
>> Mike
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-dev-help@lucene.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: max javac warnings/errors

Posted by Grant Ingersoll <gs...@apache.org>.
Seems fine to me, but do you think that is enough leeway?  We've got a  
lot of warnings...

-Grant

On Feb 5, 2008, at 7:15 AM, Michael McCandless wrote:

>
> I got burned by javac's default max warning count of 100 (thinking,  
> several times now,  that I had found all deprecated calls to IW's  
> ctors).
>
> Does anyone object to adding this under the javac task in common- 
> build.xml?
>
>        <compilerarg line="-Xmaxwarns 10000000"/>
>        <compilerarg line="-Xmaxerrs 10000000"/>
>
> Mike
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org